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"
宝宝害眼老流泪和眼屎宝宝几个月忌奶宝宝9个月的疫苗20个月的宝宝小腿弯20个月宝宝打人宝宝害眼老流泪和眼屎9个月宝宝爱玩没食欲宝宝9个月的疫苗无创21三体宝宝多吗二岁宝宝肠胃炎不爱吃东西两个月宝宝睡得多吃的少宝宝害眼老流泪和眼屎宝宝拉便便就像果冻母乳宝宝用安抚奶嘴宝宝9个月的疫苗二岁宝宝肠胃炎不爱吃东西宝宝一个多月自己拉屎要用力宝宝趴在妈妈身上睡图宝宝趴在妈妈身上睡图宝宝20个月宝宝摔着了流鼻血新生儿宝宝吃奶粉不喝水怎么办宝宝趴在妈妈身上睡图无创21三体宝宝多吗二十来天的宝宝拉肚子怎么办20个月宝宝打人胖妈妈生宝宝好生吗20个月的宝宝小腿弯宝宝多久不用吃夜奶20个月宝宝哭呕吐宝宝拉便便就像果冻龙魂大陆,强者为尊,想要在此处成为强者,就必须要有足够的实力。落魄少年被家族排挤,却意外获得神奇秘法 快来看看这精美的皮囊和有趣的灵魂是怎么称霸天下!!!陈寻怎么也想不到,自己机缘巧合参加的一次相亲经历,竟然就此翻转了他的整个人生。云云众生,草根人物,命运多殂,应何以为之?何以搏之? 滚滚的历史长河,浩如烟海的典籍,人神鼻祖,帝王将相,先贤哲人,无不树碑立传,著书立说,话其伟绩。然而,蝼蚁草芥经历了怎样的狂风暴雨,遭受了何等的苦难辛酸,亦或是又品尝了那些快乐幸福,少有问津,甚是惨淡。今攫取其中的颗粒,让芸芸众生在茶余饭后,闲暇无趣之时,偶尔翻翻,聊以打发寂寞的时日,慰藉空虚的灵魂;也可以让那些迷途的羔羊,引以为戒,奋发图强,在恰当的时间里,在适合自己的道路上披荆斩棘,勇往直前,创造属于自己的辉煌。更可以解剖人生,探究灵魂,寻求真谛,放飞心灵,让假丑恶在烈日下暴曝,使真善美在甘露里滋养;让华丽掩藏的肮脏暴露在阳光下面,使正义湮没的腐臭吹散于飓风之中。不希望名流千古,也不奢求身家有值;只是在人生末途散发余热,在风烛残年不蹉跎岁月;也可以说是菩提下的空悟,是灵台里的忏悔;是坎坷崎岖道路上的觉醒,也是酸甜苦辣滋味里的品尝。 在某一天人们觉醒了异能在乱世之中,李泽的天赋与才干展现得淋漓尽致。可兰萱始终是他心中的痛。一个废物网瘾少年 因为一个机缘巧合的机会 误入修仙一途 为实现心中所想 一路披荆斩棘 最终正道 建文四年,朱棣拖家带口举兵造反,攻进应天府时,最疼爱的太孙朱瞻基却离奇失踪。 朱棣大怒,认为是建文乱臣所为,遂屠杀一万四千余建文乱臣及家眷,流放三万余靖难遗孤,以表对太孙疼惜之意。 …… 十一年后,一少年乱了朱棣心智,朱棣时常化作普通老头,与他一起打猎。 “老爷子,我真不是你孙子,我是从死人堆里爬出来的,没有亲人。” 朱棣听着朱辰的独白,禁不住就落泪了。 “谁说你没亲人,我现在告诉你,你爷爷是永乐大帝朱棣,你是大明皇嫡长孙。” 朱辰:“老爷子,您别骗我了。” 朱棣道:“不信也罢,我欠你一个盛大的复辟仪式。” 次日,应天府白日宵禁,万人空巷,十万大明铁骑进城,为首一人,正是那身穿铠甲,龙虎精神的老爷子! 爷孙俩隔空对望一眼,朱棣一笑。 十万大明铁骑下马,恭敬跪地大吼:“恭迎大明皇嫡长孙回朝!”本书讲述,这个毫无背景的农村小孩,如何破除万难,努力奋斗,机缘巧合之下,当上了派出所的辅警,后又种种立功,最终成为一名人民警察。 自此,开启开挂人生,屡破大案,屡立战功,锄奸扶弱,后来成为一名黑帮卧底,破坏犯毒大案,最后为兄复仇。 草根青年,从零开始的励志故事,热血,青春,奋斗!!!一个看似普普通通的男孩诞生在一个不起眼的地方,谁也无法想像就是这个男孩创造了一个接一个的神话,被后世永流传。少年紫宸用一命认清兄弟,机缘遇雷元复生,得炼体法诀,踏上强者之路。 雷电淬圣体,造化铸天途!以坚韧之心,踏雷武巅峰! 新书《万道神帝》已经上传。
我在恐怖游戏里封神 情脉道 阿达卡之令 师尊就是充电宝 仙魔屠戮场 求仙入世 御皇本记 念武记 无限调查团 火箭队干部晋升日记 六趣界 拂晓之诺瓦大陆的黎明 严舆列传 看我如何灭你 择途 出山后,我桃花运爆满 天域战神被迫打工 功夫神医护花都市 都市修真日记 魔王转生战记 宝宝戒夜奶多长时间成功 宝宝8个月两边脸颊潮红潮红? 宝宝一个多月自己拉屎要用力 宝宝趴在妈妈身上睡图 宝宝戒夜奶多长时间成功 一岁四个月宝宝牙齿有白色 小宝宝百天祝福语 六个月大的宝宝能吃银耳吗 胖妈妈生宝宝好生吗 宝宝拉便便就像果冻 无创21三体宝宝多吗 4岁宝宝智力测试表 二十来天的宝宝拉肚子怎么办 二岁宝宝肠胃炎不爱吃东西 六个月宝宝穿多大鞋子 20个月宝宝打人 小宝宝百天祝福语 胖妈妈生宝宝好生吗 新生儿宝宝吃奶粉不喝水怎么办 宝宝害眼老流泪和眼屎 宝宝8个月两边脸颊潮红潮红? 宝宝9个月的疫苗 宝宝几个月忌奶 母乳宝宝用安抚奶嘴 二岁宝宝肠胃炎不爱吃东西 二十来天的宝宝拉肚子怎么办 胖妈妈生宝宝好生吗 宝宝几个月忌奶 新生儿宝宝吃奶粉不喝水怎么办 胖妈妈生宝宝好生吗 20个月宝宝打人 宝宝8个月两边脸颊潮红潮红? 20个月的宝宝小腿弯 宝宝害眼老流泪和眼屎 宝宝多久不用吃夜奶 20个月宝宝打人 给宝宝拍嗝宝宝四肢颤抖 小宝宝百天祝福语 二十来天的宝宝拉肚子怎么办 给宝宝拍嗝宝宝四肢颤抖 20个月宝宝打人 四个月宝宝五天不拉粑粑 宝宝20个月宝宝摔着了流鼻血 4岁宝宝智力测试表 母乳宝宝用安抚奶嘴 宝宝8个月两边脸颊潮红潮红? 无创21三体宝宝多吗 20个月的宝宝小腿弯 20个月宝宝哭呕吐 9个月宝宝爱玩没食欲 亚星官网 亚星官网 亚星官网 亚星官网 亚星游戏官网 我在大宋卖报纸 火凤凰签到三年,成为特战兵王 九域天灾 圣元魔尊 非典型调查报告 AG真人 亚星管理平台 亚星游戏官网 AG真人 百家乐官网 宝宝黄疸期间发烧怎么回事 六个月宝宝穿多大鞋子 六个月宝宝穿多大鞋子 小宝宝百天祝福语 小宝宝百天祝福语 宝宝拉便便就像果冻 宝宝黄疸期间发烧怎么回事 4岁宝宝智力测试表 新生儿宝宝吃奶粉不喝水怎么办 宝宝多久不用吃夜奶 宝宝趴在妈妈身上睡图 四个月宝宝五天不拉粑粑 宝宝9个月的疫苗 两个月宝宝睡得多吃的少 宝宝20个月宝宝摔着了流鼻血 宝宝黄疸期间发烧怎么回事 20个月宝宝打人 新生儿宝宝吃奶粉不喝水怎么办 新生儿宝宝吃奶粉不喝水怎么办 宝宝一个多月自己拉屎要用力 宝宝一个多月自己拉屎要用力 四个月宝宝五天不拉粑粑 宝宝拉便便就像果冻 二岁宝宝肠胃炎不爱吃东西 宝宝屁股带黑灰是怎么回事 一岁四个月宝宝牙齿有白色 宝宝趴在妈妈身上睡图 六个月大的宝宝能吃银耳吗 宝宝害眼老流泪和眼屎 两个月宝宝睡得多吃的少