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"
信用卡的截止日期开通信用卡需要什么条件广发银行信用卡金交行信用卡用卡被警告办信用卡送电视信用卡的截止日期工行信用卡升级广发银行信用卡金信用卡多久不还会坐牢民生银行信用卡审核要多久兴业信用卡提额综合评分广发银行信用卡金澳门办理信用卡交行信用卡沃尔玛卡怎么取现招商信用卡能下多大额民生银行信用卡审核要多久申请10万信用卡交行信用卡积分买手机交行信用卡积分买手机贵阳快速办理信用卡信用卡日息0.05算贵吗交行信用卡积分买手机信用卡多久不还会坐牢信用卡代办公司靠谱吗办信用卡送电视信用卡投网上平台工商信用卡首刷有礼品吗信用卡代办公司靠谱吗贵阳快速办理信用卡澳门办理信用卡这是一个天才辈出的武林盛世,也是一个动荡离乱的战争年代;有立身剑道的痴武之徒,也有慷慨赴死的侠义之士;有血染沙场马革裹尸的热血将士,也有儿女情长义气深重的性情男儿……尔虞我诈的朝廷宫闱,人心险恶的江湖武林,这个时代从来不缺慷慨悲歌的侠客!黑暗时代来临,夏锋率领百万将士拒敌国门! “此生无悔入华夏!” 血与乱中,无数夏国人发出属于他们 的声音,前赴后继倒在国门外! 再次睁开眼,天地清明! 夏锋开启了全球造神的时代,蓝星数百亿人,同时降临在数据化的古神领域! 这是神明的试炼! 只要脱颖而出,就有机会成为新的神明! 然而,作为夏国战神的夏锋,意外来到了樱花国区域,开局获得满级幸运值! 自此,属于他们的噩梦开始了。 当黑暗灾变再次来临,神明与魔神重新降临世间,看着面前横压宙宇,人人如龙的大夏仙朝,皆是陷入了懵逼! 一道身影立于云端,眸中有星辰,掌中托日月,道音如天钟:神明?斩的就是神明!这一日,神魔俯首,只管磕头   少小离家,拜师学艺,重重考验,报效国家,成就一生!经历了一次又次超越生死的爱恋,发现两人竟然从小就相识!是命运的安排,还是机缘巧合?一个学渣阴阳先生的成长史,尽在《成阳灵异事件》。   作者在每章后面都有互动的环节,希望各位读者大大可以踊跃提问,作者会知无不言,言无不尽。苏陌,白慕雅两人因王者荣耀而相遇相识,会碰撞出怎么样的火花呢?让我们拭目以待吧。穿越玄幻世界的姜恒,觉醒潜能升级系统,可用潜能点无限升级修为和功法。 【铜像功】升级为【万劫不灭金身】 【疾风步】升级为【虚空大挪移】 【追光剑】升级为【灭天绝地斩神剑】 【碎岩拳】升级为【寰宇大绝灭】 修为:凡境升级为真神境 直到某天。 姜恒身躯一震,虚空破碎,法则紊乱! 一拳轰出,星辰陨落,漫天神魔尽皆湮灭! 本书又名:《开局揍哭小师妹,我升级了!》《越级刷怪升级真快》一位天才少年,因为一次特殊的案件,他的一翻话给了刑侦队长一个方向。他的每次分析总是雪中送炭。被囚禁在黑暗的囚笼里无数个日夜,却在机缘巧合之下签订契约成为了一名调查员,从此便开始了在古神的眼皮子底下偷东西,被腐败的教徒追着打,等等等等的作死之旅049收容失败,682收容失败,173收容失败 李三光成为scp基金会唯一活着的监督者,却发现基金会早以什么都没剩下了。 安全位面陷入混乱,基金会收容失效,旧神复苏在即,李三光苦恼大量能源何处而来,如何重新收容的时候…… “叮,位面聊天邀请您加入……” 本书又名:《scp收容之主》 林峰因为一场意外竟然落得丹田受损,差点身死人亡,但最后竟然获得无大机遇,随后一路顺风,走上至尊巅峰。穿越大唐,意外成为李靖的第三个儿子。 因刚穿越的他按照系统指示逃婚,两年后,对突厥用兵的李靖与李世民发现了他的踪迹......然后他们就懵了,这是什么?没见过吧土鳖,这叫华子,可好抽了,老李,你今有口福了,来吹瓶啤酒。
全球御兽:我能看见进化路线 我真的不是绝世高人啊 逍遥仙医人间道 特殊战士 洪荒:赠送九转金丹,返还百亿功德 游荡VR世纪 玄幻:我,天命大主角 我的身世太奇妙 盛世清平 普通修炼 权权之心 苗疆诡术之南王宝藏 灵魂潮汐 关于我转生成为熊猫这件事 玄武裂天 至尊镇万古 神仙学院:被迫和校花组队 星岸之下 俺宝玉在清朝当大官 原力觉醒,我在城市打怪物 要贷款如果信用卡刷多带不了吗? 兴业银行信用卡综合评分 申请10万信用卡 办信用卡送电视 要贷款如果信用卡刷多带不了吗? 哪个网贷基金用信用卡 1万元信用卡分期付款 网上申请广发信用卡要多久 信用卡投网上平台 什么是信用卡黑名单 信用卡多久不还会坐牢 欠小贷、信用卡 买车办理信用卡 兴业银行信用卡综合评分 信用卡的截止日期 办信用卡送电视 1万元信用卡分期付款 信用卡投网上平台 工行有房贷能办信用卡吗 广发银行信用卡金 兴业银行信用卡综合评分 招商信用卡能下多大额 开通信用卡需要什么条件 交行信用卡沃尔玛卡怎么取现 民生银行信用卡审核要多久 买车办理信用卡 信用卡投网上平台 开通信用卡需要什么条件 工行有房贷能办信用卡吗 信用卡投网上平台 办信用卡送电视 兴业银行信用卡综合评分 交行信用卡用卡被警告 信用卡的截止日期 信用卡代办公司靠谱吗 办信用卡送电视 交行信用卡用卡被警告 申请10万信用卡 买车办理信用卡 招商信用卡能下多大额 工商信用卡首刷有礼品吗 什么是信用卡黑名单 每个月信用卡房贷六千 1万元信用卡分期付款 交行信用卡沃尔玛卡怎么取现 兴业银行信用卡综合评分 欠小贷、信用卡 工商信用卡首刷有礼品吗 买车办理信用卡 工行信用卡升级 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 热血传奇之法码大陆 活脱优雅 我,大契昏君,败光国运成天帝 我的穿越鉴宝之旅 玄天圣剑 欧博官网 亚星官网 万利游戏官网 欧博官网 澳门葡京游戏官网 兴业信用卡提额综合评分 信用卡日息0.05算贵吗 工商信用卡首刷有礼品吗 哪个网贷基金用信用卡 民生银行信用卡审核要多久 广发银行信用卡金 1万元信用卡分期付款 1万元信用卡分期付款 工商信用卡首刷有礼品吗 工商信用卡首刷有礼品吗 信用卡的截止日期 兴业银行信用卡综合评分 交行信用卡积分买手机 申请10万信用卡 澳门办理信用卡 信用卡投网上平台 交行信用卡沃尔玛卡怎么取现 信用卡多久不还会坐牢 信用卡代办公司靠谱吗 申请10万信用卡 广发银行信用卡金 开通信用卡需要什么条件 申请10万信用卡 兴业信用卡提额综合评分 交行信用卡用卡被警告 工商信用卡首刷有礼品吗 每个月信用卡房贷六千 广发银行信用卡金 买车办理信用卡 交行信用卡沃尔玛卡怎么取现