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"
你的选择你的所得歌词小辞店黄梅戏歌词你的选择你的所得歌词中国建筑之歌歌词 曲谱歌词卓玛央金兰泽我牵着妈妈的歌词酒干倘卖无 歌词完整版你的选择你的所得歌词歌词倾听耳边的昵??歌词蒙圈啦push push歌词你的选择你的所得歌词thanatos歌词歌词今晚不上班是什么歌这些往事都随风飘走歌词歌词蒙圈啦周柏豪想太多的歌词小右的老友歌词小右的老友歌词信所信歌词歌词略略略小右的老友歌词歌词倾听耳边的昵??what a felling歌词歌词卓玛央金兰泽酒干倘卖无 歌词完整版歌词中有娉婷的歌周柏豪想太多的歌词歌词倾听耳边的昵??中国建筑之歌歌词 曲谱月寒人醉鬓成霜,红尘若梦几千年。漫漫仙路,当剑啸万里,何惧热血染青天!男主顺利步入大学,还沉浸在大学生活之中。可父母却在外的旅行中,一死一失踪,无意间,男主了解到父母的遭遇并不是意外,为了解开事情的真相男主走上了复仇之路……原始大陆乃是一个妖兽统治的世界,强大的凤凰和祖龙各自皆是一方守护强者。 少年十七本是神境强者之子却惨遭血脉剥夺,失去一切的他成为一名废人,直到她的出现将彻底改变他的一生。 昔日的位面第一宗门‘妖傀宗’圣主叶欢,因为争夺位面至宝八荒鼎,被诸多大帝围攻陨落,再入轮回与将门犬子夜欢灵魂融合。 废柴笑柄?我炼体术不坏不灭,谁与争雄? 家道衰落?我炼丹术冠绝位面,扶不起一个家族? 边疆失守?我打造的连弩刻有玄奥灵阵,可杀敌于千丈之外! 异族邪魔来袭,家园沦为炼狱?我炼制的妖傀无数,足以横扫八荒! 外面有一支神秘势力,就要统一大陆?无妨,那就是我一手扶持的顶级宗门! 圣域的一位老祖已经称皇称帝?莫怕,那不过是我当年随手炼制的一尊妖傀罢了!网安圈的菜鸡一枚,没事写点内容造福群友。还没想好【历史种田+江湖八门+富可敌国+复仇】 秦书铭穿越到燕赤国,成为八门祖师爷之子,江湖人尊他为少帅。 开篇背负血海深仇,少年和小妹相互扶持,亲情成为这冰冷的世界唯一的温度。 穿过刀林阵,喝过鸡头血;一拜天为父,二拜地为母,从此少帅入江湖。 这是一个充满骗局的世界,风水局,老千局,扎飞局,鲁班局,层出不穷。 上一世身为百亿富豪的秦书铭表示,不好意思,在下擅长局中局。 小妹问:哥,为什么那些坏人都在替你做事? 秦书铭:傻妹子,因为你哥我是坏人头子! 小妹问:那为什么皇子和军机大臣都对你弯腰? 秦书铭:因为哥有钱啊,富可敌国的那种。 小妹问:那为啥女土匪也对你弯腰? 秦书铭:你还小。灵异事件,着火了,别人却看不见。只能自己看见这是神魔意志与人类精神的碰撞,这是斗气与魔法充斥的世界,在牧师的祈祷与召唤师的吟唱中,天才少年龙行云带领渺小的人类,决战诸天神魔。他是骑士?他是魔法师?他是学霸?他是冒险者?他是英勇的领主?他是伟大的统帅?他是无敌的战神?不他是人类的英雄。一位青年,出身顶级豪门,却肩负重大任务,从小努力训练,练就一身本领。 短短的大学四年悄然逝去,他终于要开始建立自己的势力。 这是家族给予的任务,也是自己的理想。 从零开始,书写一段传奇,然而这条道路却是漫长而艰辛,想要建功立业,谈何容易? 庆幸的是,期间遇到愿与自己相伴终生的另一半 然而追妻路上也非一帆风顺,爱情与事业如何兼得,前面的道路又该如何选择……
重生:人在王朝,开局种田致富 重生之从高一开始 蜂殇 世侍弑尸史 符塔 我有一个锻造台 我学道的那些年 羽生晴也想过平淡生活 虚拟时空管理局 公子有大神通 新次元,改变世界的侦探 时空尽頭 蚀刻符印 西游:这条龙有点不一样 重生之咪咪再续前缘 玄?秘 喋血雨修罗 婢女之子的逆袭 定河山 近卫传奇 i'm veda的歌词 歌词的小孩 周柏豪想太多的歌词 歌词卓玛央金兰泽 i'm veda的歌词 歌词中有娉婷的歌 幸福路上 蔡依林 歌词 花生的歌词 春雷 - 吉祥歌词 我最亲爱的lrc歌词 歌词倾听耳边的昵?? 用双笙的歌里的歌词作说说 龙梅子的所有歌曲歌词 歌词的小孩 我牵着妈妈的歌词 歌词卓玛央金兰泽 幸福路上 蔡依林 歌词 春雷 - 吉祥歌词 beyond漆黑的空间歌词 你的选择你的所得歌词 歌词的小孩 这些往事都随风飘走歌词 小辞店黄梅戏歌词 歌词今晚不上班是什么歌 歌词蒙圈啦 龙梅子的所有歌曲歌词 春雷 - 吉祥歌词 小辞店黄梅戏歌词 beyond漆黑的空间歌词 春雷 - 吉祥歌词 歌词卓玛央金兰泽 歌词的小孩 买菜儿歌词 我牵着妈妈的歌词 what a felling歌词 歌词卓玛央金兰泽 买菜儿歌词 周柏豪想太多的歌词 龙梅子的所有歌曲歌词 这些往事都随风飘走歌词 中国建筑之歌歌词 曲谱 我最亲爱的lrc歌词 歌词方了大 幸福路上 蔡依林 歌词 歌词今晚不上班是什么歌 歌词的小孩 用双笙的歌里的歌词作说说 中国建筑之歌歌词 曲谱 龙梅子的所有歌曲歌词 酒干倘卖无 歌词完整版 亚星游戏官网 亚星官网 亚星官网 亚星官网 亚星官网 十年复仇 重生之时间回溯系统 英雄再临 人人觉醒,结果你变身? 一怒称帝 欧博游戏官网 百家乐官网 亚星管理平台 欧博游戏官网 亚星管理平台 歌词蒙圈啦 用双笙的歌里的歌词作说说 我最亲爱的lrc歌词 歌词蒙圈啦 i'm veda的歌词 花生的歌词 人生百味主题曲歌词 小辞店黄梅戏歌词 酒干倘卖无 歌词完整版 中国建筑之歌歌词 曲谱 幸福路上 蔡依林 歌词 中国建筑之歌歌词 曲谱 信所信歌词 歌词卓玛央金兰泽 歌词倾听耳边的昵?? push push歌词 歌词略略略 信所信歌词 小辞店黄梅戏歌词 歌词略略略 买菜儿歌词 beyond漆黑的空间歌词 春雷 - 吉祥歌词 这些往事都随风飘走歌词 歌词中有娉婷的歌 人生百味主题曲歌词 龙梅子的所有歌曲歌词 人生百味主题曲歌词 歌词的小孩 酒干倘卖无 歌词完整版