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"
7个月宝宝吃奶哭闹宝宝能吃羊蛋吗宝宝感冒吃啥粥好呢宝宝额头摔了个大包是软的宝宝第二个月是吃宝宝7个月宝宝吃奶哭闹五个月宝宝拉黑屎是怎么回事宝宝感冒吃啥粥好呢宝宝后脑勺长疮怎么办宝宝三尖瓣返流范围局限6个月的宝宝米粉要吃多少7个月宝宝吃奶哭闹一岁宝宝肠胃炎喝奶6个月的宝宝米粉要吃多少宝宝感冒吃啥粥好呢宝宝三尖瓣返流范围局限男宝宝用哪种纸尿裤好宝宝15个月厌奶宝宝15个月厌奶5个月的宝宝脸上起皮宝宝头部温度比额头高宝宝头上长个痘痘宝宝长疮聪明宝宝杂志介绍宝宝第二个月是吃宝宝一岁半宝宝可以吃鸡翅宝宝额头摔了个大包是软的三个月宝宝牙银5个月的宝宝脸上起皮孕95天宝宝在什么位置厄禄利大陆,传说由共灵女神和其座下六大起源神兽所创造的世界。故事的舞台,就在厄禄利大陆所展开。以民间传说及史实为资料,详细介绍了三国鼎立之前的故事,不一样的的三国,尽在《史书三国传》中我不懂医术,一根银针却能化朽为奇。 我不会武功,一口烈刀败尽天下群雄。 几载蛰伏,一朝名动天下! 且看纨绔至尊君临诸天,舞动风云,搅乱苍穹! 这是一个从2002年讲起的故事,跟随丛一从懵懂孩童,到叛逆少年,至发奋青年的青春过程。同时也见证了这个海滨城市十多年的变迁,在这个故事里,你绝对或多或少能看到自己的影子。在中国有一个神秘的小镇叫柳洪镇,该镇地广人稀,拥有大量的原始地带。镇上的很多村子都有着野游历险的传统,镇城每年都要举行大型的野游运动会,并选举出最佳野游队进行表彰。镇城人口不多,却有初中、高中学校,它们实行特殊的教育方式,一个星期只上三天课,课余时间注重培养孩子的实践、开拓和独立生存的能力,同时给孩子们充分的玩耍时间。 而在柳洪镇上的一个小村庄西林村,村里特别注重培养和鼓励孩子们的野外生存能力。该村活跃着多支野游队,其中以大锋带领的队伍最为出色,他们由18岁以下的青少年们组成,其中最大的17岁,最小的10岁。他们常常深入未知地带,有美丽的世外桃源、漆黑的山洞、幽暗的森林、危机四伏的涵洞、神秘的湖泊、险恶的大山,他们曾经击败东林村的“飞哥”队伍,结识了丁武庄的“红裤衩”队伍,还捕捉到了“野人”,并把他也加入了野游队…… 女孩臻浅患有严重的被迫害妄想症,遵照医嘱在放学后独自散心。不料,之后目睹男孩“魏砷”杀人现场。在一场惊心动魄的逐命逃亡后回到家中,一觉醒来,陡然发现时间倒转。面对倒转的时间,步步紧逼的凶手,她该何去何从……刘小狗本是村中一霸,外号村里一枝花, 自从从废品站捡到了一台二手破电脑, 刘小狗罪恶的发现,电脑上面竟然可以连接20年以后的互联网。 从此,便开启了刘小狗的罪恶人生。胡非魂穿大明,成为了华夏最后一任丞相胡惟庸的儿子... 作为一个标准的官二代,他本该走马架鹰,从此过上最嚣张的纨绔生活...   然而,当他意识到不对劲的时候,才突然发现…… 朱元璋为了巩固皇权,已经对权倾朝野的胡相动了杀心! 家父胡惟庸,貌似要凉!? 邢毅开车送公司经理亲属回乡下,回来遇到暴雨将他冲进山洞,被同事从工厂深水泵井里救出,意外发现自己重生回到二十五年前。 前世上,他二十五岁时进入锦绣县宏达道桥公司,这里有高中时的同学,公司的骨干精英,未来的掌舵者。然而并没有得到同学的关照,反而遭遇冷落,被瞧不起。 他干的是混泥土搅拌工,钢筋帮扎工,搬运工等等,二十五年都在基层一线,因能力弱,胆子小,没能耐,无法扭转自己的命运以及家庭生活面貌,妻子在邮电局做职员,屡被上司欺凌,儿子到就读年龄择校时门槛高耸,父亲被冤屈下放农村,母亲患病也未能进行最好的治疗……一句话,他一辈子活得类,窝囊,不值。 上苍安排,让他的人生再来一次,从此他的工作,事业,爱情,父母、家庭,孩子……且看他怎样展开,怎样掌控渐次而来的机会,怎样应对一并降临的竞争和阻碍,完成新的使命,从而实现人生逆袭。如果说世界是多层的,你信吗? 或许你不信,但事实上世界就像是一个洋葱。 奇谈怪闻中的阴影,都市传说背后的真相。 谁又能说世界只有表面的这一层呢? 许策,一个失忆过的新人界行者。 穿越一个个界层,经历一次次历险,只想为了离真相更近一些。 “我到底忘记了什么?” 或许答案就在界层的最深处。
只有我能杀死诡! 肉蛋宇狗蛋 你假装修炼一下吧,球球了! 诸天映上 黑客:无解入侵 一壶好酒 微醺 霸血龙神 这是一个满是大神的世界 时间缝隙的旧人 暮洛书签 万界赎罪者 从天王开始的练习生 佛之手 深空之灾 直播:开局巡山,被迫成为金钱豹保镖 化外求真 异事笔录 科技式修仙 葛二两梦游记 大明:败家?这玩意我会啊 宝宝嗓子呼噜有痰是痰湿吗 宝宝何时吃米粉 男宝宝用哪种纸尿裤好 宝宝15个月厌奶 宝宝嗓子呼噜有痰是痰湿吗 15个月宝宝发育状况 一岁半宝宝用尿不湿 孕95天宝宝在什么位置 一岁半宝宝可以吃鸡翅 一岁宝宝肠胃炎喝奶 宝宝长疮 宝宝长疮 聪明宝宝杂志介绍 宝宝三尖瓣返流范围局限 广州带宝宝去哪玩 宝宝第二个月是吃宝宝 一岁半宝宝用尿不湿 一岁半宝宝可以吃鸡翅 宝宝头部温度比额头高 7个月宝宝吃奶哭闹 宝宝何时吃米粉 宝宝感冒吃啥粥好呢 宝宝能吃羊蛋吗 宝宝头上长个痘痘 孕95天宝宝在什么位置 聪明宝宝杂志介绍 一岁半宝宝可以吃鸡翅 宝宝能吃羊蛋吗 宝宝头部温度比额头高 一岁半宝宝可以吃鸡翅 宝宝15个月厌奶 宝宝何时吃米粉 宝宝额头摔了个大包是软的 7个月宝宝吃奶哭闹 聪明宝宝杂志介绍 宝宝第二个月是吃宝宝 宝宝十个月亲子游戏视频 一岁半宝宝用尿不湿 聪明宝宝杂志介绍 宝宝十个月亲子游戏视频 宝宝第二个月是吃宝宝 四个月宝宝带帽子 5个月的宝宝脸上起皮 宝宝5个月拉肚子便便黑屎 宝宝头上长个痘痘 宝宝何时吃米粉 宝宝长疮 宝宝额头摔了个大包是软的 老公属狗我属猪生猴宝宝好吗 五个月宝宝拉黑屎是怎么回事 亚星游戏官网 亚星官网 亚星官网 亚星官网 亚星官网 海底五万里 我真不是大侠啊 了不起的都市修仙模拟器 漂泊剑修楚江春 长生无道 欧博游戏官网 皇冠登3出租 百家乐官网 欧博游戏官网 欧博官网 宝宝第二个月是吃宝宝 宝宝后脑勺长疮怎么办 孕95天宝宝在什么位置 宝宝第二个月是吃宝宝 聪明宝宝杂志介绍 宝宝能吃羊蛋吗 宝宝嗓子呼噜有痰是痰湿吗 宝宝5个月拉肚子便便黑屎 宝宝后脑勺长疮怎么办 男宝宝用哪种纸尿裤好 三个月宝宝牙银 7个月宝宝吃奶哭闹 四个月宝宝带帽子 宝宝5个月拉肚子便便黑屎 宝宝头上长个痘痘 一岁宝宝呕吐得厉害 宝宝额头摔了个大包是软的 宝宝长疮 孕95天宝宝在什么位置 聪明宝宝杂志介绍 聪明宝宝杂志介绍 一岁宝宝肠胃炎喝奶 一岁宝宝呕吐得厉害 宝宝何时吃米粉 宝宝长疮 五个月宝宝拉黑屎是怎么回事 15个月宝宝发育状况 广州带宝宝去哪玩 孕95天宝宝在什么位置 一岁半宝宝用尿不湿