ERROR 404 - PAGE NOT FOUND

Why am I seeing this page?

404 means the file is not found. If you have already uploaded the file then the name may be misspelled or it is in a different folder.

Other Possible Causes

You may get a 404 error for images because you have Hot Link Protection turned on and the domain is not on the list of authorized domains.

If you go to your temporary url (http://ip/~username/) and get this error, there maybe a problem with the rule set stored in an .htaccess file. You can try renaming that file to .htaccess-backup and refreshing the site to see if that resolves the issue.

It is also possible that you have inadvertently deleted your document root or the your account may need to be recreated. Either way, please contact HostGator immediately via phone or live chat so we can diagnose the problem.

Are you using WordPress? See the Section on 404 errors after clicking a link in WordPress.

How to find the correct spelling and folder

Missing or Broken Files

When you get a 404 error be sure to check the URL that you are attempting to use in your browser.This tells the server what resource it should attempt to request.

http://example.com/example/Example/help.html

In this example the file must be in public_html/example/Example/

Notice that the CaSe is important in this example. On platforms that enforce case-sensitivity example and Example are not the same locations.

For addon domains, the file must be in public_html/addondomain.com/example/Example/ and the names are case-sensitive.

Broken Image

When you have a missing image on your site you may see a box on your page with with a red X where the image is missing. Right click on the X and choose Properties. The properties will tell you the path and file name that cannot be found.

This varies by browser, if you do not see a box on your page with a red X try right clicking on the page, then select View Page Info, and goto the Media Tab.

http://example.com/images/banner.PNG

In this example the image file must be in public_html/images/

Notice that the CaSe is important in this example. On platforms that enforce case-sensitivity PNG and png are not the same locations.

404 Errors After Clicking WordPress Links

When working with WordPress, 404 Page Not Found errors can often occur when a new theme has been activated or when the rewrite rules in the .htaccess file have been altered.

When you encounter a 404 error in WordPress, you have two options for correcting it.

Option 1: Correct the Permalinks

  1. Log in to WordPress.
  2. From the left-hand navigation menu in WordPress, click Settings > Permalinks (Note the current setting. If you are using a custom structure, copy or save the custom structure somewhere.)
  3. Select  Default.
  4. Click Save Settings.
  5. Change the settings back to the previous configuration (before you selected Default). Put the custom structure back if you had one.
  6. Click Save Settings.

This will reset the permalinks and fix the issue in many cases. If this doesn't work, you may need to edit your .htaccess file directly.

Option 2: Modify the .htaccess File

Add the following snippet of code to the top of your .htaccess file:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# End WordPress

If your blog is showing the wrong domain name in links, redirecting to another site, or is missing images and style, these are all usually related to the same problem: you have the wrong domain name configured in your WordPress blog.

How to modify your .htaccess file

The .htaccess file contains directives (instructions) that tell the server how to behave in certain scenarios and directly affect how your website functions.

Redirects and rewriting URLs are two very common directives found in a .htaccess file, and many scripts such as WordPress, Drupal, Joomla and Magento add directives to the .htaccess so those scripts can function.

It is possible that you may need to edit the .htaccess file at some point, for various reasons.This section covers how to edit the file in cPanel, but not what may need to be changed.(You may need to consult other articles and resources for that information.)

There are Many Ways to Edit a .htaccess File

  • Edit the file on your computer and upload it to the server via FTP
  • Use an FTP program's Edit Mode
  • Use SSH and a text editor
  • Use the File Manager in cPanel

The easiest way to edit a .htaccess file for most people is through the File Manager in cPanel.

How to Edit .htaccess files in cPanel's File Manager

Before you do anything, it is suggested that you backup your website so that you can revert back to a previous version if something goes wrong.

Open the File Manager

  1. Log into cPanel.
  2. In the Files section, click on the File Manager icon.
  3. Check the box for Document Root for and select the domain name you wish to access from the drop-down menu.
  4. Make sure Show Hidden Files (dotfiles)" is checked.
  5. Click Go. The File Manager will open in a new tab or window.
  6. Look for the .htaccess file in the list of files. You may need to scroll to find it.

To Edit the .htaccess File

  1. Right click on the .htaccess file and click Code Edit from the menu. Alternatively, you can click on the icon for the .htaccess file and then click on the Code Editor icon at the top of the page.
  2. A dialogue box may appear asking you about encoding. Just click Edit to continue. The editor will open in a new window.
  3. Edit the file as needed.
  4. Click Save Changes in the upper right hand corner when done. The changes will be saved.
  5. Test your website to make sure your changes were successfully saved. If not, correct the error or revert back to the previous version until your site works again.
  6. Once complete, you can click Close to close the File Manager window.
This site is hosted by HostGator!
Build your website today and get 20% off! Coupon code: "OFFER404"
深圳工行贷款几点扣神州贷款靠谱吗生源地贷款支付宝登录不上生源地贷款支付宝还款流程生源地贷款支付宝还款流程图深圳工行贷款几点扣汕头车抵押贷款生源地贷款支付宝登录不上神州车贷款安全吗身份证在手机能贷款吗什么是商业贷款诈骗深圳工行贷款几点扣沈阳农商银行房屋贷款利率什么是商业贷款诈骗生源地贷款支付宝登录不上身份证在手机能贷款吗山西贷款中介省呗贷款流程省呗贷款流程申请贷款的年龄阶段神州贷款官网省呗贷款流程神州车贷款安全吗申请创业贷款去哪里生源地贷款支付宝还款流程图申请办理公积金贷款生源地贷款支付宝还款流程申请办理公积金贷款买房申请贷款被骗要怎么办沈阳农商银行房屋贷款利率秦天明穿越小说世界,成为小说中一个戏份不多的反派。 系统:只要宿主你完美杀青,就能够带着本系统回到你原本的世界当龙傲天。 秦天明:简单,演反派我最在行了! 结果女主不按剧本来,开始疯狂倒贴。 秦天明:能别倒贴了吗?我只想杀青啊!男主呢?你怎么还抑郁了?!一次机遇之下少年重获再活一世的机会来到了一处崭新的世界,这里没有花俏绚丽的魔法,人人却都崇尚修炼魂力,修行极其艰难却不断有人前仆后继,因为命运的安排少年同样踏上了这条永无止境的道路那他又会到达怎样的地步?这其中又会有多少命运的羁绊?又会有多少的艰难与辛酸...... &amp;lt;万界魂破&amp;gt;是我的第一本书,所以希望承蒙各位读者的关心 自虚幻世界无情地断裂成上界与下界后,文明间难以逾越的鸿沟便诞生了。年轻人,倘若你面前是充盈着未知气味的深渊,请不要害怕,提着灯大胆往前迈出那步吧。自古天生大气运者,无不是天生富贵,步步生莲,奇遇不断,可为什么,我却天生霉运,是个魔王,每天等着勇士,来砍我?甚是道?行之道也。何为大道?吾行之大道。天下苍生皆为道也。道即位修行之路,即位修行之方向。行之大道便是无敌。龙啸天在执行任务中意外遭遇黑洞,他和他的小队不幸被吸入,但他们开启了黑洞保护系统才幸免遇难,当他们醒来时发现自己的画风不对了,意识到自己穿越了,带着未来科技,在这片大陆上书写着传奇以另一个视角(陶南)面对生活的世界的巨大变化平庸的三个少年,因朝廷高官的一起惊天阴谋而被卷入凤鸣阁中,并逐渐成长为国之栋梁,少年如何从阴谋之中一步步崛起,步步为营的一部好奇又将因为三个少年而卷起什么样的波澜,凤鸣之声为你揭晓师父常说,山下女人都是老虎,但师父亦常说,我不入地狱,谁入地狱。 于是,夏天化身打虎英雄,奔往山下。 夏天:“师姐,收起你的胸恶,让我用爱感化你……” 货运物流是现代社会里不可或缺的一环,但很多读者朋友不了解这个行业,对这个行业可能有些疑问或误解。所以动手写了一部小说,以市区送货的货车司机视角向大家展示真实的货运物流生活。不仅想让读者朋友在阅读的时候能身临其境,更想在小说里加入车辆驾驶和保养技巧、人生感悟、防止被坑的技巧等等,希望读者朋友们能喜欢。(PS.第一次写小说,小说里有很多地方可能会不尽人意,欢迎提出意见和建议。)
重生之太虚尊圣 末世弑仙道 万古第一神 大秦,纵横无敌 死神的名义 诸天摘星 我们有一个反鬼计划 天命:人道永恒 重生学霸,不会真以为学习难吧? 神卫传 一切从源武开始 御兽:开局契约战斗暴龙兽 春秋战国吧 快刀行 少年时之九零后 大小姐的贴身夫婿 牛A八部 我乃大夏四皇子 龙魂战神:我的胸口有条龙 血与火之歌:北境之王崛起 身份证到期影响贷款吗 什么贷款软件可以分期还款 山西贷款中介 省呗贷款流程 身份证到期影响贷款吗 申请办理公积金贷款流程 商代按揭转公积金贷款吗 什么分期贷款不查征信 申请办理公积金贷款 沈阳农商银行房屋贷款利率 神州车贷款安全吗 神州车贷款安全吗 申请创业贷款去哪里 身份证在手机能贷款吗 深圳大财行 贷款端 生源地贷款支付宝还款流程图 商代按揭转公积金贷款吗 申请办理公积金贷款 神州贷款官网 深圳工行贷款几点扣 什么贷款软件可以分期还款 生源地贷款支付宝登录不上 神州贷款靠谱吗 十万元贷款三年 什么分期贷款不查征信 申请创业贷款去哪里 申请办理公积金贷款 神州贷款靠谱吗 神州贷款官网 申请办理公积金贷款 省呗贷款流程 什么贷款软件可以分期还款 生源地贷款支付宝还款流程 深圳工行贷款几点扣 申请创业贷款去哪里 生源地贷款支付宝还款流程图 生源地贷款支付宝登录不上去 商代按揭转公积金贷款吗 申请创业贷款去哪里 生源地贷款支付宝登录不上去 生源地贷款支付宝还款流程图 沈阳哪能贷款 申请贷款的年龄阶段 商代如何转公积金贷款吗 十万元贷款三年 什么贷款软件可以分期还款 神州车贷款安全吗 生源地贷款支付宝还款流程 申请贷款被骗要怎么办 汕头车抵押贷款 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 新地球上帝 凤栖 奇门传 魂幕 阴阳殇2传 亚星管理平台 葡京官网 AG真人 亚星管理平台 万利官网 什么是商业贷款诈骗 商代按揭转公积金贷款吗 神州车贷款安全吗 商代如何转公积金贷款吗 身份证在手机能贷款吗 申请贷款的年龄阶段 生源地贷款支付宝登录不上去 神州车贷款安全吗 沈阳农商银行房屋贷款利率 什么分期贷款不查征信 申请办理公积金贷款 沈阳哪能贷款 汕头车抵押贷款 身份证到期影响贷款吗 山西贷款中介 生源地贷款支付宝还款流程图 商代如何转公积金贷款吗 申请创业贷款去哪里 申请贷款的年龄阶段 申请贷款被骗要怎么办 神州车闪贷贷款安全吗 什么贷款软件可以分期还款 神州贷款官网 申请贷款的年龄阶段 身份证到期影响贷款吗 神州贷款官网 生源地贷款支付宝还款流程图 神州贷款靠谱吗 申请办理公积金贷款买房 生源地贷款支付宝登录不上去