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"
邮票里的珍贵文物浦发邮票是几部的神农架邮票收购价格三轮龙邮票真伪和价格三轮生肖邮票大版图片大全邮票里的珍贵文物2017年8月19号邮票价格神农架邮票收购价格南京的邮票编码第一枚生肖邮票出自哪个国家西南区解放邮票邮票里的珍贵文物中国第一套宣纸邮票西南区解放邮票神农架邮票收购价格第一枚生肖邮票出自哪个国家怎样画狗邮票素描威海邮票交易中心威海邮票交易中心科技成果1999邮票邮政官网 买邮票威海邮票交易中心南京的邮票编码台湾邮票红楼梦1998三轮生肖邮票大版图片大全黄永玉2016年邮票价格三轮龙邮票真伪和价格德国方形邮票书法家 邮票中国第一套宣纸邮票九州神王李长青,被兄弟偷袭陨落,却意外重生归来。 尘封万年的洪荒大妖,将成为他的助力, 万界之中,修最强之术,炼顶尖灵药,布绝妙大阵…… “前世我能登临巅峰,这一世我也一样可以,诸天万界,终有一天,我会卷土重来!” 外籍雇佣军团的雇佣兵王权在执行完任务之后,一觉醒来发现自己穿越到了的70年代的东南亚的南国地区,从此以后,他凭着自己现代的智慧与经验,在充满危险的南国地区不断奋斗征战,罂粟运输,军火,金矿每一次的冒险都伴随着巨大的财富与残酷的斗争,而这,也只是这个危险世界的冰山一角。。。 一次穿越! 王权---地下世界一代霸主,霸业征途,就此开启! 唐听白魂穿异界,成为大燕皇帝,觉醒最强王者系统,不断完成系统任务,获得王者英雄!   斗文臣?派个诸葛亮就够了!   收兵权?我儿奉先何在?   剿灭叛乱附属国?关羽、孙策你俩去吧!   朝堂得意,唐听白的后宫更是幸福。   妲己:请尽情吩咐妲己,主人。   大乔、小乔:皇上~,你好坏。   钟无艳:哈哈哈,亮个相吧,小宝贝!   短短两年大燕国力恢复,平北方四岛、灭南方诸国、战南印天竺、剿西方波斯。   然而,故事才刚刚开始。   还有更多的英雄等待唐听白的召唤……少年成长之途,这路,通往未来的荣光,也连接了旁人的过往……他是五行三系巅峰的修行者,他被妖孽师兄们赶下山去祸害人间。美女,金钱,复仇,秦云一路开挂升级。一缕天魔残魂为引,带领一个意外来到这个世界的特种兵,走上修仙之路,在魔族圣主的布置下,慢慢走上与仙帝的对抗之路。历经艰险,在生死徘徊之际,觉悟天道有缺,最终战胜天帝,圣主。回归家园。喂!最近怎么开始听emo歌单了啊?别难过,我分骨头??给你啊!我的字典里希望你能开心 ——爱你的狗狗??笨蛋狗狗只要被人摸一下头就开始喜欢人类。上古之战后二十二年,九嵩山上忽然亮起两道玄光,上古三贤赶去察看,却因“天之殇”先后陨落,九牧苍穹出现裂痕,域外天魔将要入侵荼毒,幸有男主人公“万千星辰主、多情时空人”天上追寻神兵至此,以天之力将天魔挡在九牧之外,自己却因重伤从九天银河坠落。可天魔没有就此罢休,不久后,因为一次偶然机会,“乱天之战”提前拉开序幕…… 天上重伤坠落,性命如何?天魔很辣无情,多灾多难的九牧谁来拯救?天魔功法与九牧九道,谁更胜一筹?无情道,多情道,将会有怎样的巅峰对决?九牧要如何还道清明?雪上情缘因何而起又情归何处?芸芸众生如何逆天寻缘?前尘往事,一切种种,尽在《雪上情缘》!我本无意争锋,却被迫推上高位,在血与火中,一步步走到天的举世瞩目的高度,那么就剩下天了......来自他的故事传奇。兽神紫林转世到地球成为了罗煌;一个强者的故事。
网游:重生成为NPC 仙路鬼途 神荒笈 长平记 不想内卷,所以我全点了治疗 流浪在仙界 娱乐:开局疯狂爆料 一位残血大佬的自我修养 墨阁的黑色秘密 真神的能力和毁灭! 恶魔也需要有真正的爱情 麻辣女兵之错位的幸福 我的江湖悲歌 从浩劫中出发 多重灵格 大唐:开局曝光私生子身份 断缘图录 我的老师吴泽英 遮天帝神 重生,我依旧是傀儡 农业学大寨错版邮票 中国邮票图案是什么意思 怎样画狗邮票素描 威海邮票交易中心 农业学大寨错版邮票 玩进口邮票的反应 邮票回收价格表2014 中国1981鸡年邮票多少钱 黄永玉2016年邮票价格 中国第一套宣纸邮票 南京的邮票编码 南京的邮票编码 台湾邮票红楼梦1998 第一枚生肖邮票出自哪个国家 世界第一枚生肖邮票出自哪个国家 三轮生肖邮票大版图片大全 邮票回收价格表2014 黄永玉2016年邮票价格 邮政官网 买邮票 邮票里的珍贵文物 中国邮票图案是什么意思 神农架邮票收购价格 浦发邮票是几部的 看邮票行情哪个网站好 中国1981鸡年邮票多少钱 台湾邮票红楼梦1998 黄永玉2016年邮票价格 浦发邮票是几部的 邮政官网 买邮票 黄永玉2016年邮票价格 威海邮票交易中心 中国邮票图案是什么意思 三轮龙邮票真伪和价格 邮票里的珍贵文物 台湾邮票红楼梦1998 三轮生肖邮票大版图片大全 神奇的邮票视频 邮票回收价格表2014 台湾邮票红楼梦1998 神奇的邮票视频 三轮生肖邮票大版图片大全 中国编号邮票裸方联 科技成果1999邮票 首轮镀金12生肖邮票 看邮票行情哪个网站好 中国邮票图案是什么意思 南京的邮票编码 三轮龙邮票真伪和价格 书法家 邮票 2017年8月19号邮票价格 亚星官网 亚星官网 亚星官网 亚星官网 亚星游戏官网 麻辣女兵之错位的幸福 万古第一魔帝 朝阳记 万道神王 变强从屠龙开始 澳门葡京游戏官网 AG真人 快连下载 澳门葡京官网 欧博游戏官网 首轮镀金12生肖邮票 怎样画狗邮票素描 世界第一枚生肖邮票出自哪个国家 首轮镀金12生肖邮票 邮政官网 买邮票 书法家 邮票 邮政官网 买邮票 中国1981鸡年邮票多少钱 农业学大寨错版邮票 第一枚生肖邮票出自哪个国家 三轮生肖邮票大版图片大全 中国编号邮票裸方联 德国方形邮票 2017年8月19号邮票价格 台湾邮票红楼梦1998 三轮生肖邮票大版图片大全 科技成果1999邮票 台湾邮票红楼梦1998 第一枚生肖邮票出自哪个国家 书法家 邮票 邮票里的珍贵文物 中国邮票图案是什么意思 神农架邮票收购价格 科技成果1999邮票 三轮龙邮票真伪和价格 邮政官网 买邮票 2017年8月19号邮票价格 浦发邮票是几部的 威海邮票交易中心 神奇的邮票视频