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"
2016.11.25天气武汉2017年10月天气查询2016天津11月天气预报蓟州区天气气象馆宣城家朋天气预报2016.11.25天气黑龙江海伦60天气预报2016天津11月天气预报山东淄博1月份历史天气海伦一周内天气情况海伦天气预报20天2016.11.25天气镇江市2月16日天气海伦天气预报20天2016天津11月天气预报海伦一周内天气情况黑龙江海伦市明天天气预报宣城家朋天气预报宣城家朋天气预报温州过往天气预报武汉2017年10月1日天气预报海伦天气天气预报黑龙江明水天气全年预测武汉天气预报2016年10月31密云11月北京天气团风县十五天天气情况蓟州区天气气象馆武汉十月天气114温州过往天气预报黑龙江海伦5月份天气情况当吴狄秉着爱国,诚信,敬业,友善的优良品质,混进金庸先生笔下的武侠世界当中,成为一名武当道士时 面对上辈子无数个夜晚在床上幻想过的武功秘籍,看见那一位位老爷子笔下倾城倾国的女猪脚们,吴狄表示 别无选择,唯有制霸江湖!苏陌,白慕雅两人因王者荣耀而相遇相识,会碰撞出怎么样的火花呢?让我们拭目以待吧。这个世界有儒,有道,有魔,有鬼,有佛…… 儒道分六脉,曰礼乐射御书数。 礼,学天地之礼法,参不朽之法则,一行定万古。 乐,听五音十二律,奏传世之妙音,一曲动星辰。 射,举长矢射天狼,杀冒犯天威者,一箭破寰宇。 御,修一口浩然气,御令天地鬼神,一语定乾坤。 书,写惊世之文墨,绘四海之丹青,一笔镇山河。 数,算天地之玄妙,衍众生之棋局,一子败苍穹。清末民初是个动荡不安的年代,同样也是英雄辈出的年代。李氏家族由无到有,由兴盛再到衰落,时间鉴证了这一切。他们不屈不挠,拼搏奋斗的精神,将永远激励我们不断前行。威武华夏!若天阻我,我就刺破这天, 若地拦我,我就踏碎这地! 大夏末年,朝廷积弱,河东太守孤独行以一人之力,挑起天下战端,就此天下八方群雄并起。 重生之人唐不穷,以刺客为生,介休县偶遇桃园五匪,结伴同行,不想一起加入讨贼东北军之中。 直袭帝都洛阳。 孤独行统帅二十万西北军力敌东北百万雄狮。 军中有人云:此人有万夫不当之勇! 一人笑之:呵呵…万夫不当,一试便知! ……陈二狗前半辈子是个傻子,现实生活中的树先生,直到有一天,他得到了阴司的传承,成为了桃源村的土地神,掌一方土地造化。 从此,在他的地盘里,天材地宝,全都躲不过他的眼睛。养鱼建厂,盖房修路,他带着大伙一起发家致富。 只不过,他做事不太讲道理,渐渐的被人称为刁民。而从前被人人嫌弃的大傻子,也慢慢成为了众多美女,争相取悦讨好的香饽饽。天道生万物,秘境生机缘……漫漫长生路,通往天道门,修行的最后是秘境的最终缔造者……躺平的保安林凡穿越进入到异世界,当场被纳兰家族的纳兰雪悔婚,看着这种场景,似乎是似曾相识。妈的,这不是三十年河东三十年河西的纳兰家族吗。看到这种场景,我林凡身为一介男儿,当然是要躺平了.. 纳兰雪看着眼前的这个男人,是那么的不务正业,邋里邋遢,整天就知道睡觉,但是为什么,这个人的武学会进步的那么神速,这还有没有天理了修仙界唯一大成者,渡劫飞升失败,被迫重生在一个已死的大学生叶尘身体上。 全新的世界,全新的生活。 学生,厨子,武术高手,护花使者,神医,武馆等 唉,这日子过的,真悠闲。
属于我的无尽冒险 重生之回到少年时 时间的尽头之遗落之境 地府修行记 谁也? 蛆先生的一生 神虚武帝 帝哥不要宠猴了 替身成神 屋后! 异梦怪谈 亡者恸夜 不完美重生之都市修仙 大梦轮回穿越 黑鸦之吻 苍隙界 魔法修真者 末法寄灵 凡生世界 寻麦 10月20日北京天气情况 海伦一周内天气情况 黑龙江海伦市明天天气预报 宣城家朋天气预报 10月20日北京天气情况 武汉31号天气 黑龙江海伦市天气预报一周 16年11月北京天气 团风县十五天天气情况 镇江市2月16日天气 黑龙江明水天气全年预测 黑龙江明水天气全年预测 武汉天气预报2016年10月31 海伦一周内天气情况 温州前半个月天气预报 密云11月北京天气 黑龙江鸡西6月天气 团风县十五天天气情况 武汉2017年10月天气查询 2016.11.25天气 海伦天气预报大风 2016天津11月天气预报 武汉2017年10月天气查询 海伦天气天气预报 16年11月北京天气 武汉天气预报2016年10月31 团风县十五天天气情况 武汉2017年10月天气查询 武汉2017年10月1日天气预报 团风县十五天天气情况 宣城家朋天气预报 海伦天气预报大风 蓟州区天气气象馆 2016.11.25天气 武汉天气预报2016年10月31 密云11月北京天气 北京10月25号天气 黑龙江海伦市天气预报一周 武汉天气预报2016年10月31 北京10月25号天气 密云11月北京天气 黑龙江海伦2345天气预报 温州过往天气预报 黑龙江鸡西6月天气 海伦天气预报20天 海伦天气预报大风 黑龙江明水天气全年预测 密云11月北京天气 温州6月天气2017年 黑龙江海伦60天气预报 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 荡涤魑魅除魍魉 末日下的神 沟通者 戮神空间 爽!时空淘宝让我成为人皇 万利官网 欧博官网 百家乐官网 葡京官网 欧博官网 温州前半个月天气预报 2016.11.25天气 宣城家朋天气预报 海伦天气预报20天 镇江市2月16日天气 团风县十五天天气情况 温州过往天气预报 黑龙江明水天气全年预测 武汉31号天气 黑龙江海伦市明天天气预报 2016.11.25天气 武汉2017年10月天气查询 海伦天气预报20天 海伦天气预报20天 北京10月25号天气 蓟州区天气气象馆 温州过往天气预报 2016.11.25天气 武汉天气预报2016年10月31 海伦天气天气预报 黑龙江海伦2345天气预报 10月20日北京天气情况 温州过往天气预报 海伦一周内天气情况 武汉31号天气 黑龙江海伦60天气预报 黑龙江海伦市明天天气预报 海伦天气天气预报 10月20日北京天气情况 10月20日北京天气情况