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"
遵义到印江汽车南宁到都安的汽车姚安到昆明的汽车时刻表寻乌到南康坐汽车要多久长沙到冷水江的汽车遵义到印江汽车桐庐到杭州汽车要多久姚安到昆明的汽车时刻表金城江汽车总站时刻表上海到浙江丽水汽车隆昌到昆明汽车姚安到昆明的汽车时刻表临沂到汶上的汽车隆昌到昆明汽车阆中到重庆汽车班次上海到浙江丽水汽车黄州汽车站清远中冠汽车站到深圳长沙到冷水江的汽车双流汽车票网上订票青岛汽车北站网上订票清远中冠汽车站到深圳金城江汽车总站时刻表蓬莱到济南汽车时刻表苏州到金沙的汽车时刻表兖州汽车站站长苏州到金沙的汽车时刻表芦台汽车站时刻表双流汽车票网上订票2014年汽车限号一剑一仙,斩落人间!大乾末年,工业革命刚刚完毕,天下大乱,帝国第一纨绔、当朝皇帝的外甥、帝国三等侯爵高绍义忽然觉醒了地球的记忆,本以为可以娇妻美妾,继续纨绔下去,但现在的大乾帝国风雨漂泊,外有强敌,内有昏君,保命都是个问题,高绍义无奈走上自强之路,卖了祖产开启武器兑换系统。 嘟嘟,恭喜宿主兑换成功98K两千只。 嘟嘟,恭喜宿主兑换成功155毫米重炮20门。 嘟嘟...... 靠武器兑换系统和自己的聪明才智,高绍义对内铲除奸臣,对外四处征战。 平原上数万坦克装甲车如万马奔腾一般。 海洋上百艘航母为首的三大舰队为帝国签下数百份不平等条约。 高绍义大手一挥,三军踏平一切胆敢抗天朝者! 叶凡上一世的仙王老婆重生归来,找到叶凡带他走上修仙路。 斩魔帝,斗五宗,破天穹,打开仙路,直杀天穹,带领全民修仙。 我的时代谁敢称无敌!上来一战! 以双修正道!一个一个的离奇案件接踵而至。。 所有的真理只是还原案件的一个出发点, 如果你是一个审理着,你会怎么做? 带着你的好奇,你的想象力来跟我一起走进这场博弈的游戏 本来就只有一个平凡的一生,哪有那么多机遇让你改变自己的命运一次意外,带来的改变人生轨迹,从此开始了,不一样的人平头小子苏禅,带着妹妹苏婉儿到处流浪,岂料命运不济,遭受恶人毒害,身中奇毒,静脉尽断,险些丧命。天不绝人之路,开启系统,提升修炼。一边复仇一边恋爱,顺便带妹修仙。神话神兽,寻得九影,路途艰辛,似已西游记人一生总有后悔的事,如果能重来你还会那样选嘛!山寨,是一门艺术,尤其是重生之后。 赵子川带着十三年年的山寨经验,重活了……放眼望去,遍地是黄金。 从潮牌开始缔造。 他赞助女足,女足奥运夺冠。 他签下15岁的大姚,18岁,大姚就在NBA篮下称霸! 他拉低钩子价格,引来ad围剿,却淡淡一笑,“你们以为,我在做潮牌,实际上,我在投资这个时代。” “西兰,是神话。” “我也是。”
全球创世:开局创造洪荒世界 妖孽小村医 热血骤燃 天域剑圣 少年复仇记! 大唐神级奶爸 魔鬼鱼海贼团 天缘起因 带系统重生走向世界巅峰 一不小心留在了人间 浩淼大陆之万年太岁王 大道执宰 末日血书 战争迷途 沐雪情缘 奶爸的背后是神明 西兴山村 天道: 神武灵狱 御魂擎天 山阴到太原汽车 隆昌到昆明汽车 桐庐到杭州汽车要多久 寻乌到南康坐汽车要多久 山阴到太原汽车 临沂到龙口的汽车 桐庐到杭州汽车要多久 深圳到肇庆汽车要多久 南宁到都安的汽车 上海到浙江丽水汽车 黄州汽车站 黄州汽车站 芦台汽车站时刻表 隆昌到昆明汽车 双流汽车票网上订票 寻乌到南康坐汽车要多久 2014汽车运输 南宁到都安的汽车 金城江汽车总站时刻表 武夷山到泰宁汽车 隆昌到昆明汽车 遵义到印江汽车 金城江汽车总站时刻表 长沙到冷水江的汽车 深圳到仁寿的汽车票 芦台汽车站时刻表 山阴到太原汽车 青岛汽车北站网上订票 金城江汽车总站时刻表 南宁到都安的汽车 寻乌到南康坐汽车要多久 清远中冠汽车站到深圳 姚安到昆明的汽车时刻表 双流汽车票网上订票 兖州汽车站站长 阆中到重庆汽车班次 姚安到昆明的汽车时刻表 桐庐到杭州汽车要多久 蓬莱到济南汽车时刻表 阆中到重庆汽车班次 苏州到金沙的汽车时刻表 绵阳到隆昌汽车时刻表 双流汽车票网上订票 北京到乐陵长途汽车 隆昌到昆明汽车 深圳到仁寿的汽车票 鄄城到北京的汽车 苏州到金沙的汽车时刻表 简阳到金堂汽车时刻表 2014汽车运输 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 旧雨集 最后的下场 带着修为回地球,我成了大佬 谋族篡位 合约车司机 欧博官网 亚星游戏官网 万利游戏官网 欧博官网 澳门葡京游戏官网 阆中到重庆汽车班次 青岛汽车北站网上订票 临沂到龙口的汽车 姚安到昆明的汽车时刻表 兖州汽车站站长 山阴到太原汽车 蓬莱到济南汽车时刻表 2014年汽车限号 隆昌到昆明汽车 桐庐到杭州汽车要多久 双流汽车票网上订票 芦台汽车站时刻表 武夷山到泰宁汽车 隆昌到昆明汽车 姚安到昆明的汽车时刻表 武夷山到泰宁汽车 青岛汽车北站网上订票 遵义到印江汽车 寻乌到南康坐汽车要多久 绵阳到隆昌汽车时刻表 苏州到金沙的汽车时刻表 姚安到昆明的汽车时刻表 清远中冠汽车站到深圳 临沂到龙口的汽车 芦台汽车站时刻表 兖州汽车站站长 深圳到仁寿的汽车票 长沙到冷水江的汽车 深圳到肇庆汽车要多久 北京到乐陵长途汽车