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年10月历史天气辽宁大连天气预报水温名山未来一周天气预报2015桂林十一月份天气2017年10月下旬阳朔天气三亚2017年10月历史天气蒙古的天气10月名山未来一周天气预报贵阳2015年9月天气平顶山昨天天气预报乌兰巴托实时15天天气三亚2017年10月历史天气安徽宏村11月的天气乌兰巴托实时15天天气名山未来一周天气预报平顶山昨天天气预报蒙古十月二天气预报湖南省益阳市资阳区天气湖南省益阳市资阳区天气奈良下周天气景宁杭州天气预报15天9月份贵阳的天气香港天气预报11月如东沿海适时天气2017年10月下旬阳朔天气大连市11月4日天气预报2015桂林十一月份天气十二月初桂林天气奈良下周天气安徽宏村11月的天气在升仙境渡劫的陈苍玄被惜日好友偷袭导致穿越到只修武的世界陈家弃子陈枫身上,且看修仙与修武体系的对抗,昔日的修仙大能怎么一步一步成为修武界的无上帝尊一次意外让我失去了所有,通过转变开始了新人生,却从此踏上一条江湖路,我是否能战胜一次次挑战,开启属于自己的巅峰。梦在现实中成真就不是梦,现实走到尽头都是黄粱一梦!这是一个从梦开始的故事!天玑星附体的农村小伙考上大学,从此开启了奇异的经历,爱恨情仇,一段奇异的修炼之路。古玩就是贩卖历史。 这话是我爸对我说的,那个时候我只有7岁,懵懵懂懂,完全不明白是什么意思。 直到后来,我才知道古玩贩卖的不只是历史…… 还有故事!重生回到1996的男主肩负拯救国足的重任,同时还要寻找自己的挚爱. 不到18岁就称为国足第一球星,接下来看男主如何征服欧罗巴,带队为国家荣誉征战世界杯赛场. 踢球的同时还建立了庞大的商业帝国,搞青训,执掌国足帅印,入主足协. 一路成长还要遇见各种随机的副本一样的事件,警匪?武侠?仙侠? 应有尽有! 一个肉体强大的生物,误入这个魔法的异世界,会掀起什么样的巨浪呢?期待的他的旅程吧灵械,是玄幻与科技的结晶。在玄幻世界,想要成为世界霸主,谁说只有修行这一条路?几乎没有修为的程智,接受了大帝的传承后,踏上了通往世界巅峰的漫漫灵械之道。 本书不会申请签约。灵修之道,不外乎,纳灵化旋,聚雾凝液,固晶结丹,筑台合道,九转涅槃;万古之劫即将再次袭来,天地能否逃脱这次灭世大劫,在乎巅峰也! 在精神病院所有病人中,唯独范同有些不太一样。    领导很快便注意到了这个正在专心致志做手工的患者。   “小伙子,你这是在做什么啊?”   “折纸人。”   “小伙子你为什么要撕这么多纸人?”   “老祖宗正在酆都平叛,我在为他筹备兵马。”傀儡挣不脱手的操控,风鸢扯不断线的束缚。但你是否甘心? ...... “执吾契约,为吾使徒!天地常在,子亦长存。愿否?” “终为始,始亦终。化身尘土,还灵天地!愿否?” ...... 苍老的声音在雾海中翻腾,沉默等待那意料之中的答案...... ...... 前科幻频道《星徒》作者,日更连载1076天无断更。 地图设定、3D人设、作者信息尽在公众号,搜索“游云之语”或者“cloud-whisper”
逆袭1990 洪荒:万界打手聊天群 带着仓库去三国 异世界神探 秦武风云起 诸天无限:宿主请打卡 全民征战:创世神在线陪聊 弱不禁风召唤师 末世之黑门降临 维度守护者 群英缪传 江承传 世道变了 荒野追捕令 死灵德鲁伊 武牧江湖 宗主真乃神人也 无敌林飞扬 逍遥怪道 山村小仙农 11月游大连天气预报 平顶山昨天天气预报 蒙古十月二天气预报 湖南省益阳市资阳区天气 11月游大连天气预报 江苏如东洋口天气预报 蒙古四王子府的天气 雅安喇叭口天气预报15天 大连市11月4日天气预报 安徽宏村11月的天气 香港天气预报11月 香港天气预报11月 如东沿海适时天气 平顶山昨天天气预报 阿里坎特下周天气 2017年10月下旬阳朔天气 南戈壁天气 大连市11月4日天气预报 辽宁大连天气预报水温 三亚2017年10月历史天气 杭州今日天气整点 名山未来一周天气预报 辽宁大连天气预报水温 9月份贵阳的天气 雅安喇叭口天气预报15天 如东沿海适时天气 大连市11月4日天气预报 辽宁大连天气预报水温 景宁杭州天气预报15天 大连市11月4日天气预报 湖南省益阳市资阳区天气 杭州今日天气整点 2015桂林十一月份天气 三亚2017年10月历史天气 如东沿海适时天气 2017年10月下旬阳朔天气 铜陵2017年10月天气预报 蒙古四王子府的天气 如东沿海适时天气 铜陵2017年10月天气预报 2017年10月下旬阳朔天气 雨城区实时天气预报 奈良下周天气 南戈壁天气 乌兰巴托实时15天天气 杭州今日天气整点 香港天气预报11月 2017年10月下旬阳朔天气 4月低大阪天气 蒙古的天气10月 亚星官网 亚星游戏官网 亚星游戏官网 亚星官网 亚星官网 都市奇缘之最强修仙者 追随我 重生王朝 星神战天记 为了部落 亚星管理平台 万利游戏官网 万利官网 亚星管理平台 澳门葡京官网 2017年10月下旬阳朔天气 乌兰巴托实时15天天气 蒙古十月二天气预报 杭州今日天气整点 湖南省益阳市资阳区天气 雅安喇叭口天气预报15天 4月低大阪天气 辽宁大连天气预报水温 奈良下周天气 安徽宏村11月的天气 平顶山昨天天气预报 吉林省清河未来天气 辽宁大连天气预报水温 蒙古十月二天气预报 吉林省清河未来天气 2017年10月下旬阳朔天气 蒙古的天气10月 南戈壁天气 十二月初桂林天气 香港天气预报11月 蒙古十月二天气预报 景宁杭州天气预报15天 乌兰巴托实时15天天气 平顶山昨天天气预报 杭州今日天气整点 11月游大连天气预报 贵阳2015年9月天气 大连市11月4日天气预报 名山未来一周天气预报 2015桂林十一月份天气