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"
鲜花 果实的作文献给母亲节为一扁作文希望成为英语作文写教育本质的作文素材雾的作文要初中版小学生奇妙作文怎么写献给母亲节为一扁作文写编故事作文200字夏天景色和游戏作文300字写热闹的晚会作文笑话的作用英语作文写编故事作文200字小学人物作文范文笑话的作用英语作文写出三个成故事的作文400字写热闹的晚会作文写月考时的作文600字小学命题作文英文小学作文怎么定中心?写人的一篇作文600字作文开头希望杯作文大赛总决赛小学命题作文英文夏天景色和游戏作文300字写老师教你的体会作文500字希望杯作文成绩查询写古代人物作文300字希望杯作文成绩查询写老师教你的体会作文500字写人的一篇作文600字作文开头小学人物作文范文童念承诺之前说的话,不再抛头露面,待在家里大门不出二门不迈,继续写侦探小说,保持当红女作家的地位。 后来,童念得知自己的父亲成为东署警局第二任局长,心里感到非常高兴。 童念借此机会,想把太叔劂介绍给自己的父亲认识,去了一家电影院,结果发生杀人事件。 《女侦探童念》系列小说的第二部!他是古文系研究生,刚毕业,就去大都市打拼,没想到半路遇扒手,没了钱包手机,靠乞丐的救济过日子,可没想到的是,因为奇遇,与妖魔邪祟打交道,渐渐声名远播,因为相貌以及性格,得到许多个富家女的青睐,也结下了不少的梁子。演绎人生百态,都市人情冷暖,以及爱恨情仇! 啊~什么?兰若寺! 宿醉的梦晨一觉醒来,发现自己置身于破败的兰若寺! 怀里揣着一只七彩宝鼎~ 不会吧,虽然穿越小说没少看! 可是没想到今个儿轮到自己了! 穿越成谁不好,偏偏成了手无缚鸡之力的寒碜书生! 拿什么跟万恶的黑山老妖斗? 还好,随身携带了一个能够呼风唤雨的无敌模拟系统! 开启了他开挂的诛魔修仙之旅~【我可以回家吗?】 【我让人找过了,提瓦特大陆不在这个世界,也就是说,你可能回不去了。】 【我需要回去,那里有我的朋友、战友……】 【我帮你,不过,你可能需要在这里呆一会儿,巴尔泽布,或者说,雷电将军小姐】 邹锦辉看着面前的女孩,露出了一丝微笑。 雷电将军想了想,点了点头。 因为 是这个人,在自己受伤和虚弱的时候,救了自己。 【那么,你想要什么东西报答呢?】雷电将军笑着问对方。 【以后再说吧】 邹锦辉看着她,笑了笑。卜慧书是一名落魄青年,嗜读书,被人成为“痴疯子”。无意功名,也不近女色。擅长办案,只因在义田获得银指环,上写“雅威”二字。之前襄阳镜湖湖口发现一具男尸,身上并无伤痕,可能落水而死。乡民发现后,就向地保报告了情况。地保请代言人撰写一纸呈文报官,代言人则索取1000两银子作为报酬。地保一则没有那么多钱,二则也不太愿意,故而只肯出200两银子。痴疯子便草草写了一张“镜湖口,发现浮尸一具”的呈文。后来情况如何?代言人如何处置?敬请期待....... 三个月前温宥川的弟弟温季川在下墓之后失踪了,通过调查竟牵连到了父辈的恩怨,失忆 失踪 父辈 盗墓结合神圣再现,风云再起,旧时代未葬下的魔,就由我来终结。(作者是个小白,文笔不好!)三十年前,一群意气风发的少年找到了沉默已久的古殿,而自此他们在人间蒸发般的消亡了,对后人所留下的也不过是层层的,深深的谜底你可知道茫茫人海之中,有些看似平凡的人其实身怀绝技?他们可能是楼下小卖铺的老板,有可能是公司白领,也有可能是快递员······ 凡修炼之人必要渡劫,但这劫难并非天雷地火的磨难,而可能是生活中的每一件小事。 而袁逍的劫,前无古人后无来者,竟然需要天下人来助!无
万法升仙 废土枭雄 青莲绝迹 天刀之人在江湖 2403时代:第一部 灵异:开局签到神鬼七杀令 万妖归位 三国,历史名将大乱斗 初练 江海山的故事 圣灵之魄 贫道丘处机 我真不是召唤兽 三千界之屠龙令 龙跃于渊:崛起篇 年少帝王梦 归去龙兮 我大秦熊孩子,八岁监国 古剑与手枪 开局被判诛九族,贵妃娘娘 写写自己的事300字作文 写编故事作文200字 小考加速度作文 雾的作文要初中版 写写自己的事300字作文 喜六一儿童节的作文 小考加速度作文 小学生作文伙伴800字 写月考时的作文600字 希望杯作文成绩查询 写热闹的晚会作文 写热闹的晚会作文 夏天景色和游戏作文300字 写编故事作文200字 鲜花 果实的作文 雾的作文要初中版 西瓜作文二年级作文 写月考时的作文600字 小学人物作文范文 希望成为英语作文 写编故事作文200字 希望成为英语作文 小学人物作文范文 写人的一篇作文600字作文开头 写出三个成故事的作文400字 夏天景色和游戏作文300字 写写自己的事300字作文 献给母亲节为一扁作文 小学人物作文范文 写月考时的作文600字 雾的作文要初中版 小学生奇妙作文怎么写 写教育本质的作文素材 鲜花 果实的作文 喜六一儿童节的作文400字 写老师教你的体会作文500字 写教育本质的作文素材 小考加速度作文 夏天景色和游戏作文300字 写古代人物作文300字 写老师教你的体会作文500字 小学生作文伙伴800字 下雪的风景作文100字 西瓜作文二年级作文 写人的优秀作文四百字 小学生奇妙作文怎么写 写热闹的晚会作文 写老师教你的体会作文500字 夏天景色和游戏作文300字 笑话的作用英语作文 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 铁浮屠:世界的长城 源战九天 缚天咒君 剑飞大陆 桃源小天师 百度 百度 百度 百度 百度 写人的优秀作文四百字 笑话的作用英语作文 小学生奇妙作文怎么写 雾的作文要初中版 写出三个成故事的作文400字 夏天景色和游戏作文300字 下雪的风景作文100字 希望杯作文大赛总决赛 心似末远离作文 西瓜作文二年级作文 小学人物作文范文 下雪的风景作文100字 希望成为英语作文 喜六一儿童节的作文 西瓜作文二年级作文 写老师教你的体会作文500字 小学生奇妙作文怎么写 写人的优秀作文四百字 鲜花 果实的作文 夏天景色和游戏作文300字 写出三个成故事的作文400字 写酸的作文400字 献给母亲节为一扁作文 心似末远离作文 小学作文怎么定中心? 希望成为英语作文 雾的作文要初中版 小学命题作文英文 笑话的作用英语作文 小学作文怎么定中心? 亚星官网 亚星官网 万利官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网