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"
致命报酬 小说落魄千金重生后 上官芸梦 小说网游之决战问道 风吹花落 小说匪我思存 短篇小说杀戮万尸 杀戮之心 小说致命报酬 小说小说 控制女的 修真网游之决战问道 风吹花落 小说穿越小说 里边的女主角生化逃亡 曦风炫 小说超级武士 法于阴阳 小说致命报酬 小说懒散王妃 岚裳 小说超级武士 法于阴阳 小说网游之决战问道 风吹花落 小说印章印天+小说萌妃很狂很嚣张 姒妃妍 小说杀戮万尸 杀戮之心 小说杀戮万尸 杀戮之心 小说道士成长日记 木红子 小说极品天才 明月照松岗 小说亚美尼亚战记 灿烂的威哥 小说穿越小说 里边的女主角苍蓝舞姬 游骑 小说狂蟒之灾 小说txt小说标题匪我思存 短篇小说东方不败之莲爱一生 时不待我 小说道士成长日记 木红子 小说我是大流氓 我是大废物 小说徐辰一朝穿越发现自己的的幸运值居然是满的?每次开卡别人白光一片,自己却时时出金,而且几乎都是战斗力又高,颜值又高的美少女?“不是你们也太弱了吧,连我卡灵一击都扛不下来啊!”众人满头黑线,你这幸运值开挂的人别人打得过???老嫂子按摩店的老板,李浩明面是个按摩的小白脸,实际上确是苏家大房家的赘婿,而赘婿你也不过是他为掩盖真实身份所找的幌子。 医道圣手,玄门的执法长老, 意外穿越,王腾穿越到了龙珠超世界,而且还到达了全王宫殿! 全王对王腾特别赏识,直接让他成为神界的监察官! 激活签到系统,开局奖励超级赛亚人五……… “叮,恭喜宿主在全王宫殿签到,奖励自在极意功!” …… 比鲁斯:“什么?监察官大人驾到了,赶紧出迎!” 芭朵斯:“王腾大人好帅啊,真希望能够跟着大人,成为他的贴身天使……” 顾星辰,云锦山有史以来最年轻的天师,通阴阳明医术,占卜看相无所不能。五年期满,返回云镇,自此一代天师之名不胫而走。 风水堪舆,易如反掌;不治之症,一针救魂;牛鬼蛇神,一剑平之。 小小云镇,很快就成了首富大佬挤破头都想瞻仰的神圣之地。小小天师,畅游都市,只手定乾坤!2014年6月12日,星期四,晴。 距离改变命运的中考仅有1星期的时间。 本该紧张备考的我们,命运却在这普通的一天被打乱。 学校被莫名封锁,出去便死 没有通讯,没有电,我们能用的资源越来越少。 为了活下去,昔日友好的朋友,和谐的师生, 却反目成仇,相互残杀。 来吧,同学们。 拿起手中的武器, 去面对那些吃人的感染者和想杀死自己的人吧! 我们不是残忍,我们只是想继续活着。人的一生,高低起伏。 你是不是天才,出生就已经注定,但你会不会成才这可说不一定。 历尽沧桑,是否会觉得其实自己不过一粒微尘?这个世界,是一个令人匪夷所思的世界,自打我记事起,爹娘就曾告诉我,三百多年前,不知何事所致,不知何人所为,世界上的所有人突然就再也不会死亡,每个人都拥有着永恒的寿命……我相信这个世界的某个地方会有另一个我,在完成我未能完成的事,过着和我不一样的人生。 你好,我是向楠,我能看见...原本生活在农村的江尘过着平淡生活,婚后才是各种痛苦的开始,年轻气盛的江尘冲动之下摆脱自己认为痛苦的婚姻,反而再次陷入更加噩梦的婚姻。“如果有一本书,有一个和你同名的反派。” “这个反派干啥啥不行,弄啥啥倒闭” “而且还从开头一直被打脸打到最后。” “你怎么办?” 重生来到书里的朱琥沉思了一下。 然后举起硕大的拳头,朝着众位主角们走去。 “那就谁也别想活着!!!”
上苍尘花落 进击的未名人 大秦:我靠读书入圣,开局召唤大雪龙骑! 末日我在海里抓鲨鱼 影视世界从一千万开始 末世,开局获得专属天赋 笔下之物 他在黑暗看着我 重生:我天后老公的身份差点曝光了 在异世界的我要小心生存 诞生在海贼王的世界 玄幻:这个炉鼎太逆天 一不小心偷到了绝世宝物 逍遥鬼主 魔法师的异界 大文豪加斯科因 轮回情债 奇闻异事之东南村 k小队 李毅破天 火爆医王 排骨丸子 小说 穿越之盛唐风云 小说 高三一班异闻录 暮南?h 小说 道士成长日记 木红子 小说 萌妃很狂很嚣张 姒妃妍 小说 深宫欲孽 瞳韵 小说 印章印天+小说 狂蟒之灾 小说txt 医生黑帮 小说 杀戮万尸 杀戮之心 小说 深宫欲孽 瞳韵 小说 深宫欲孽 瞳韵 小说 苍蓝舞姬 游骑 小说 印章印天+小说 致命报酬 小说 狂蟒之灾 小说txt 医生黑帮 小说 小说标题 偏偏爱上你 夜微浅 小说 网游之决战问道 风吹花落 小说 印章印天+小说 网游之决战问道 风吹花落 小说 偏偏爱上你 夜微浅 小说 亚美尼亚战记 灿烂的威哥 小说 生化逃亡 曦风炫 小说 玫瑰玫瑰我爱你 小说 小说标题 偏偏爱上你 夜微浅 小说 偏偏爱上你 夜微浅 小说 海贼王之手术刀与心脏 莜欣 小说 杀戮万尸 杀戮之心 小说 高三一班异闻录 暮南?h 小说 匪我思存 短篇小说 致命报酬 小说 苍蓝舞姬 游骑 小说 狂蟒之灾 小说txt 匪我思存 短篇小说 火爆医王 排骨丸子 小说 苍蓝舞姬 游骑 小说 穿越之盛唐风云 小说 狂蟒之灾 小说txt 古墓玄踪 苏西坡 小说 道士成长日记 木红子 小说 医生黑帮 小说 超级武士 法于阴阳 小说 高三一班异闻录 暮南?h 小说 深宫欲孽 瞳韵 小说 狂蟒之灾 小说txt 玫瑰玫瑰我爱你 小说 萌妃很狂很嚣张 姒妃妍 小说 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 这个书生格外莽撞 女人帝国 我史上最快飞升者 和她一起办案的日子 八大校草欢乐歌 快连下载 亚星游戏官网 亚星官网 快连下载 亚星管理平台 古墓玄踪 苏西坡 小说 海贼王之手术刀与心脏 莜欣 小说 狂蟒之灾 小说txt 亚美尼亚战记 灿烂的威哥 小说 杀戮万尸 杀戮之心 小说 玫瑰玫瑰我爱你 小说 火爆医王 排骨丸子 小说 极品天才 明月照松岗 小说 道士成长日记 木红子 小说 致命报酬 小说 道士成长日记 木红子 小说 古墓玄踪 苏西坡 小说 言情小说 露骨 穿越之盛唐风云 小说 穿越之盛唐风云 小说 东方不败之莲爱一生 时不待我 小说 落魄千金重生后 上官芸梦 小说 杀戮万尸 杀戮之心 小说 小说 控制女的 修真 火爆医王 排骨丸子 小说 萌妃很狂很嚣张 姒妃妍 小说 超级武士 法于阴阳 小说 苍蓝舞姬 游骑 小说 致命报酬 小说 高三一班异闻录 暮南?h 小说 生化逃亡 曦风炫 小说 高三一班异闻录 暮南?h 小说 偏偏爱上你 夜微浅 小说 印章印天+小说 懒散王妃 岚裳 小说