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"
时评文作文指导手机现象英语作文什么是作文的结构书信英语作文模板结尾四年级百年追梦作文时评文作文指导四年级描写小狗作文400字作文400字作文400字作文400字什么是作文的结构四年级扫墓作文三百字书信英语作文模板中间什么承诺中考作文600字什么是作文的结构书香味最浓 初三作文什么承诺中考作文600字四六级英语作文话题书信英语作文模板中间四级作文模板 原因分析四年级描写小狗作文400字作文400字作文400字四年级百年追梦作文什么的七年级作文四年级作文踏青350四年级描写小狗作文400字作文400字作文400字四年级扫墓作文三百字四年的学校生活作文450字四六级英语作文题材四年的校园生活作文400字四六级英语作文题材四年级家乡日记400字作文什么的七年级作文顺其自然的美作文素材老婆出轨,兄弟反目,三十岁那年我遭遇了人生的滑铁卢! 金钱之下,每个人都面目狰狞,亲人的背叛,朋友的贪婪,无数只魔掌将我推进绝望的深渊,让我不得不挣扎地想要爬起,去触碰那一片属于我的骄阳! 《人到中年》,不一样的视觉盛筵!喜欢的读者记得打赏、推荐,多多支持,你的肯定,是我最大的动力! 父母之仇,断指之痛! 少年凌宇,手指在被斩断之后,逆天重生,而这一根手指,竟拥有着改天换地之能。一个平凡少年步入除魔降妖的道路,一步步踏上轩盏龙炎的驱灵人。写写人生经历,就当做小说,娱乐看看都可,希望我们都能走出自己的童年。一个从地球穿越到异界,为了活下去,只有不断变强。“当时太天真了,以为跟个大哥就有口饭吃,结果……”十三机众人擦擦泪,说:“现在肉都吃撑了,再吃就吃不下去了……大哥别打肉了,再打真吃不完了……什么?晚上还要做肉,老大求你了放我们出去打架吧!” “你们这算啥?”治安署的人一把鼻涕一把泪的说:“以为是两个破小孩拉起个组织要搞事儿,我们都准备好搞了加工资,你这谁想得到我们的治安还更好了……等一下,各位,我先不哭了,好像过了今天我们就是同一个老大了。” 这谁想得到?搞事情的组织还要当头。 这么说,工资的话…… “宣誓了,宣誓了。” 东南三区,并非长久安定;天下之稳,皆因大守门人。 “守门人 李思仁!” “守门人 张耀文!” “守门人 十三机机所有人。” “守门人 春秋战国集团。” …… “还有我还有我,这次我可赶上了。” “张家众人,李达夜和其徒张燚,参上!” 李戬穿越到了大虞王朝成了世子殿下,本想快活一生,却见皇帝昏庸,奸臣当道,一怒之下,诛奸佞!戮小人!挟天子以令诸侯!拳打蛮夷,脚踢倭寇!反手能镇八荒!覆手可定六合!普通大学毕业生,没人脉,没势力,通过自己的努力,成为国内工控行业的先行者。描述本人在一次机缘巧合的情况下穿越了自己的首创小说作品《仙剑跨世代》当中,亲身经历进行小说作品历程,在小说作品中本人担当着每一个角色的视角来找出作品中的软伤和硬伤的所有漏洞并想方设法更改的过程,从而达到回到自己所属世界的前提,可是就当本人经历千辛万苦迂回曲折的历程后准备回到自己所属世界的时候,令本人料想不到的情况却又再度发生……她在我的世界里死了无数次。我一次一次见证她的死亡。每一次都见到新的她,如同凤凰涅槃,浴火重生。 时间就像黑洞一样侵蚀着这个世界。我越是选择帮助她,自己的命运与她的命运互相交织,缠绕。 我和她一起揭开他死亡的原因。途中充满了未知的风险和威胁。 非自然死亡渐渐有了原因。最终在无数个实验推敲后的世界,有了一个彼此深信的答案。 我穿梭在数不尽的时空,灵魂被撕裂后,又被重组,宇宙的秘密没有尽头,阳光照不到的地方,潜藏了未曾了解过的世界。 又是谁在推动着我一步一步走向未知,踏入一片寂静,苍白之地…… 原来,是她杀了自己…… 女主:夏季 男主:邱文博
末日森林我的家 部落首领 御兽:开局觉醒九星天赋 灾噩时代 大唐第一熊孩子 逆灭时空 末世之开局觉醒超神天赋 武道宗师:模拟修炼系统 救赎黑暗 网游之VR竞技 轨迹12到22 灰原梦境 理想家园 传奇时空的我 灵境圣者 纠正之界 宁断之 武灵至尊传 E伊由路音曲文艺一 巨变的世界 四年级作文一个人400字 熟悉的人高中作文500字 四级作文模板 原因分析 四年级百年追梦作文 手机现象英语作文 四年级家乡日记400字作文 四级作文模板 原因分析 杀鸡不用拿牛刀作文 四年的校园生活作文400字 书香味最浓 初三作文 四年级描写小狗作文400字作文400字作文 四年级描写小狗作文400字作文400字作文 什么的除夕作文300字 熟悉的人高中作文500字 时评文作文指导 四年级百年追梦作文 四年级家乡日记400字作文400字 四年级作文一个人400字 四百字写人的作文大全 什么是作文的结构 熟悉的人高中作文500字 什么是作文的结构 四百字写人的作文大全 四年级描写小狗作文400字作文400字作文400字 书信英语作文模板中间 什么的除夕作文300字 四年级作文一个人400字 四百字写人的作文大全 四百字写人的作文大全 四年的校园生活作文400字 四年级百年追梦作文 受到鼓励的作文450字 书信英语作文模板结尾 时评文作文指导 四年的学校生活作文450字 四六级英语作文题材 书信英语作文模板结尾 四级作文模板 原因分析 四年的学校生活作文450字 四六级英语作文话题 四六级英语作文题材 杀鸡不用拿牛刀作文 什么的七年级作文 四年级家乡日记400字作文400字 什么承诺中考作文600字 受到鼓励的作文450字 四年级描写小狗作文400字作文400字作文 四六级英语作文题材 什么的除夕作文300字 苏教版语文五年级下册六单元作文ppt 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 重生之我的爷爷制霸音游圈 油灯记 入道苍生 穿越万界之开局只有打火机 玄幻:我能提取血脉之力 皇冠登3出租 亚星管理平台 澳门葡京游戏官网 皇冠登3出租 亚星游戏官网 什么是作文的结构 四年级家乡日记400字作文400字 四年级家乡日记400字作文400字 四六级英语作文题材 四六级英语作文题材 时评文作文指导 熟悉的人高中作文500字 四年级百年追梦作文 四级作文模板 原因分析 四百字写人的作文大全 什么是作文的结构 什么承诺中考作文600字 四年级扫墓作文三百字 书信英语作文模板结尾 四年的校园生活作文400字 手机现象英语作文 四百字写人的作文大全 什么承诺中考作文600字 什么承诺中考作文600字 四年的校园生活作文400字 四年的校园生活作文400字 四年级作文踏青350 四百字写人的作文大全 四年级家乡日记400字作文 什么的七年级作文 书信英语作文模板结尾 顺其自然的美作文素材 四年级扫墓作文三百字 熟悉的人高中作文500字 苏教版语文五年级下册六单元作文ppt