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字仰望为话题的话题作文严厉教育的好处作文800学雷锋事例300字作文一次重逢 一次暖作文学音乐的困难作文600字五下苏教版第五单元作文400字眼睛的结构作文的结尾遥望星空作文小荷网阳光真温暖作文一次重逢 一次暖作文眼睛的结构作文的结尾我的家乡英语作文潍坊一次重逢 一次暖作文学校经典诵读作文400字阳光真温暖作文叶圣陶杯作文大赛湖南学校旅游的作文学校旅游的作文雅思作文6.5的水平一带一路为话题的作文学校旅游的作文遥望星空作文小荷网雅思作文 政府提供教育学校里的风景作文600字作文开头仰望为话题的话题作文学校里的风景作文600字作文开头雅思作文 政府提供教育雅思作文6.5的水平我的家乡英语作文潍坊 【短篇/轻科幻】地球生命的起源,源于40亿年前到来过太阳系的古老文明的希望。可不曾想到,碳基文明的死敌————古老而强大硅基帝国也在40亿年后发现了地球文明。经过观测,确定了人类体中含有死敌的基因。经过商议,凶残的硅基文明决定要将地球文明赶尽杀绝。 地球文明将要惨败于硅基文明之时,地球某个角落,远古文明为人类留下的“遗产”,正散发着耀眼白光…… 新人作者处女作,突然不更新正常,如有不足之处请指正这是百国之地,一个落后的武道文明。那一天,叶城遭逢大变,身上背负滔天仇恨。那之后,他走出了家族,去往外面的世界。那之后,一个逆天改命的人冲出了百国之地,走向了无尽浩瀚的星空,书写了属于他叶城的武道传奇……男主是一位高中生,可他并不平凡从小失去父母没有身份,喜欢探险的性格使他接触到了许多灵异事件,直到引来了一个保镖……公司老总魏之善意外身亡,死者妻子九菲,在市公安局刑侦科科长杨军等人的帮助下,展开一场对死亡之因的调查。其间不仅是正义与邪恶的较量,智慧与计谋的比拼……堂屋正中的灵牌贴上自己的照片,荒村后山的墓碑刻上自己的名字,卧室房灯挂上晃动的麻绳,自来水管里面塞上带着头皮的头发....   去住个凶宅,挖个坟,抱个纸人,撞个鬼,作为有一个上进心的恐怖片龙套,这不都是应该做的吗?少年流落异乡,只为寻得最开始的记忆。战场千钧一发,身边又有多少人陪伴。铁骑一出,看这江山无恙。天可崩,地可裂,王位也该换人坐。“我是给你脸了,还是怎样?老子都给你道歉了,你还想要老子跪下,你在想屁吃吗?”白楠瞬间就不乐意了,用全身最大的力气把手中握住的球朝火团砸去。 因为白楠刚才道歉的时候离火团很近,所以球砸过去的时候,火团来不及躲开,被这颗篮球正中脑壳,随后,那颗篮球以一个诡异的弧线反弹砸到白楠。 火团先倒下,白楠摇晃了一会也跟着倒下。 自此这颗篮球拿下了它球生的第一个双杀!?乔榆进入元宇宙里世界,获得了隐藏职业亡灵法师。 奈何开局智力精神都为0,还抽到了一个十分奇怪的天赋。 乔榆一怒之下,属性点全部加力量! 谁规定亡灵法师就不能和人肉搏的? 看着一拳打死世界之蛇耶梦加得的乔榆,里世界的玩家都疯了。 “大哥,求求你别跟人肉搏了!你是一位亡灵法师啊!求求你召唤个亡灵吧!” “这哪是亡灵法师,这踏马是六边形战士啊!” “子荆,我死后,不要将我埋在小孤山,那里太冷了,我不喜欢。” “陈子荆!你个孽障,竟做出如此大逆不道之事,你如何对得起列祖列宗!” “陈子荆,我们都是替你去死的,你的良心何安?!” 陈子荆失忆了五年,这五年来他一直都在追寻着梦里的那个地方,总觉得那里有很重要的东西在等着自己,有很重要的责任需要自己去负。 本以为自己只是芸芸众生里最不起眼的一个,可那一日,遇狼妖,诛邪出,陈子荆五年来的平静生活彻底的被打破……失落于时光长河里的源石,借助源帝轮回吞噬了他。 重生于溯源大陆的源尘,本以为自己可以走上源帝的道路,斩万族,踏鲜血,一步登天。 可是他在无数次选择中,走上了一条与源帝完全不同的路。 梦与现实,魇与真相,脚踏之地不再有无辜之血。 正与邪,谁为谁歌唱终局之歌。 凋零了死亡之花,磨平了岁月棱角,且看源尘如何追溯那终极之地——仙迹!
地囚:天降末日 缘梦尽 天外通天 恒古龙尊 龙神不休 生活随笔之一 少年风云志 穿越农家小子 假面骑士:骑士联盟 灵力复苏我无敌了 监狱系统是美女 惊异:恐怖来袭 末日降临:我带着全族奔小康 神逆之途 随记空想 生死狙击学院第二季 诸天之铁匠也疯狂 全球复苏:第二代人皇 心理医生的故事 逍遥怪道 雅思11大作文7分 学校经典诵读作文 耶鲁大学的猫 作文 一次重逢 一次暖作文 仰望为话题的话题作文 耶鲁大学 一只猫 作文 耶鲁大学的猫 作文 我的家乡英语作文潍坊 雅思作文 政府提供教育 我在写作文的英语 一带一路为话题的作文 一带一路为话题的作文 叙事作文的要点 学校经典诵读作文 学校经典诵读作文400字 一次重逢 一次暖作文 遥望星空作文小荷网 雅思11大作文7分 遥望星空的作文八百字 严厉教育的好处作文800 学校经典诵读作文 严厉教育的好处作文800 遥望星空的作文八百字 学校作文开头高中 眼睛作文的开头 叙事作文的要点 雅思11大作文7分 仰望为话题的话题作文 遥望星空的作文八百字 雅思作文 政府提供教育 一次重逢 一次暖作文 阳光真温暖作文 学雷锋事例300字作文 学校经典诵读作文400字 雅思作文6.5的水平 学校旅游的作文 学雷锋事例300字作文 耶鲁大学的猫 作文 雅思作文6.5的水平 学校里的风景作文600字作文开头 学校旅游的作文 我的家乡英语作文潍坊 学音乐的困难作文600字 遥望星空作文小荷网 幸福一家人作文200 阳光真温暖作文 一带一路为话题的作文 学校旅游的作文 叙事作文的要点 一件最有趣的事作文450字 亚星官网 亚星官网 亚星官网 亚星官网 亚星游戏官网 神话入侵:我在地球斩神明 死后皆是遗憾 我的妻子是大乘期大佬 我在都市中重生 让你代管特长班,怎么全成学霸了? 欧博官网 亚星游戏官网 亚星官网 欧博官网 亚星管理平台 叙事作文的要点 五下苏教版第五单元作文400字 五下苏教版第五单元作文400字 阳光真温暖作文 阳光真温暖作文 学校旅游的作文 一次重逢 一次暖作文 学校里的风景作文600字作文开头 我在写作文的英语 遥望星空作文小荷网 学音乐的困难作文600字 学雷锋事例300字作文 雅思11大作文7分 学校经典诵读作文400字 一个温暖的集体作文800字 一次重逢 一次暖作文 雅思作文6.5的水平 我在写作文的英语 我在写作文的英语 眼睛的结构作文的结尾 学校经典诵读作文400字 耶鲁大学 一只猫 作文 一次重逢 一次暖作文 严厉教育的好处作文800 我的家乡英语作文潍坊 阳光真温暖作文 叙事作文的要点 学雷锋事例300字作文 叶圣陶杯作文大赛湖南 眼睛的结构作文的结尾