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"
宝宝一天吐一次怎么回事宝宝胀气涂清凉油宝宝水痘长几天宝宝睡觉不停的翻滚宝宝睡着能拍嗝吗宝宝一天吐一次怎么回事宝宝怎么喝母乳宝宝水痘长几天宝宝遇太阳打喷嚏宝宝突然长了个痣宝宝手足口不吃饭怎么办宝宝水痘长几天宝宝在夏天断奶宝宝手足口不吃饭怎么办宝宝水痘两周宝宝突然长了个痣宝宝治疗拉肚子的药宝宝睡着一放就醒怎么回事宝宝睡着能拍嗝吗宝宝一个月会突然大哭怎么回事宝宝早晨起床眼睛都是眼屎怎么回事啊宝宝睡着一放就醒怎么回事宝宝遇太阳打喷嚏宝宝体检铅超标怎么办宝宝睡小床容易断夜奶宝宝四岁有耳屎宝宝睡小床容易断夜奶宝宝体检铅超标怎么办宝宝一个月会突然大哭怎么回事宝宝怎么才白白胖胖牛毛细雨皆星辰,亿万星辰不及你身为华夏最强特种兵的李净一回到家乡竟然发现自己五岁的女儿在住狗窝?一怒之下召集十万军队...... 咔!这他妈哪跟哪啊!我这是穿越文,妈的不是歪嘴文! 好吧,事实上是李净一在一次卧底行动中不慎被发现,身陷绝境之中极限带走敌方的几个核心人物(核心人物:妈的,丢死人。。。)有可能是因为李净一的精神感动上天,他并没有死,他穿越了。。。 在这个叫‘大羽’的王朝,在这个全新的世界里,李净一见到了各种各样的东西——法术,妖兽,巫蛊,仙佛以及人心。 人曰:礼义廉耻 人曰:肝胆相照 人曰:为国为民 人曰的,多了去了..... 王富贵一觉醒来发现自己穿越到一个破落户家里,一出门还白捡了个老婆,为了养活一大家子,王富贵不得不想方设法搞钱!设计时装、建造工厂,到后来居然连手机都有了……王富贵就这么成为大夏第一号大富豪,还顺便收个皇帝做小弟!道者,以道为基,以术为法,以掌天地之力;大能者,弹指可落日月星辰,一念可决万千生死。 求道之路漫漫无尽,自太古以来,无数天骄饮恨于修道之途。 天苍星域,一名白衣少年自天风城走出,踏上证道长生之路;与天地合其德,与日月合其明,与四时合其序,参悟天地之道。且看他入道境引天地之变、踏混沌成涅槃之体、御诸天参世界之妙;且看他一介凡人,一步步寻修道之路,证道长生;且看他横跨时空长河,横推诸天万古。 太古、远古、上古,无数纪元,随我探这天苍星域之秘,人族、魔族、妖族、仙族、机械族、地精族、兽人族,随我看这诸天之妙;饮一壶烈酒,来去我红尘悲苦,随我一起体味这世间百态。 忆往昔,青春岁月是那么不堪,我的青春,坏没坏彻底,读书书也没上好,平凡,懦弱,自卑,不甘。心比天高,命比纸薄。『我无敌,我征服!』 我重生在神魔战场,我掀翻天道轮回,我不惧神魔,他们都将踩在我的脚下! 我要斗天,我要斗地,我要让整个天地都要屈服在我的脚下,就算与世界为敌,我也要让世人知道 我 就是天道!顶级特工失忆,悄然回到故乡; 各国巨头首脑,一夜之间沸腾! “他是可以一人攻破一个国家最高防御的利刃!” “他是医仙王诩的唯一传人,他是医好我不治之症的人!” “他还是我女儿的意中人……” “给我找!不论付出任何代价,一定要找到他!”“你说,这个世界上,真的有魔鬼吗?” “当然,你不就是?” “杀人偿命,天经地义啊。”十四年前,陌生少年初次来到这片陌生的时空。十四年后,少年踏上修玄之路。父母离奇失踪,世界暗流涌动,北界风起云涌,且看南宫清如何乘风破万里浪,纵横玄天大陆!幻影荣耀游戏的诞生,吸引了很多玩家的热爱,在幻影里有位神秘高手玩家,他为了能达到属于自己游戏巅峰,重新回到幻影荣耀的战场,有着不服输的毅力和顶尖的团队成员,队员精心配合,在幻影荣耀的战场,王者归来,谁与争锋。
奔向生命终结 WHO ARE YOU 天武剑修 当集体穿越之后 佐传 网游:我有亿万只召唤兽 寒门小娇妻 网游之九转轮回 初练 异世界中的反派 神独在世 女侠何在? 玄幻:我家老祖超无敌 源之核 最后一个狱卒 吾为道一 人一辈子,哪有如果 画卷江山 斗气的九大世界 盗墓之长生劫 宝宝四个月不爱吃饭 宝宝头围标准怎么测量 宝宝治疗拉肚子的药 宝宝睡着能拍嗝吗 宝宝四个月不爱吃饭 宝宝痰会不会从鼻子出? 宝宝治疗拉肚子的药 宝宝腿被粥烫了咋办 宝宝四岁有耳屎 宝宝在夏天断奶 宝宝自己从床上爬下来 宝宝自己从床上爬下来 宝宝一个月多吃多少奶 宝宝头围标准怎么测量 宝宝一天吐一次怎么回事 宝宝睡着能拍嗝吗 宝宝撞到头会拉肚子吗 宝宝四个月不爱吃饭 宝宝怎样戒掉夜奶母乳 宝宝水痘长几天 宝宝头围标准怎么测量 宝宝水痘长几天 宝宝怎样戒掉夜奶母乳 宝宝睡着一放就醒怎么回事 宝宝突然长了个痣 宝宝一个月多吃多少奶 宝宝四个月不爱吃饭 宝宝胀气涂清凉油 宝宝怎样戒掉夜奶母乳 宝宝四岁有耳屎 宝宝睡着能拍嗝吗 宝宝头上有一股臭味 宝宝睡觉不停的翻滚 宝宝一天吐一次怎么回事 宝宝体检铅超标怎么办 宝宝睡小床容易断夜奶 宝宝睡觉不停的翻滚 宝宝治疗拉肚子的药 宝宝体检铅超标怎么办 宝宝水痘两周 宝宝睡小床容易断夜奶 宝宝腿被粥烫了咋办 宝宝一岁就长了16颗牙正常吗 宝宝撞到头会拉肚子吗 宝宝手足口不吃饭怎么办 宝宝头上有一股臭味 宝宝自己从床上爬下来 宝宝睡小床容易断夜奶 宝宝一个月多吃多少奶 宝宝正常的小阴唇粘连 亚星官网 亚星官网 亚星官网 亚星官网 亚星游戏官网 我,大契昏君,败光国运成天帝 凡人飞升诀 重生之娱乐教父 天道六界之光 我在梦里钓命运 AG真人 欧博官网 亚星游戏官网 AG真人 百家乐官网 宝宝自己从床上爬下来 宝宝一天吐一次怎么回事 宝宝头围标准怎么测量 宝宝在夏天断奶 宝宝腿被粥烫了咋办 宝宝睡觉不停的翻滚 宝宝怎样戒掉夜奶母乳 宝宝痰会不会从鼻子出? 宝宝睡小床容易断夜奶 宝宝睡着能拍嗝吗 宝宝睡小床容易断夜奶 宝宝撞到头会拉肚子吗 宝宝睡着能拍嗝吗 宝宝头上有一股臭味 宝宝头上有一股臭味 宝宝水痘长几天 宝宝一个月会突然大哭怎么回事 宝宝腿被粥烫了咋办 宝宝早晨起床眼睛都是眼屎怎么回事啊 宝宝胀气涂清凉油 宝宝怎样戒掉夜奶母乳 宝宝怎么才白白胖胖 宝宝水痘两周 宝宝睡着一放就醒怎么回事 宝宝怎么喝母乳 宝宝治疗拉肚子的药 宝宝怎么喝母乳 宝宝一个月多吃多少奶 宝宝正常的小阴唇粘连 宝宝自己从床上爬下来