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"
武汉健康宝宝评选活动宝宝风寒感冒好后又着凉了有带环怀孕生下宝宝的嘛11个月宝宝吐还便秘怎么回事宝宝高烧挂水医生开了激素武汉健康宝宝评选活动宝宝冬天用什么牌子沐浴露有带环怀孕生下宝宝的嘛宝宝戴银饰好吗十个月的宝宝晚上睡觉哭闹怎么办一岁半宝宝手掌老是红红的有带环怀孕生下宝宝的嘛国外妈妈拍自己宝宝出名一岁半宝宝手掌老是红红的有带环怀孕生下宝宝的嘛宝宝耳朵进水然后耳朵里发臭宝宝后脑有滑动肿块宝宝50天晚上哭闹厉害宝宝高烧挂水医生开了激素宝宝3个月右小腿不直外侧怎么办宝宝犯小肠火怎么办宝宝50天晚上哭闹厉害宝宝戴银饰好吗生宝宝之后多久来例假宝宝支原体感染能吃罗红霉素吗热水袋捂宝宝肚子要捂出汗吗宝宝支原体感染能吃罗红霉素吗半岁宝宝能吃豆腐脑吗宝宝3个月右小腿不直外侧怎么办贝因美找拍广告的宝宝吗?九天路上谁为尊,一遇神帝万法空。上古天域,诸神逆战,神帝陨落伴九天玄石重生,以逆天资质修无上法门,铸混沌金身,力破苍穹,为报挚爱背叛之仇,兄弟夺妻之恨,他逆转苍天,法度万古,诛魔神,斩天妖,血染修仙路。父亲早故,母亲再嫁,从小和外婆生活长大,高考落榜被外婆送到万仞山隐芳门学成隐世本领,旅途善行再遇高人传授谋生绝技。回到久别的故乡继承破败的家业,正式开启人生的征程人-----------穿越玄幻世界的姜恒,觉醒潜能升级系统,可用潜能点无限升级修为和功法。 【铜像功】升级为【万劫不灭金身】 【疾风步】升级为【虚空大挪移】 【追光剑】升级为【灭天绝地斩神剑】 【碎岩拳】升级为【寰宇大绝灭】 修为:凡境升级为真神境 直到某天。 姜恒身躯一震,虚空破碎,法则紊乱! 一拳轰出,星辰陨落,漫天神魔尽皆湮灭! 本书又名:《开局揍哭小师妹,我升级了!》《越级刷怪升级真快》东方曜穿越洪荒,投靠刚建立不久的天庭,成为一名扫地仙。 同时获得签到系统,只要在不同的地方打卡,就可以拿到系统奖励。 “叮!恭喜宿主遣云宫打卡成功!” “获得大道玉佩!” “叮!毗沙宫打卡成功,获得【八九玄功】。” “叮!五明宫打卡成功,获得圣龙仙丹!” “叮!兜率宫打卡成功,获得先天灵果一枚。” …… 就这样,东方曜在众仙无视中在天庭签到了几百年。 直到有一天,下界妖族举兵来袭,天庭无人能敌。 他们一路杀到了凌霄宝殿,遇到了正在扫地的东方曜……在禽与兽的探索中走向自己的人生巅峰 一代兵王,穿越到董卓进京前夕,阴差阳错成为其左膀右臂。 群雄并起,乱世争雄,他一步一步,走向权利顶峰。 与曹操,刘备,孙氏兄弟产生激烈的碰撞。 和吕布,关羽,赵云等盖世名将演绎精彩的争锋。 跟蔡琰,貂蝉,甄姬等绝世美人上演一幕幕刻骨铭心的爱情故事。【无毒+不圣母+不送女】 宁凡穿越仙侠世界,觉醒分身养成系统。 开局创建四大分身。 只要把分身培养成大佬,他就能获得奖励。 分身的实力越强,奖励就越丰厚。 于是... 太上宗:我宗道子先天道体,有大帝之姿。 宁凡:对不起,他是我的分身。 紫斗仙宗:我宗圣子摘草可斩尽日月星辰。 宁凡:对不起,他也是我分身。 合欢宗:我宗圣女总该不是你的分身了吧! 宁凡:对不起,她是… 罗刹魔宗:除了这句你还能说点其他的吗? 宁凡:其实你们宗主… … 异族女帝:人族的大佬都是同一个人?笑死朕了! 宁凡:你笑啥?你刚过门的相公,也是我的分身。 异族女帝:???狗贼,啥也别说了,拔刀吧!因为那个课狐狸爪子,改变我那糊涂的一生,也始我走上了不归路三尺青锋,斩妖除魔时代进步,科技发展,算命也要与时俱进。 为了赚钱,秦天开始了直播算命。 直播间榜一大哥傲然道:”我事业有成,工作顺利,现在就缺一个女朋友,你帮我算算吧。“ 秦天摇头道:“爱情的事情先放一边,我还是先帮你算算事业吧,我掐指一算,你必是黄袍加身啊!”
向死者书 都市:我被迫当上大反派 异界寄生兽 铁血之人的无限之旅 虚拟世界游戏之玩家降临 迷途与归路 修仙界回归的大佬 都是人间惹的祸 九万里大地 神豪:我呼吸就赚钱 亲,快来修仙吧 我靠出其不意横推里世界 非狼 裂隙现实 元世纪:暗尽天明 北冥剑 飞天英豪 蚂蚁的帝国 龙神附体 蜀国的冬天 热水袋捂宝宝肚子要捂出汗吗 宝宝耳朵进水然后耳朵里发臭 宝宝咳嗽拍背吐出一大口痰 宝宝高烧挂水医生开了激素 宝宝风寒感冒好后又着凉了 半岁宝宝能吃豆腐脑吗 宝宝咳嗽拍背吐出一大口痰 6个月宝宝一个月吃多少米粉 五十天宝宝可以吃桂圆核水吗 国外妈妈拍自己宝宝出名 今年阳历11月15日出生的宝宝名字 今年阳历11月15日出生的宝宝名字 生宝宝之后多久来例假 宝宝耳朵进水然后耳朵里发臭 武汉健康宝宝评选活动 宝宝支原体感染能吃罗红霉素吗 如何在家给宝宝拍写真 热水袋捂宝宝肚子要捂出汗吗 宝宝三周岁牙龈上长了疙瘩 有带环怀孕生下宝宝的嘛 宝宝耳朵进水然后耳朵里发臭 有带环怀孕生下宝宝的嘛 宝宝三周岁牙龈上长了疙瘩 宝宝50天晚上哭闹厉害 十个月的宝宝晚上睡觉哭闹怎么办 宝宝三个月了拉肚子怎么办 热水袋捂宝宝肚子要捂出汗吗 宝宝三周岁牙龈上长了疙瘩 宝宝三周岁牙龈上长了疙瘩 五十天宝宝可以吃桂圆核水吗 宝宝高烧挂水医生开了激素 宝宝能把青菜和菠菜一起吃 11个月宝宝吐还便秘怎么回事 武汉健康宝宝评选活动 生宝宝之后多久来例假 宝宝支原体感染能吃罗红霉素吗 11个月宝宝吐还便秘怎么回事 宝宝咳嗽拍背吐出一大口痰 生宝宝之后多久来例假 五个月宝宝突然不爱说话 宝宝支原体感染能吃罗红霉素吗 6个月宝宝一个月吃多少米粉 宝宝3个月右小腿不直外侧怎么办 如何在家给宝宝拍写真 一岁半宝宝手掌老是红红的 宝宝能把青菜和菠菜一起吃 今年阳历11月15日出生的宝宝名字 宝宝支原体感染能吃罗红霉素吗 宝宝三个月了拉肚子怎么办 宝宝后脑有滑动肿块 亚星官网 亚星官网 亚星官网 亚星官网 亚星游戏官网 婢女之子的逆袭 H05:最后的防线 此处明日 德者居上 从预备级除灵部队开始 澳门葡京官网 快连下载 欧博官网 澳门葡京官网 欧博官网 宝宝后脑有滑动肿块 宝宝3个月右小腿不直外侧怎么办 一岁半宝宝手掌老是红红的 宝宝耳朵进水然后耳朵里发臭 宝宝能把青菜和菠菜一起吃 武汉健康宝宝评选活动 宝宝戴银饰好吗 热水袋捂宝宝肚子要捂出汗吗 有带环怀孕生下宝宝的嘛 11个月宝宝吐还便秘怎么回事 有带环怀孕生下宝宝的嘛 宝宝冬天用什么牌子沐浴露 五个月宝宝突然不爱说话 宝宝高烧挂水医生开了激素 宝宝高烧挂水医生开了激素 宝宝3个月右小腿不直外侧怎么办 半岁宝宝能吃豆腐脑吗 宝宝能把青菜和菠菜一起吃 如何在家给宝宝拍写真 宝宝犯小肠火怎么办 今年阳历11月15日出生的宝宝名字 6个月宝宝一个月吃多少米粉 小宝宝扁平足 11个月宝宝吐还便秘怎么回事 6个月宝宝一个月吃多少米粉 贝因美找拍广告的宝宝吗? 6个月宝宝一个月吃多少米粉 半岁宝宝能吃豆腐脑吗 国外妈妈拍自己宝宝出名 宝宝咳嗽拍背吐出一大口痰