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"
贷款房管局抵押登记贷款还款利率贷款房屋房产证怎么办理房产证贷款房做抵押贷款贷款分厘利息怎么算的贷款房管局抵押登记贷款核准成功代表什么贷款房屋房产证怎么办理房产证贷款还款短信通知贷款公司组织架构图贷款50万两年还多少钱贷款房屋房产证怎么办理房产证贷款过的房子还能贷吗贷款50万两年还多少钱贷款房子房产证在哪里办理贷款公司组织架构图贷款核准是什么意思贷款分期怎么计算贷款分期怎么计算贷款房出售咋赚钱贷款还款方式及计算贷款分期怎么计算贷款还款短信通知贷款二手房能过户吗贷款分几种哪种比较好贷款二十万利息多少钱贷款分几种哪种比较好贷款二手房能过户吗贷款房出售咋赚钱贷款过的房子还能贷吗是意外吗?重生解开意外死亡之谜,一个叫欧阳宇墨的特种兵退役后惨遭陷害后重生初中以另一个视角(陶南)面对生活的世界的巨大变化我叫陆云生是个消防员,再一次任务中营救一个轻生的溺水女人,而导致不小心死亡,我却意外穿越到天阳大陆重生到同名的一个人身上,此生我不再为别人而活 而为自己而活!“以天地为盘,众生为子!”最终问鼎剑道之颠!符文本应该是自然的烙印,却成为掌控者专属的能力,且看尤白礼在这个异界大陆如何挣扎成长。传说在很久很久以前,宇宙还只是一个整体,后来混沌归为秩序,光暗分割而开,随后光明的部分逐渐向上,变成了人界,而黑暗的部分逐渐下沉,变成了魔界。在历经了数万年的沧海桑田之后,魔界之主终于一统魔界。可如此一来魔界之主却不再满足于只做魔界的王,他将膨胀的野心瞄向了人类…… “既然世界在诞生之初本是一个整体,那我何不将破碎的世界重新融为一体?”这一次,且看悍不畏死的冒险家们将如何力挽狂澜,从即将到来的灭顶之灾中拯救世界于水火……还没看完一页,叶牧就忍不住合上了少年时期的日记本。 “我这写的是什么中二日记啊?” “太羞耻了!” “会社死的吧?” 【叮!神级日记系统激活!】 【自动为宿主的日记购买全球热门推荐!】 【全球点赞过千万,解锁全新功能!】 【恭喜宿主百分百还原事件,奖励混元大罗圣斧!】 受到混元大罗圣斧影响,两个世界不再平行,出现大量未知干涉现象。 殷墟石壁惊现日记,轰动全球! …… 叶牧震惊了。 他写的中二日记竟成真的了!主人公为赚取零花钱而送外卖,不想接到了一个意外的订单,竟然要送去冥府。之后,他经历了一系列奇幻的事情。工欲善其事,必先利其器。 这一位面的大陆之初,便是存在着灵力之气和神兵之力两股力量。 灵力提高实力,神武提高战力。 修炼者将灵力修为分九转十二境: 感知境、淬体境、彻地境。 通天境、天王境、天灵境。 仙灵境、神灵境、圣灵境。 无界境、虚无境、乾坤境。 境界越高,越难突破。 稍有不慎,便是陨落。 则兵器共分为:地武、天武、灵武、仙武、神武五等。 其中可细分为;低级、中级、高级 则武学同样分为:地品、天品、灵品、神品 而其中也是由高到低分为:低级、中级、高级 他本来是世界顶尖杀手组织的王牌,精通枪械,医术,格斗,杀人术,却在一次任务中惨遭暗害,死后重生到了民国时期,又能在民国之中摩擦出什么火花呢?梦中他是世间最古老的生命,长生不死神威盖世!梦醒他是世间普通一员。当有一天神话复苏,他赫然发现自己的梦竟是曾经的历史。而似乎神话时代的终结就是由他一手操纵,当神话再一次降临他又会走向何方!是再一次终结神话时代开创前途未卜的科技大道,还是融入神话成为那至高无上的不死至尊! 我是人!是盖亚!是生物!不是神!!!
问罪者 神武古帝 天厄秘笈 开拓者之旅 让你当昏君,你统一世界? 伏妖:乱世之争 无界永生 霜冻烛炉 逍遥村医 一代潜龙 探花律师 进击的野鸽 天横变 血宴苍穹 吃货入侵原始世界 反派:记忆曝光,女主跪求我原谅 灵祎事件 神明的到来 我们走过的十年 异界圣堂 贷款还款如何计算公式 贷款32万10年月供多少钱 贷款核准是什么意思 贷款分厘利息怎么算的 贷款还款如何计算公式 贷款二十万月供多少 贷款核准是什么意思 贷款购车需要银行流水 贷款二十万利息多少钱 贷款观念不正确的是 贷款还款1千 工资证明 贷款还款1千 工资证明 贷款罚息和滞纳金 贷款32万10年月供多少钱 贷款房管局抵押登记 贷款分厘利息怎么算的 贷款还大额一个月 贷款二十万利息多少钱 贷款还款卡能销户吗 贷款房屋房产证怎么办理房产证 贷款32万10年月供多少钱 贷款房子房产证在哪里办理 贷款还款卡能销户吗 贷款50万两年还多少钱 贷款公司组织架构图 贷款罚息和滞纳金 贷款二十万利息多少钱 贷款还款利率 贷款还款卡能销户吗 贷款二十万利息多少钱 贷款分厘利息怎么算的 贷款30万一般几年还清 贷款房做抵押贷款 贷款房管局抵押登记 贷款二手房能过户吗 贷款分厘利息怎么算的 贷款房做抵押贷款 贷款核准是什么意思 贷款罚息和滞纳金 贷款房子房产证在哪里办理 贷款分几种哪种比较好 贷款观念不正确的是 贷款房的利息是多少钱 贷款还大额一个月 贷款50万两年还多少钱 贷款30万一般几年还清 贷款还款1千 工资证明 贷款分几种哪种比较好 贷款罚息和滞纳金 贷款核准成功代表什么 亚星官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 星之复苏 末日游戏:我能解析万物 女装大佬的我混的风生水起 从秀才到高僧 十年复仇 欧博游戏官网 百家乐官网 亚星管理平台 欧博游戏官网 亚星管理平台 贷款还款1千 工资证明 贷款还款卡能销户吗 贷款房的利息是多少钱 贷款还款利率 贷款还款短信通知 贷款二十万利息多少钱 贷款购车需要银行流水 贷款分厘利息怎么算的 贷款观念不正确的是 贷款二手房能过户吗 贷款还款如何计算公式 贷款罚息和滞纳金 贷款分厘利息怎么算的 贷款房的利息是多少钱 贷款罚息和滞纳金 贷款还款短信通知 贷款房出售咋赚钱 贷款房子房产证在哪里办理 贷款32万10年月供多少钱 贷款房子房产证在哪里办理 贷款房的利息是多少钱 贷款分几种哪种比较好 贷款还款卡能销户吗 贷款二十万利息多少钱 贷款还款利率 贷款50万两年还多少钱 贷款房做抵押贷款 贷款50万两年还多少钱 贷款核准是什么意思 贷款还大额一个月