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"
黑泽明电影 巅峰风从海上来电影哪里可以看亚洲电影史36届香港电影金像奖开整容医院是那个电影的台词黑泽明电影 巅峰电影 火灾场景亚洲电影史意大利经典电影介绍误入迷途微电影日本电影学生秋游亚洲电影史下载日本电影搭错车日本电影学生秋游免费电影新开心鬼2015年误入迷途微电影德西卡 电影合集东北结婚电影视频东北结婚电影视频亚洲电影资讯杂志一男一女为取暖裸体相拥的电影东北结婚电影视频意大利经典电影介绍好看的欧洲电影推荐陈奕迅电影感人句子电影护工陈奕迅电影感人句子好看的欧洲电影推荐亚洲电影资讯杂志下载日本电影搭错车爱情像酒,酒香四溢,让人沉醉,但只有喝下去才知道其中辛辣。 曾经的我也对美酒格外向往,直到我在新婚之夜,发现在妻子的私密部位,纹了两个字……江夜得知十天之后,克苏鲁神明将要 降临人间,血洗一切。 眼看死亡不可避免!结局已经注定! 还好他提前得到【斩神模拟器】! 可以逆天改命! 只要通过模拟器不断斩神,就能获得模拟点,兑换各种金色传说天赋,死灵之书,尸食教典仪,阿撒托斯之书,至高母神莎布.尼古拉丝…… 十天时间,一晃而过,曾经弹指可灭的蝼蚁,已经成为全宇宙最强大的创造之神! 这时诸神降临,信心满满,却震惊的发现,这个看似脆弱的人类星球,竟然居住着一尊伟岸…… 【穿越】【爽文】【文道】 儒道文神作:【89章起飞,93章爆炸】 “天不生你林亦,万古文道如长夜!” 这是一个读书就能获得才气的文道世界。 林亦,读地球诗经、楚辞、汉赋、唐诗、宋词,养浩然正气。 才气杀人,口诛笔伐。 言出法随,文道成圣。赵牧意外穿越大秦世界,绑定最强工业系统! 只要完成任务,就可以获得奖励! 叮!完成任务,获得纺织机图纸, 叮!完成任务,获得蒸汽机图纸! 叮!完成任务,获得燧发枪图纸! 赵牧无比激动,终于可以开始工业革命了。 就在他打造了一个地球仪给秦始皇,准备说服他改革军制统一地球的时候,秦始皇拿出了一本九州图志。 北部,元朝和宋朝 东部,大明国 南部,大隋.... “这几个帝国每一个都有天人境强者坐镇!” “就凭你那个打鸟的玩意,也能让朕一统天下?” 赵牧看了看手中的地球仪和燧发枪,陷入了沉思。 如果继续这样下去的话,自己早晚有一天会彻底放弃的。因为他已经不再属于部队,也无法再上阵杀敌了,这是一个残酷的现实。女主唐嫣然向您证明,吾为女辈也当为主宰。 没有系统,没有外挂,单纯的穿越就如同上一世的我那般平凡,身处绝地,当我再次醒来之时,一切早已物是人非 弹指间,灰飞烟灭,亿万年已过。 万族林立,诸圣争霸,天地动荡,问世间苍茫何在,直至斩尽日月星辰。穿越到古代,家中一穷二白! 不怕,运用21世纪的知识,随便搞点发明创造,改善家中生活! 一不留神富甲一方,漂亮老婆天天催着纳妾,小日子不要太幸福! 蛮族入侵,那就组建骑兵,制造火炮,打他丫的! 影响我平静的生活,敌寇虽远必诛!好书对于有些人而言,活着是最难的。暗恋多年的感情始终无果,挡在我面前的是生活和现实。 现实和生活是沉重的枷锁,牢牢困住我的心中的理想。 纵使我奋不顾身,也只能头破血流。 古怪女孩出现在我的生活中,为我平淡而又灰暗的生活增添了一抹光彩,从此她成为了我生命的光。 掩藏在表面之下的,是人性中的恶。
破晓之后的永恒 千年之命 诡异世界,我的呱呱军团 道帝重生 持剑傲天 携鬼修仙 无色神帝 恶灵游戏:诅咒的空间 龙女竟是我师姐 聂远传 带着二手车冲出银河系 一支梨花春带雨 日月扉 捍卫者联盟:新纪元 异界开启的修仙路 二五仔大统领 天青私塾 X世界的记忆 :忆 愛在海市蜃楼那一边 电影绝对权力 坚强女性的电影 德西卡 电影合集 开整容医院是那个电影的台词 电影绝对权力 芙蓉镇一样经典的电影 德西卡 电影合集 搭错车电影故事情节 电影护工 电影豪情完整版在线看 昨日、今日、明日 电影 昨日、今日、明日 电影 国产高分警匪片电影 坚强女性的电影 黑泽明电影 巅峰 开整容医院是那个电影的台词 韩国黑道电影大全 电影护工 蝴蝶姐姐演过的电影 亚洲电影史 坚强女性的电影 免费电影新开心鬼2015年 风从海上来电影哪里可以看 日本电影学生秋游 误入迷途微电影 国产高分警匪片电影 电影护工 风从海上来电影哪里可以看 蝴蝶姐姐演过的电影 电影护工 开整容医院是那个电影的台词 电影《变身》 36届香港电影金像奖 黑泽明电影 巅峰 好看的欧洲电影推荐 开整容医院是那个电影的台词 36届香港电影金像奖 德西卡 电影合集 国产高分警匪片电影 免费电影新开心鬼2015年 陈奕迅电影感人句子 电影豪情完整版在线看 第18届釜山电影节视频 韩国黑道电影大全 日本电影学生秋游 坚强女性的电影 昨日、今日、明日 电影 陈奕迅电影感人句子 国产高分警匪片电影 电影 火灾场景 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 调戏大宋 大明:满朝奸臣,你让我登基称帝? 妖孽小村医 破晓枪声 逆凡人生 百度 百度 百度 百度 百度 搭错车电影故事情节 坚强女性的电影 电影绝对权力 搭错车电影故事情节 秘密 美国电影 蝴蝶姐姐演过的电影 秘密 美国电影 电影豪情完整版在线看 德西卡 电影合集 陈奕迅电影感人句子 亚洲电影资讯杂志 开整容医院是那个电影的台词 意大利经典电影介绍 德西卡 电影合集 一男一女为取暖裸体相拥的电影 亚洲电影资讯杂志 风从海上来电影哪里可以看 一男一女为取暖裸体相拥的电影 搭错车电影故事情节 蝴蝶姐姐演过的电影 电影护工 免费电影新开心鬼2015年 芙蓉镇一样经典的电影 风从海上来电影哪里可以看 国产高分警匪片电影 秘密 美国电影 德西卡 电影合集 电影 火灾场景 第18届釜山电影节视频 好看的欧洲电影推荐 亚星官网 亚星官网 万利官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网