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"
五年级六一作文500字五一旅游的作文800字五年级旅游作文500字五年级下册收获作文五年级作文人教版爱五年级六一作文500字五年级的作文要求五年级旅游作文500字五年级作文素材网小雁离开雁群作文五年级下册总结作文500字五年级旅游作文500字五年级作文第一次教案五年级下册总结作文500字五年级旅游作文500字小学英语作文中秋节五年级写的童话作文400字五年级下册收获作文题目五年级作文人教版爱五年级下册第八元作文希望杯作文素材五年级下册收获作文题目五年级作文素材网五年级观察动物日记400字作文五年级写春天作文600字五下第七单元作文 坚强五年级写春天作文600字五年级写景作文长城五年级下册第八元作文五年级尊严作文指导上辈子活的庸庸碌碌,既然上天又给了我一次机会,当然要活的不一样啊。毕竟上天安排的最大嘛!修仙难,一看天赋,二看机缘,三看身家。 王耀穿越而来,却成为一介天赋全无的边远村民。 且看王耀如何以妖入道,踏上仙徒,巧妙周旋,化险为夷。 凭借一腔热血,二世为人,成就三界功绩,四世威名!29岁的天岚,事业无成,刚刚朋友也和自己分手,独自一人走在熟悉的街道上,往事历历在目,也许终究是自己错了,但你们却也不该这样对我······ 如果能够回到过去,我想我一定······小镇上突然爆发了危机,镇民集体变成了见人就攻击的人,但唯独优依和她的小伙伴却没事,其中一人似乎对小镇上的事毫不知情,依然过着每天上学放学的日子。飘走了~为了世界而献出生命的英雄隐没在人海之中,故事便从此开始,一个失去了记忆的人从长眠中醒来,在这以上天为敌的混乱世界,他是否能找回真正的自己以及领悟所谓“来自世界的精神攻击”的真谛呢?那么,集中无限的精神之力,踏进这个世界的大门30个看似普通却命运非凡的高中生,被一个代号“规则者”的人拉进了四个风格各异、极端刁难的游戏中。他们不仅要在这些游戏中挣扎着活下去,而且还要留意身边的人——因为,规则者,就潜伏在他们30个人之中。 极端严寒与世隔绝的“生命款待”,互相算计自相残杀的“血色追逐令”,甚至还有崩塌世界的“末日丧尸游”……你猜,他们谁会活下来,谁又是规则者?!“南桸 你回头看 ”江泽大喊到 南桸微笑着转身看着她 江泽高举着手 “我等你回来”世间本为一片混沌,历经无数岁月后,浊者下沉为大地,承载万物。清者上浮显化为天道规则,掌控世间。 千万年来,无数人欲打破天道的束缚,成为那世间唯一。如今,谁处于风暴中心,谁是因大势所趋被操控命运的棋子,又有谁是应运而生的棋手。 我自人间来,欲与天问道。江夜得知十天之后,克苏鲁神明将要 降临人间,血洗一切。 眼看死亡不可避免!结局已经注定! 还好他提前得到【斩神模拟器】! 可以逆天改命! 只要通过模拟器不断斩神,就能获得模拟点,兑换各种金色传说天赋,死灵之书,尸食教典仪,阿撒托斯之书,至高母神莎布.尼古拉丝…… 十天时间,一晃而过,曾经弹指可灭的蝼蚁,已经成为全宇宙最强大的创造之神! 这时诸神降临,信心满满,却震惊的发现,这个看似脆弱的人类星球,竟然居住着一尊伟岸……
那些年的诡异事件 重回1992 骷髅领主的成长日记 火影里的上泉新叶 盗墓:开局相亲霍秀秀 超术人生 忧国 荒芜古墓 惊天大阴梦 信鸿战纪 活下去,活着 护魂殿 怨种太子江湖事 轩傲九天 恐龙之星 我的手指有异能 紫圣封神传 养成弟子后,我怎么无敌了 圣御苍穹 神灵末年 五下第七单元作文600字 五年级写春天作文600字 无锡中小学作文培训机构 五年级旅游作文500字 五下第七单元作文600字 希望杯作文素材 五年级作文第一次教案 五年级下册收获作文题目 五年级作文素材网 五年级下册第六次作文400字 五年级的作文要求 五年级尊严作文指导 五一旅游的作文800字 五年级作文人教版爱 五年级写景作文长城 五年级六一作文500字 五年级作文第一次教案 五年级作文素材网 五年级的观察日记300字作文 五年级观察动物日记400字作文 五年级写春天作文600字 五年级作文人教版下册 五年级作文什么的收获 五年级收获的作文 五年级作文人教版爱 五一旅游的作文800字 五年级作文素材网 五年级作文什么的收获 五年级的观察日记300字作文 五年级作文素材网 五年级六一作文500字 五年级写春天作文600字 五年级写的童话作文 五年级观察动物日记400字作文 武汉市北湖小学作文 五年级六一作文500字 五年级下册第八元作文 五年级作文第一次教案 五一旅游的作文800字 五年级下册第八元作文 五年级六一作文500字 五年级下册总结作文500字 我要改革作文题目 五年级尊严作文指导 五年级下册总结作文500字 五年级下册第六次作文400字 五下第七单元作文600字 五年级写春天作文600字 五年级作文人教版下册 五年级写的童话作文400字 亚星官网 亚星官网 亚星官网 亚星官网 亚星游戏官网 天成! 永别了,银河! 重生,我比系统还要强! 神镜:从出生开始签到 活着成魔 亚星管理平台 亚星官网 万利游戏官网 亚星管理平台 澳门葡京官网 五年级作文第一次教案 五年级观察动物日记400字作文 五年级尊严作文指导 五年级作文什么的收获 我要改革作文题目 五年级作文什么的收获 五年级的作文要求 五年级作文素材网 五年级下册收获作文题目 五年级旅游作文500字 五年级下册第六次作文400字 五一旅游的作文800字 五下第七单元作文600字 五一旅游的作文800字 五年级旅游作文500字 我要改革作文题目 五一旅游的作文800字 五年级的作文要求 我要改革作文题目 五年级作文人教版下册 五年级写春天作文600字 五年级作文人教版下册 五年级写景作文长城 五年级写的童话作文 五年级作文什么的收获 五年级作文素材网 五下第七单元作文600字 五年级收获的作文 五年级写的童话作文 五年级下册收获作文