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"
打电话让人贷款银行贷款查社保纯公积金贷款没批下来怎么办正规的大额贷款公司贷款房子注销日期打电话让人贷款买车贷款比全款便宜吗纯公积金贷款没批下来怎么办房屋有贷款能过户吗个人买写字楼贷款买车贷款和全款哪个纯公积金贷款没批下来怎么办海口贷款无抵押买车贷款和全款哪个华为手机贷款个人买写字楼贷款买车贷款保险买三年为什么要贷款买房为什么要贷款买房贷款买车为何提不了现车公积金贷款买房怎么还为什么要贷款买房房屋有贷款能过户吗贷款买房银行能查到婚姻状况么贷款申请必写的内容怎么可以wanshang小额贷款贷款申请必写的内容贷款买房银行能查到婚姻状况么贷款买车为何提不了现车海口贷款无抵押打架其实并不是一件多华丽的事情,有的人三两下被打趴下就再也爬不起来了,根本不存在那种斗来斗去如同功夫切磋一般的场面。大一新生徐庶有一天得到了外星文明的系统,从此走上了不一样的人生。 高能电池、家务机器人、智脑助手、智能工厂、反重力穿梭机、星际飞船、核聚变等各种黑科技在徐庶手上层出不穷。 地球上的科技文明等级一次次不断地突破,向着星空进军,未知的宇宙海正等着人类去探索,也等着您去发掘... 我们的人生究竟是自己主宰着还是被所谓的因果推动的不断前行主人公艾维一家原本生活在一个和谐美满的小渔岛中,但突如其来的一场变故,使得小岛面目全非,自此兄妹俩不得不开始背井离乡,踏上颠沛流离的生活,但却从此书写了一段恩塔格瑞大陆的传奇故事末日降临,天地巨变。秋百川,一个陌生求生的残废,机缘巧合下踏上修行之路。修复肉身,斩灭强敌,建立馍教、盐王府。构建和谐社会,创造理想乐土一次机遇之下少年重获再活一世的机会来到了一处崭新的世界,这里没有花俏绚丽的魔法,人人却都崇尚修炼魂力,修行极其艰难却不断有人前仆后继,因为命运的安排少年同样踏上了这条永无止境的道路那他又会到达怎样的地步?这其中又会有多少命运的羁绊?又会有多少的艰难与辛酸...... &amp;lt;万界魂破&amp;gt;是我的第一本书,所以希望承蒙各位读者的关心在精武英雄世界里,苦练国术成就丹劲宗师。在僵尸先生世界里拳打僵尸跟九叔苦练道术。在鬼吹灯世界里炼化避尘珠获得滔天气运终成金丹高手。在聊斋世界里论道燕赤霞,在白蛇世界里斗法法海。接下来是西游,封神……此书已更名为《牧羊犬的自我修养》,请各位观众老爷移步阅读——这个世上有鬼吗? 真的有,而且有很多。 我叫徐艺,在我十八岁那年,我猛然发现了这个世界的真相。 第一次,非喜勿喷
爆笑Z班 无情剑客有鞘剑 蝉光者 摩天行 至暗时间 我应该是正义的超人吧? 穿越:开局落凤床 制霸武林 欢迎来到魂的世界 导线 熠熠生辉之路 治愈旅途 星汉大陆 都市之修仙至尊 恶源 恋战记 诛神图 传奇之路:天选者 闲人无敌 灵气复苏:我有个坑爹系统 卖二手房买家要贷款 最新贷款购房利息 买车贷款保险买三年 贷款房子注销日期 卖二手房买家要贷款 怎么在网上用蚂蚁信用贷款 买车贷款保险买三年 二手房贷款风险 怎么可以wanshang小额贷款 买房贷款流水账需要夫妻两人吗 合作社贷款无偿还款能力怎么办 合作社贷款无偿还款能力怎么办 反担保人能否再贷款 最新贷款购房利息 打电话让人贷款 贷款房子注销日期 银行贷款直系亲属验证 怎么可以wanshang小额贷款 连云港住房公积金贷款利率 纯公积金贷款没批下来怎么办 最新贷款购房利息 纯公积金贷款没批下来怎么办 连云港住房公积金贷款利率 为什么要贷款买房 个人买写字楼贷款 反担保人能否再贷款 卖二手房买家要贷款 银行贷款查社保 连云港住房公积金贷款利率 怎么可以wanshang小额贷款 贷款房子注销日期 关于银行贷款知识 正规的大额贷款公司 打电话让人贷款 贷款买房银行能查到婚姻状况么 贷款申请必写的内容 正规的大额贷款公司 买车贷款保险买三年 反担保人能否再贷款 华为手机贷款 贷款申请必写的内容 买房贷款流水账需要夫妻两人吗 包装大额度贷款骗局 银行贷款直系亲属验证 买车贷款和全款哪个 关于银行贷款知识 合作社贷款无偿还款能力怎么办 贷款申请必写的内容 反担保人能否再贷款 买车贷款比全款便宜吗 亚星官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 原神之我到提瓦特对线天理 机甲战灵 神御,焰之祖 我的身体有本山海经 磨世争雄 百家乐官网 澳门葡京游戏官网 澳门葡京官网 百家乐官网 亚星官网 为什么要贷款买房 公积金贷款买房怎么还 打电话让人贷款 华为手机贷款 纯公积金贷款没批下来怎么办 卖二手房买家要贷款 买房贷款流水账需要夫妻两人吗 买车贷款保险买三年 怎么可以wanshang小额贷款 贷款买房银行能查到婚姻状况么 怎么可以wanshang小额贷款 买车贷款和全款哪个 怎么在网上用蚂蚁信用贷款 贷款买车为何提不了现车 贷款买车为何提不了现车 连云港住房公积金贷款利率 合作社贷款无偿还款能力怎么办 纯公积金贷款没批下来怎么办 个人买写字楼贷款 买房贷款流水账需要夫妻两人吗 二手房贷款风险 正规的大额贷款公司 银行贷款查社保 贷款买房银行能查到婚姻状况么 贷款申请必写的内容 为什么要贷款买房 贷款申请必写的内容 银行贷款直系亲属验证 贷款房子注销日期 关于银行贷款知识