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"
石楼锦辉驾校怎样全椒力能驾校报名石排广仁驾校石排广仁驾校在哪里石排广仁驾校在那全椒希望驾校地址沭阳凯旋驾校校长电话石排广仁驾校山东驾校教练证石排好方向驾校怎么样石排好方向驾校好吗石楼锦辉驾校怎样寿光增驾A2的驾校石排好方向驾校地址石排广仁驾校石排好方向驾校怎么样水上公园附近的驾校石排好方向驾校石排好方向驾校全椒太平桥私人驾校全椒金盾驾校坑吗石排好方向驾校山东驾校教练证全椒哪里有私人驾校石排广仁驾校在那全椒力能驾校简介石排广仁驾校在哪里全椒哪个驾校能加班全椒私人驾校电话寿光增驾A2的驾校少年偶遇流浪上神,倾囊相助,获上神青睐,步入修仙之列。拜良师,交益友,结红颜,多方相助威名显。战强敌,斩悍匪,于战乱之中晋升,于战斗之中成长。率领百万雄师征战四方,建国立业,一统修仙界,位列修仙界之主。刻苦修炼,博采众长,终跻身上神之列。护修仙界和平,战神界绝世高手,平九界之乱,成就不世之功。历劫难,成功名,九劫真神威震九界。重生在了天道即将崩溃,鸿钧三清远走寻到,天地王母受援以进,现代科技飞速发展,对于修行却是半开放的世界,江屹煊被选为了复苏天道的棋子。 对于这些,江屹煊有话说:“我只想把仙丹当糖豆,把八九玄功当炼体术,让亲人无病无灾。用真火来炒菜,用灵泉当家庭饮用水,让石材释放出它最美味的口感。对于复苏天道什么的,谁爱作谁作,我没兴趣!”神明布下游戏,每个人都可以参与并拥有变身铠甲的能力,不同的召唤器散落世界,获得它的人会变得如何呢?叶峰穿越到特种兵世界,因为是关系户不受待见,被派去当垃圾新兵连队的连长! 仅用三个月时间,就将这垃圾连队打造成了堪比特种部队的特战连! 团长:让你随便练练这些新兵,特么你全给我练成特种兵了? 狼牙:到底谁才是特种部队啊? 范天雷:求求你带着你的兵全部加入我狼牙吧! 何晨光:这辈子我墙都不服,就服叶教官! 冷锋:我才不加入战狼,我要降级去叶峰的野战部队! 从铁拳团新兵连开始,叶峰打造一支又一支可怕的幽灵部队,名扬全军。 传奇,从此开始!军校毕业生穿越回平行时空,征战大陆朱凡、穿越成朱由校六弟朱由橏,戍边立功被诬陷,软禁惠王府。 朱由橏看到客氏送上的侍女,就是让自己醉卧美人膝。 朱由橏才确信权倾天下,改变摇摇欲坠的大明。 不能相信朱由校,或既将上位的朱由检。 朱由橏决定谋权上位! 振兴大明,不受外虏屈辱… 在这片神奇的大陆上,分为武师,圣武师,武灵,武尊,武宗,武王,武圣,武皇,武帝......每个人还可以和契约兽达成契约,以助其修炼,每个人都在向往成为武帝,墨晔也不例外......本人是新人作者,有什么写的不对的地方望各位读者多多包涵 “三个月限制”的魔咒,已经困扰我数年,曾经辜负了一名女生,也让我遭受了连续好几年的报应,直至遇到她,才让我打破了“三个月限制”的魔咒,以及报应的解除,不过,老天对我的惩罚依旧未被解除……以汉朝历史为背景,讲述一个平民小子,如何一步步成长为皇帝。 新人,新书,希望大家支持!
晨昼 傲娇:我契约一只半圣龙 战鹰战隼2 深渊山海 来,干杯 易道归源 山村往事 异世界旅人 醉卧三界 天道数亿层 叶罗丽:月季与玫瑰 我的仙皇大叔 禁忌收容所 苍源界 我是万书反派 诡循环:每天被邪祟杀一次 梦里的你再强大也是真的 修仙致富系统 爆笑Z班 平凡人的人生路 全椒力能驾校在哪 石排粤联驾校在那 沙湾番安驾校官网 石排好方向驾校地址 全椒力能驾校在哪 全椒哪里有私人驾校 山东驾校教练证 寿光增驾A2的驾校 全椒哪个驾校能加班 沭阳凯旋驾校校长电话 全椒金盾驾校坑吗 全椒驾校哪家好 全椒太平桥私人驾校 石排粤联驾校在那 石排广仁驾校 石排好方向驾校地址 山东驾校教练证 全椒哪个驾校能加班 全椒力能驾校地址 石排广仁驾校电话号码 石排粤联驾校在那 石排广仁驾校在哪里 全椒力能驾校简介 石排好方向驾校图 石排好方向驾校怎么样 全椒哪里有私人驾校 全椒力能驾校简介 全椒力能驾校报名 全椒金盾驾校坑吗 全椒力能驾校简介 石排广仁驾校在那 石排好方向驾校图 石排广仁驾校电话号码 石楼锦辉驾校怎样 全椒哪个驾校能加班 石排广仁驾校在那 石排广仁驾校电话号码 水上公园附近的驾校 全椒哪里有私人驾校 石排广仁驾校电话号码 石排广仁驾校在那 寿光哪个驾校可以报a2 全椒太平桥私人驾校 沙湾番安驾校官网 石排好方向驾校地址 石排好方向驾校图 沙湾番安驾校官网 石排广仁驾校在哪里 全椒私人驾校电话 沭阳凯旋驾校校长电话 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 壶内老婆已满 ,派蒙禁入! 梦如泡影 灰色居间者 寰宇明灭 大仲帝国末代风云录 百家乐官网 澳门葡京游戏官网 葡京官网 百家乐官网 万利游戏官网 沙头角驾校 全椒力能驾校报名 石排广仁驾校电话号码 石排好方向驾校图 全椒驾校哪家好 石排广仁驾校在那 全椒力能驾校在哪 石排粤联驾校在那 石排广仁驾校 沙湾番安驾校官网 沙湾番安驾校官网 石排广仁驾校在哪里 石排广仁驾校在那 石楼锦辉驾校怎样 石排好方向驾校怎么样 石排好方向驾校 水上公园附近的驾校 寿光增驾A2的驾校 全椒力能驾校简介 石排好方向驾校好吗 全椒驾校哪家好 全椒哪个驾校能加班 沙头角驾校 石排广仁驾校 全椒力能驾校地址 沙头角驾校 石排好方向驾校图 石排广仁驾校在哪里 石排广仁驾校在哪里 全椒希望驾校地址