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"
老纪特邮票大全中国民居邮票价格五岳 邮票长城邮票50分海南特区建设邮票老纪特邮票大全上海世博园邮票价格五岳 邮票中国共产党第十一次全国代表大会整版邮票从雅典到北京邮票价格中国古塔 邮票五岳 邮票1997年邮票年册价格中国古塔 邮票1985年郑和下西洋邮票从雅典到北京邮票价格t134邮票富春山居图邮票价格富春山居图邮票价格敦煌壁画系列邮票塞浦路斯邮票 小护士富春山居图邮票价格中国共产党第十一次全国代表大会整版邮票邮票最基本的计量单位邮票 四方连简单邮票图片邮票 四方连邮票最基本的计量单位敦煌壁画系列邮票1997年邮票年册价格“什么?不许退婚?”   佣兵皇者重回都市,大仇未报,却美女缠身,热血无敌,且看一代强者如何纵横都市,穿梭于花丛之中……残疾少年张铁生,意外获得药王传承,自此村花、俏寡妇,哭着喊着找他治病,而他也成了远近闻名的妇科圣手。朝词:“如果一切早已注定,那存在的意义是什么?” 白娣:“今生又怎续前缘?” 知秋:“如果可以,我宁愿一辈子都待在深宫锁院中。” 巴格图拉:“原来,恨也是有温度的。”混沌初开,九曲百转。混元裂变,四帝神萃。玄幻与科技相容,神魔与人情相生,替天行道,看黎明破晓,重补天道。以九字真言为引,纳百家精粹,天地日月精华,会英雄豪杰,傲世苍穹,成万古不朽。大鹏一日因风起,扶摇直上九万里。五十年后,奥里雷亚诺:“站在你面前的是,共和国的传奇上校,自由党的精神领袖,永不失败的战争之神,奥里雷亚诺!” 尤尼尔:“站在你面前的是,斗鸡兴起人,传奇神话,香蕉之父,弑神者,失眠大师......你最亲爱的叔叔,尤尼尔!” “还不过来挨打!” (纯土著视角,保证没看过《百年孤独》的同学也能放心食用)在一个夜黑风高的晚上,大燕帝国的镇国将军府竟惨遭灭门,全家上下仅剩一个躲在地窖的婴儿幸免。 幸亏镇国将军的好友,天下第一剑神顾长风来访,这才救下了这个婴儿,之后顾长风带着婴儿上山修炼。 ……… 时间一转就是十几年,当初那婴儿也长大成人。 顾长风见时机成熟,便派他下山寻找当年惨遭灭门的真相。 江山如画,美人妆! 龙腾万里,乐逍遥! 一个穿越者的灵魂; 一个当代皇者之命魂; 一个身负上天之意的天女; 当三者相辅相成,为天下先,为苍生意。 匡扶社稷,历经磨难。 是宿命的轮回还是这悠悠天意,人力难为; 朝堂,战场,血雨厮杀,阴谋密布; 烽烟过后,张翼回首看向背后孤寂的威威皇朝,看着曾经的硝烟之处,却早已物是人非。 上马提剑定天下,下马安国保苍生。 ps:慢热,有逻辑,不属于小白文,慎重选择。牛头马面勾错魂,错把一名学霸带下了阴曹地府,最后将其送到明朝,他的明朝之旅就在这里开始..........OMG!这是什么金手指啊? 别人的金手指都是牛B克里斯的存在,为何到了自己这里就是一个盗贼? 本人虽然不是顶尖美男子,但好歹也不赖啊,我就那么像贼吗? ...... 系统,我恨你!
器魂之路 末世迷踪之太阳纪浩劫 傲世苍穹之萧易传 复仇少年的逆天赞歌 我自异世而来 雷落里希 恶魔心索 慧空的梦 暗夜卡徒 从龙族开始拯救世界 暴富小子 天圣戒主 精灵世界的聊天群大师 重生之狂暴火法 穿越成龙骑:我爹是尹志平 排名进化 龙途龙屠 重生:回到老婆死亡那一天 不可饶恕之罪 魂穿大秦:我竟成了嫪毐 邮票齿孔度数 一轮龙大版邮票价格 t134邮票 海南特区建设邮票 邮票齿孔度数 2004年发行的邮票 t134邮票 中国邮票印制局 简单邮票图片 中华民国邮票5 中国人民共和国成立十周年邮票 中国人民共和国成立十周年邮票 四方联伟大的祖国邮票第三组敦煌壁画价格 一轮龙大版邮票价格 老纪特邮票大全 海南特区建设邮票 毛里求斯邮局邮票 简单邮票图片 中国汽车邮票 五岳 邮票 一轮龙大版邮票价格 五岳 邮票 中国汽车邮票 富春山居图邮票价格 从雅典到北京邮票价格 四方联伟大的祖国邮票第三组敦煌壁画价格 邮票齿孔度数 中国民居邮票价格 中国汽车邮票 简单邮票图片 海南特区建设邮票 邮票1975年中国登山队再次登上珠穆朗玛峰的价格 长城邮票50分 老纪特邮票大全 邮票最基本的计量单位 邮票 四方连 长城邮票50分 t134邮票 四方联伟大的祖国邮票第三组敦煌壁画价格 1985年郑和下西洋邮票 邮票 四方连 中国邮票印制局 乙未年生肖邮票 毛里求斯邮局邮票 中国古塔 邮票 邮票1975年中国登山队再次登上珠穆朗玛峰的价格 中国人民共和国成立十周年邮票 邮票 四方连 四方联伟大的祖国邮票第三组敦煌壁画价格 大版康藏青藏公路邮票 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 全能制作人 末世:开局战地崛起 全职游戏设计师 天道九梯 我的心动女老板 快连下载 亚星游戏官网 亚星官网 欧博官网 亚星管理平台 五岳 邮票 1997年邮票年册价格 中国汽车邮票 大版康藏青藏公路邮票 1997年邮票年册价格 邮票最基本的计量单位 上海世博园邮票价格 毛里求斯邮局邮票 2004年发行的邮票 中国人民共和国成立十周年邮票 中国古塔 邮票 塞浦路斯邮票 小护士 中国古塔 邮票 1985年郑和下西洋邮票 邮票1975年中国登山队再次登上珠穆朗玛峰的价格 邮票齿孔度数 中国邮票印制局 邮票齿孔度数 五岳 邮票 2004年发行的邮票 邮票齿孔度数 中国古塔 邮票 2004年发行的邮票 敦煌壁画系列邮票 海南特区建设邮票 敦煌壁画系列邮票 中国人民共和国成立十周年邮票 老纪特邮票大全 毛里求斯邮局邮票 中华民国邮票5