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"
2017情侣对视头像好看的孤独头像男生英雄联盟可爱头像提莫情侣头像侧面唯美图片大全高清唯美伤感头像2017情侣对视头像最好看的网红头像英雄联盟可爱头像提莫手绘漫画类卡通男生头像qq头像情侣现代火神秘面具男头像图片英雄联盟可爱头像提莫简单搞笑动漫情侣头像火神秘面具男头像图片头像女的背影骚一点的qq头像情侣现代搞笑头像爆炸头2017情侣头像一人一半高清唯美伤感头像卡通折耳猫头像皇冠头像在线2017情侣头像一人一半手绘漫画类卡通男生头像好看的欧美头像图片女生头像小清新两个人得头像图片女生最好看的黑白头像两个人得头像图片好看的欧美头像图片女生头像小清新卡通折耳猫头像个性欧美双人头像情侣头像一对张少锋被自己写的小说裹挟到异界,却因为能量不足被丢到了巨兽腹中跟食物混在一起,为了不被消化成翔,为了活下去,更为了找个老婆,他爆发与生俱来的最大潜力…… 地球少了谁,一样外转动,异界多了他,从此是非多!一位现代年轻人,刚刚考上国内有名的大学,却被告知换来绝症晚期。在临时的夜晚电闪雷鸣,穿越了,穿越到玄武大陆,玄武大陆是一个以实力唯尊的修仙世界。 昏暗的暗室,学者翻开了那本散发着陈旧与古老的历史之书,记录了那个时代的历史。 明亮的篝火,诗人传唱着早已流传千年的诗歌,讲述了那个黑暗的时代与最后的战争。 战乱的年代,混沌的尘世,恶神的时代,于无数鲜血与谎言中所诞生的时代,希望的虚假,绝望的真实,信仰与种族不再是团结的象征,而是利器、异端与战争的符号。 历史与诗歌记录着那场那个时代最后也是改变一切的战争,葬送了旧的时代与迎来新的时代,千年前的战场上,当光再次照耀在大地之上,众生狂喜、悲伤、释怀,一切都将结束。 战场的中心,两人相望着彼此,共同看向了远方。一直想说一个没有任何技能的普通人怎么在一个动荡的年代生活,没有金手指,没有逆天的系统,没有丰富的历史知识,更没有化工知识,对军事更是一个白痴,甚至对古诗词也之记得几首的一个真正普通人,他能否在那个年代生存下来?赵凡刚穿越成为蜀山少宗主,还没有来得及大展拳脚,享受众星拱月的待遇,却因为前身私闯禁地致使紫青双剑暴动误伤门人,被蜀山宗主打入锁妖塔不得翻身! 但幸运的是,赵凡刚被带到锁妖塔,就意外激活了签到系统,在系统的帮助之下,他如同开了外挂一般在锁妖塔内默默变强。 “叮,锁妖塔大门前签到成功,奖励先天剑体。” “叮,锁妖塔内签到成功,奖励培元丹。” “叮,锁妖塔妖坟古门签到成功,奖励极品飞剑。” …… 三千年后,赵凡盘坐虚空,仙道气息震动苍穹,终成一代陆地剑仙,问鼎修仙长生路! 乾坤八卦,阴阳五行,魑魅魍魉,死尸僵尸,一切尽在三界当中。清朝道光年间,旗县地头上发生了一件绑架案,涉及人员众多,从县令到知府,还听我娓娓道来一家人的命运因为一个孩子就此改变!异界大陆妖物 纵横,人类偏安一隅之地。天才少年获得 神秘传承,一路突飞猛进,扫八荒,战六合,迎战世间一切敌。 这是一个特种兵穿越到异界的老套故事,这是一个特种兵在异界争霸的老掉牙的故事,这也是一个特种兵在异界找寻自我的一个有点不一样的故事,这更是一群特种兵玩坏异界的热血故事,这还是一个异界特种兵养成的逗趣故事,而这一切都从一个拥有完美武躯、至尊血脉、无暇天赋和究极武魂的特种兵王魂穿异界的那一天开始……
小天地奇遇记 永别了,银河! 桃源小天师 被当成废人传送到异世界? 网游之开局获得神级传承 当我成为李信 归始入化 星际镖师 原来我真是世外高人 我真的只想躺平 拥剑何为 入世仙 娘子请自重,我读圣贤书的 BLEACH:陨落星空 通玄者 都市最强高富帅 黑日之下 尘间留不住 轮回系统之异界战神 逆苍玄 让人伤感头像 2M内卡通头像 搞笑头像爆炸头 高清唯美伤感头像 让人伤感头像 吸血鬼女孩绿色头发动漫头像 搞笑头像爆炸头 口口头像卡通可爱 女生最好看的黑白头像 简单搞笑动漫情侣头像 情侣头像、影子爱人 情侣头像、影子爱人 漫画女头情侣头像 2M内卡通头像 2017情侣对视头像 高清唯美伤感头像 带字霸气游戏头像图片大全 让人伤感头像 情侣头像女生青春 英雄联盟可爱头像提莫 2M内卡通头像 英雄联盟可爱头像提莫 情侣头像女生青春 2017情侣头像一人一半 qq头像情侣现代 漫画女头情侣头像 让人伤感头像 好看的孤独头像男生 情侣头像女生青春 女生最好看的黑白头像 高清唯美伤感头像 简单的老鼠头像图片大全集 情侣头像侧面唯美图片大全 2017情侣对视头像 好看的欧美头像图片女生头像小清新 两个人得头像图片 情侣头像侧面唯美图片大全 搞笑头像爆炸头 好看的欧美头像图片女生头像小清新 头像女的背影骚一点的 两个人得头像图片 口口头像卡通可爱 qq头像青春女生动漫图片 带字霸气游戏头像图片大全 火神秘面具男头像图片 简单的老鼠头像图片大全集 情侣头像、影子爱人 两个人得头像图片 漫画女头情侣头像 无头下半身蓝色短裤女头像 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 洪荒:开局化身妖族大帝 谍战星空博弈星空 白山黑水之天狼传奇 武灵至尊传 我的招式前摇过长 亚星游戏官网 万利游戏官网 万利官网 亚星游戏官网 澳门葡京官网 漫画女头情侣头像 火神秘面具男头像图片 2M内卡通头像 简单的老鼠头像图片大全集 2017情侣对视头像 手绘漫画类卡通男生头像 让人伤感头像 英雄联盟可爱头像提莫 情侣头像侧面唯美图片大全 英雄联盟可爱头像提莫 最好看的网红头像 头像女的背影骚一点的 高清唯美伤感头像 个性欧美双人头像情侣头像一对 卡通折耳猫头像 吸血鬼女孩绿色头发动漫头像 简单的老鼠头像图片大全集 带字霸气游戏头像图片大全 手绘漫画类卡通男生头像 情侣头像、影子爱人 qq头像情侣现代 qq头像青春女生动漫图片 情侣头像侧面唯美图片大全 手绘漫画类卡通男生头像 个性欧美双人头像情侣头像一对 口口头像卡通可爱 女生最好看的黑白头像 简单搞笑动漫情侣头像 无头下半身蓝色短裤女头像 让人伤感头像