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"
高考作文素材 心态高中关于奋斗的作文高中英语作文课余生活高中春的气息作文感激同学帮助的作文400字高考作文素材 心态感恩为主题的作文600高中英语作文课余生活感人至深的作文初三感恩父母的记叙作文感人的好人好事作文高中英语作文课余生活感恩老师的作文二百字感人的好人好事作文感受自然的美作文感恩父母的记叙作文高三作文远离功利感恩奉献的作文300字感恩奉献的作文300字高考作文模板句感恩的作文阅读答案感恩奉献的作文300字感人至深的作文初三感恩为主题的作文400感激同学帮助的作文400字感恩老师的200作文感恩学校作文500字感恩为主题的作文400高考作文模板句感恩老师的作文二百字世界未开,先育界神,分其所掌;其阴,万物之终;其阳,万物之始;对立,平横诸事;生命,意识之初;时空,诸天起源;终因噬而亡;所谓创世,阴阳所诞。诸天万界就此开启。 本篇属于集,大概就类似一个独立的体系历史故事,就如同圣经,或者洪荒小说一类的。如果非要说主角,那就是创世。母亲病故后,孑然一身的徐达开始酗酒、赌博、呷妓,每天浑浑噩噩的活像一头行尸。他不明白人为什么要活着?或者说他在为什么活着?当徐达渐渐陷入恶臭的泥沼时,他突然开始后悔没有听母亲的话。百般挣扎无望后,一个完全长在徐达审美上的女人出现,冰冷的丢出两个选择。他们因意外穿越到DC宇宙的哥谭市,妹妹王丽会一些基本的空手道和厨艺,哥哥李宇在这里想得到小时候的体验冒险感。教室上课上的好好地,一枪击案竟在学校发生?! 老师同学全杀,学校血流成河;顾曜煜火纹案觉醒,校园主角团立下誓言:定扭转时空,拯救世界! APRP组织的阴谋,恶魔的血眼悄然睁开。 世界的未来,是什么呢......洪武十二年,大明初创。 蒙元余孽依旧在虎视眈眈,逐渐走出黑暗中世纪的西方也开始文艺复兴。 就在这个古老民族即将被世界抛弃的关键节点。 一个穿越的灵魂降临大明,附身到了一个十五岁的少年身上。 “有一人。 他文可订币制,育良种,办大学,开科学为天下先! 武可发明蒸汽机,造枪炮,扬帆七海,让凶残的草原蛮子为朕歌舞助兴!” “他,就是我朱元璋的孙子,朱肇辉!”这个世界有鬼,地府鬼仙,有神,天庭神仙,有灵,人间神灵,有妖,上古妖兽,有佛,诸天神佛,有道,无上道尊,有国,大汉。 身为游戏霸主的李清风,来到这个世界,本想做一个潇洒快活的江湖侠客 囚牢内的一封密函,彻底改变了他的思想,从此在一个名叫“权利”的旋涡内越陷越深这个战火纷飞的时代 没有正义、也没有邪恶,只有无止境的杀戮与复仇 没有光明、也没有黑暗,只有道不尽的无奈和愤怒 罗恩·卡史诺连列斯 —— 黑夜女神的召唤师,有着过人的法术天赋,本应在军中成就一翻事业,却只求安乐、无忧无虑地过日子。他讨厌战争,热爱旅游,喜欢自由自在的感觉。随着禁忌之书《诸神的日记》浮现于世,古神的秘密渐渐被揭晓,当信仰破灭时,罗恩将如何决择呢? 凯恩·列顿 —— 太阳神辛纳的圣骑士,自信爆棚的年轻上尉。正义,善良的他深受上司赏识在军队中扶摇直上,与他同期出身,一同打拼的战友却一个接一个的倒下。最终他扎进骑兵领主之列,事业攀上高峰。身处军中,他看尽了皇室贵族的丑陋和迂腐。当立宪、共和的声音在帝国蔓延时,凯恩将如何决择呢? 滴血的长矛、飘烟的枪管终将指向何方,在漫天烽火的日子里,谁也无法掌握自己的命运。冯宇熙生活在精灵世界,这里有各种神奇的精灵,等你来收服 “你已经取得资格,准备好回归了吗?” “不,那外面,才是真正的囚笼!” …… 那一天,有人格缺陷的平凡青年孟渭澄的颓废生活被搅乱,莫名其妙的超自然现象降临在他的身上,最终获得了奇妙的力量——“捷”。他不知道这是福佑还是诅咒,顺着那个也许根本就只是幻觉的指引,踏上了成为“圣者”的旅程。 一个另类的足球天才,一群热血的足球人,一切从零开始,逐步成长,从弱小变得强大,从中国走向世界。 足球理想、足球智慧、足球商业、国家精神、民族气度,所有元素都在《影球者》中,既虚幻又真实,在中华民族伟大复兴的路上,谱写我们的足球传奇。 本小说献给为中国足球腾飞矢志不渝,默默奉献,勤奋耕耘的人们。
创世经 消逝的荣耀 神医从妇科圣手开始 仙魔:我拥有雷神体质 撕裂的天空 我真的没开挂 红尘符道 我有最强神级天赋抽奖系统 苍灵神尊 异事笔录 命里成仙 孟婆传说的由来 仙湮兮 海天大案 不死长生录 情丝渐暖九州寒 小A的游戏人生 茗刀 义眼丁真鉴定系统 罗安娜女皇 感恩国家:300字作文 感恩母亲的小学生作文 高三作文远离功利 感激同学帮助的作文400字 感恩国家:300字作文 感恩母亲作文的题记 高三作文远离功利 感恩母亲的作文好开头 感恩老师的200作文 高职英语作文万能模板 感人至深的作文初三 高考英语作文用什么笔 感恩主题的200字作文 感恩母亲的小学生作文 高考作文素材 心态 感激同学帮助的作文400字 工业污染的英文作文 感恩老师的200作文 高中科幻作文竞赛范文 高中英语作文课余生活 感恩母亲的小学生作文 感受自然的美作文 高中关于奋斗的作文 感人的好人好事作文 感恩父母的记叙作文 感恩主题的200字作文 感恩老师的200作文 高中关于奋斗的作文 高中科幻作文竞赛范文 感恩老师的200作文 感激同学帮助的作文400字 感恩老师心里话的作文400字 高中春的气息作文 高考作文素材 心态 感恩为主题的作文400 感激同学帮助的作文400字 高中春的气息作文 高三作文远离功利 感恩主题的200字作文 感受自然的美作文 感恩学校作文500字 高职英语作文万能模板 高考作文的读后感 工业污染的英文作文 感人的好人好事作文 感恩母亲的小学生作文 高考英语作文用什么笔 感恩学校作文500字 感恩主题的200字作文 感恩为主题的作文600 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 万界逆旅 系统爸爸我真的不想再死了 战圣世 不平凡的校园日记 搞化学的去修仙 亚星管理平台 亚星官网 万利官网 亚星管理平台 澳门葡京官网 感恩为主题的作文300 高职英语作文万能模板 感恩为主题的作文400 感恩为主题的作文300 工业污染的英文作文 感恩老师的200作文 工业污染的英文作文 感人的好人好事作文 感人至深的作文初三 感恩奉献的作文300字 高中英语作文课余生活 感恩老师心里话的作文400字 高中关于奋斗的作文 感恩母亲的作文好开头 感恩国家:300字作文 高中英语作文课余生活 感恩母亲作文的题记 感恩国家:300字作文 感恩奉献的作文300字 感恩老师的200作文 感恩主题的200字作文 感激同学帮助的作文400字 高考作文模板句 工业污染的英文作文 高考作文素材 心态 工业污染的英文作文 感恩母亲的作文好开头 高考英语作文用什么笔 感受自然的美作文 高中科幻作文竞赛范文