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长沙天气分析2016年贵州天气统计贵州10月上旬的天气预报湖南17年天气情况夏家营天气2017长沙天气分析汕尾市未来几小时的天气贵州10月上旬的天气预报山西原平崞阳天气预报南县24小时天气预报无为 天气后报贵州10月上旬的天气预报南县今天即时天气无为 天气后报吉首天气9月2017南县24小时天气预报9月21号天津天气明天华阴是什么天气夏家营天气宝坻黄庄天气预报湖南17年天气预报明天华阴是什么天气山西原平崞阳天气预报海南天气预报一月珠海金鼎10天天气预报嘎子村天气珠海金鼎10天天气预报贵阳10月底天气怎么样宝坻黄庄天气预报华阴24小时 天气月寒人醉鬓成霜,红尘若梦几千年。漫漫仙路,当剑啸万里,何惧热血染青天!世界末日,一场危机席卷全球,深渊、黑雾、高塔,是外星人降临地球,还是地底生物要重新统治世界,一切迷雾的源头尽在仙魔屠戮场。原始大陆乃是一个妖兽统治的世界,强大的凤凰和祖龙各自皆是一方守护强者。 少年十七本是神境强者之子却惨遭血脉剥夺,失去一切的他成为一名废人,直到她的出现将彻底改变他的一生。 昔日的位面第一宗门‘妖傀宗’圣主叶欢,因为争夺位面至宝八荒鼎,被诸多大帝围攻陨落,再入轮回与将门犬子夜欢灵魂融合。 废柴笑柄?我炼体术不坏不灭,谁与争雄? 家道衰落?我炼丹术冠绝位面,扶不起一个家族? 边疆失守?我打造的连弩刻有玄奥灵阵,可杀敌于千丈之外! 异族邪魔来袭,家园沦为炼狱?我炼制的妖傀无数,足以横扫八荒! 外面有一支神秘势力,就要统一大陆?无妨,那就是我一手扶持的顶级宗门! 圣域的一位老祖已经称皇称帝?莫怕,那不过是我当年随手炼制的一尊妖傀罢了!网安圈的菜鸡一枚,没事写点内容造福群友。还没想好仙豢众生如彘,这是一个圈养与被圈养的故事!随着万年前战神平定战乱之后,不知为何,苍源界灵气渐渐枯竭。 如今灵气渐渐开始复苏,潜藏在苍源界的危机渐渐浮出水面。 一个丢失记忆的青年离愁为找寻自己记忆踏上侠盟考核之路,同样被命运选中的伙伴。 是如同屠龙者变成新的恶龙还是怀持初心。 陈阿欢,一个真正意义上的全能型天才,他为什么会出现在一所三流高中,为什么会成为一个老师,为什么会走向世界最黑暗的一面,这一切的谜底都会慢慢展开。 感受为人师表最纯粹的快乐与悲伤吧。开元城第一天才周宇,纳元九重,突破之际,被人重伤垂死,根基重创,沦为废材,受尽侮辱的他,又该何去何从
功夫神医护花都市 致奋斗的青春 九劫真神齐飞鸿 指路之引 重生:神级御兽师 楚回的世界 我女友可牛了 喜旺的乡村故事 超元宇宙 月亮之城 张钢铁穿越记 穿越:秦朝 九星霸体诀 破晓圣尊 一念成佛,一念成魔 我家地里有龙袍 我们那时正青春 原始起点 诸神童话 人在娘胎:一脚踹飞重生女帝 白洋淀天气30天查询 华州区半个月天气预报 9月21号天津天气 夏家营天气 2016年贵州天气统计 贵阳10月底天气怎么样 9月21号天津天气 南县7天天气预报 嘎子村天气 南县今天即时天气 勐朗镇天气预报 勐朗镇天气预报 2017年春节宝鸡天气 华州区半个月天气预报 2017长沙天气分析 夏家营天气 今天汕尾天气和路面情况 白洋淀天气30天查询 今天华阴天气预报 贵州10月上旬的天气预报 华州区半个月天气预报 贵州10月上旬的天气预报 今天华阴天气预报 明天华阴是什么天气 南县24小时天气预报 2017年春节宝鸡天气 白洋淀天气30天查询 2016年贵州天气统计 今天华阴天气预报 嘎子村天气 夏家营天气 白洋淀未来30天天气 湖南17年天气情况 2017长沙天气分析 海南天气预报一月 珠海金鼎10天天气预报 湖南17年天气情况 9月21号天津天气 海南天气预报一月 吉首天气9月2017 珠海金鼎10天天气预报 南县7天天气预报 宝坻黄庄天气预报 今天汕尾天气和路面情况 无为 天气后报 白洋淀未来30天天气 勐朗镇天气预报 珠海金鼎10天天气预报 2017年春节宝鸡天气 汕尾天气预报今天晚上 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 觉醒之穴 仗剑啸苍穹 假面骑士:骑士联盟 我只想安全的浪 原神:开局和胡桃签订契约 澳门葡京游戏官网 AG真人 快连下载 澳门葡京游戏官网 欧博游戏官网 珠海金鼎10天天气预报 吉首天气9月2017 汕尾天气预报今天晚上 湖南17年天气情况 明天华阴是什么天气 汕尾市未来几小时的天气 无为 天气后报 海南天气预报一月 华州区半个月天气预报 海南天气预报一月 湖南17年天气预报 2017年春节宝鸡天气 南县7天天气预报 2017长沙天气分析 南县今天即时天气 湖南17年天气预报 汕尾市未来几小时的天气 南县今天即时天气 贵阳10月底天气怎么样 华阴24小时 天气 今天汕尾天气和路面情况 嘎子村天气 今天汕尾天气和路面情况 明天华阴是什么天气 山西原平崞阳天气预报 明天华阴是什么天气 贵州10月上旬的天气预报 无为 天气后报 2016年贵州天气统计 南县24小时天气预报