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"
浙江抚州天气预报北京4月份天气变化趋势内乡历史天气查询内乡十五天预报天气预报15天内乡天气预报60天查询浙江抚州天气预报三娘湾旅游景区天气内乡历史天气查询浙江湖州天气在线湖南新宁县?~山天气予报南阳内乡7月天气预报15天查询浙江抚州天气预报清远市冬天气候南阳内乡7月天气预报15天查询内乡历史天气查询湖南新宁县?~山天气予报2016年8月宜昌天气情况内乡县天气预报30日内乡县天气预报30日联播天气预报 19:i北京天气内乡县天气预报30日广东徐闻冬天气温邵阳景点天气预报内乡天气预报60天查询西藏墨脱天气预报一周内乡十五天预报天气预报15天邵阳近一个星期天气邵阳景点天气预报15天清远市冬天气候我是白清印,我死了,但这次的死亡颠覆了我的认知一洛之海,万丈之深,水是命源,洛海之根做为一名高三学生的苏慕白穿越来到修真界获得圣人传承,在人族危难之际他挺身而出。我,林月,一个平平无奇的剑士职业,原本就与勇者携手战胜魔王的我,正当想解甲归田准备开启我的新的悠闲养老生活时,结果在打败魔王后的下一秒,我被魔王指间的一道强光击中眉心...然后我就来到了异世界了。 所以,这到底是什么展开?我的的武器什么时候变色了?还是黑色... 可下一秒又是什么鬼啊?一剑劈开大山?魔能满格还是无限? 搞咩啊?我的田园生活呢?我的悠闲人生呢?【无系统】【传统玄幻】【权谋争霸】【屠神以正天道】 我从血月之夜杀出,本想安稳度日,并无登天之志。 但奈何, 圣皇说:你活着就是原罪!就地伏诛! 仙人说:你活着就是原罪!请君以死赎罪! 古神说:你活着就是原罪!灭世大劫,因你而起! 既如此,我李不器便只能持刀向前,灭圣皇、斩仙人、屠尽诸天古神,还这世间一个朗朗乾坤!开元城第一天才周宇,纳元九重,突破之际,被人重伤垂死,根基重创,沦为废材,受尽侮辱的他,又该何去何从重写特利迦奥特曼,如果你觉得特利迦的TV拉胯的话就来看一下吧。 九州大陆,万国争霸! 穿越大秦,成为公子赢昊! 开局发配凉州,遭遇匈奴劫杀,觉醒无双大帝系统! 签到千人战场,获得七星战将华雄效忠! 签到万人战场,获得八星上将赵云效忠! 签到十万战场,获得九星大将吕布效忠! 签到百万战场,获得十星神将项羽效忠! …… 且看公子赢昊,如何征战天下,成就无双大帝! 爱崩坑,爱扯闲篇。这是一个特种兵穿越到异界的老套故事,这是一个特种兵在异界争霸的老掉牙的故事,这也是一个特种兵在异界找寻自我的一个有点不一样的故事,这更是一群特种兵玩坏异界的热血故事,这还是一个异界特种兵养成的逗趣故事,而这一切都从一个拥有完美武躯、至尊血脉、无暇天赋和究极武魂的特种兵王魂穿异界的那一天开始……
玄令 虚拟超神者 平平的人生 穿越之我的系统不对劲 世界之战争 尘封游 剑寻兮 网游之剑灭诸神 来这世界走一遭 假如人生重来 天启临凡 不完美重生之都市修仙 非同寻常的治疗 警监刘澄 逆转穹天 六国:起始 神界重启 这群穿越者有点憨 古墓派签到十年,出关无敌 紫薇大帝龙辉 青海湟中每周天气平均气温 南阳内乡历史天气 2016年8月宜昌天气情况 内乡县天气预报30日 青海湟中每周天气平均气温 溧水乌山天气 2016年8月宜昌天气预报 ?~山风景区天气 西藏墨脱天气预报一周 清远市冬天气候 广东徐闻冬天气温 广东徐闻冬天气温 邵阳景点天气预报 湖南新宁县?~山天气予报 上海未来10天天气趋势 内乡天气预报60天查询 2016年8月宜昌天气预报 西藏墨脱天气预报一周 i北京天气 浙江抚州天气预报 南阳内乡历史天气 内乡历史天气查询 北京4月份天气变化趋势 南阳7月份天气走势 ?~山风景区天气 邵阳景点天气预报 西藏墨脱天气预报一周 北京4月份天气变化趋势 i北京天气 西藏墨脱天气预报一周 内乡县天气预报30日 南阳内乡历史天气 内乡十五天预报天气预报15天 浙江抚州天气预报 邵阳景点天气预报 内乡天气预报60天查询 内乡十五天预报天气预报 2016年8月宜昌天气预报 邵阳景点天气预报 内乡十五天预报天气预报 内乡天气预报60天查询 河北区天气预报 联播天气预报 19: 三娘湾天气预告 南阳7月份天气走势 南阳内乡历史天气 广东徐闻冬天气温 内乡十五天预报天气预报15天 邵阳景点天气预报15天 三娘湾旅游景区天气 亚星官网 亚星官网 亚星官网 亚星官网 亚星游戏官网 以凡入道决 妖孽小仙农 神兽召唤师 异界:我成神了? 乱世奇谈之烽火枭雄 快连下载 亚星管理平台 亚星游戏官网 快连下载 百家乐官网 上海未来10天天气趋势 南阳内乡7月天气预报15天查询 内乡历史天气查询 上海未来10天天气趋势 天津市河北区天气30 浙江抚州天气预报 内乡天气预报60天查询 河北区天气预报 内乡天气预报60天查询 西藏墨脱天气预报一周 南阳7月份天气走势 西藏墨脱天气预报一周 广东徐闻冬天气温 溧水乌山天气 湖南新宁县?~山天气予报 邵阳景点天气预报15天 湖南新宁县?~山天气予报 广东徐闻冬天气温 河北区天气预报 湖南新宁县?~山天气予报 西藏墨脱天气预报一周 河北区天气预报 三娘湾旅游景区天气 北京4月份天气变化趋势 三娘湾旅游景区天气 内乡天气预报60天查询 2016年8月宜昌天气预报 内乡十五天预报天气预报15天 联播天气预报 19: 内乡县天气预报30日