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"
南陵30天天气武汉11月份的天气预报15天南陵4月份30天天气预报武汉十一月去年天气太原市十一月份天气南陵30天天气兰州市天气历史记录南陵4月份30天天气预报武汉10月22日天气预报湖北子归天气湘潭明后天天气预报南陵4月份30天天气预报南岳衡山上山顶天气湘潭明后天天气预报南陵4月份30天天气预报过去兰州天气情况兰州市榆中县和平镇天气天气预报查询一15天湘潭太原市十一月份天气l南陵县天气武汉10月份天气和气温天气预报查询一15天湘潭武汉10月22日天气预报16年武汉市11月份天气预报湖南气象网天气预报武汉12月天气最高气温湖南气象网天气预报重庆7月31天气l南陵县天气兰州2015年天气记录日月大陆,一个魔修地位底下的大陆, 穿越到此地的凌云已生活多年,结果每天系统只是发一些杀野鸡,野兔的任务。 “拜托,我都在这杀好几年了,我的金手指呢?我的无敌挂呢?坑爹呀” 发泄完的凌云当场被“万箭穿心”…… 且看凌云如何被所谓代表正义的正派一步步逼成魔尊。 (注:本文系统只起辅助功能)有这样一个世界,名为植人世界,为什么叫这么怪的名字呢?因为呀!这个世界上的人类,都拥有植物以及大自然的能力,故而因此得名植人世界,咱们的故事,也在这个世界里开始了……【莫轻烟我爱你用尽了最后一丝力气对着一个貌美的女子说道】 偏爱都市爽文的顾辰 正在美滋滋的看着小说 江辰:不是我说,这个反派也太傻了吧 亏我还跟他同一个名字 谁知道下一秒江辰被传送到了 这本书的boss 面对反派无脑挑屑 惨遭主角打脸的狗血桥段 顾辰应该怎么面对 顾辰一脸懵逼的躺在10米的豪华大床上 【滴!反派系统已绑定】 顾辰也是淡定了下来 系统在手 第一女主未婚妻 将军爷爷 商界大亨父亲 京都第一世家长子 这个身份! 江辰忽然感觉 当一个大反派也不错!宣统元年,国祚倾斜,军阀、土匪、财主、恶霸 同室操戈、在这些动荡混乱年代,导致百姓严重怀疑国家制度。 这不信任的背后,是一场场无情的山洪冲击百姓心中对安定生活的渴望,是一汪汪污水吞噬百姓生命脊髓的悲哀,最终对生存国度彻底失望。 为天地间求一席生存之地,一群贩夫走卒奋起反抗,终于寻得一个崭新的生活。 帮助美女上司摆脱陷害的黄非凡,成为公司派系斗争的棋子,被上司排挤到养殖场。 本就事业不顺,女友这时又跟着出轨,让黄非凡彻底跌入低谷,从事业到爱情遭受双重打击。 不过因为一次善举,让黄非凡彻底改变命运,开始时来运转,一路攀升。 最终从一个人人瞧不上的草根,成为众人逢迎巴结的大鳄! 且看职场小白黄非凡不寻常的崛起之路!彼时的少年已经站在了成长尽头,回首过去,一切崎岖早已繁花盛开。向俊重生成了条江中的蛟龙,偷听仙人讲道,系统进化了。 生活在危机四伏世界中的他,进化系统傍身。 通过吸收能量源,刻录法术,他修炼的同时在进化的道路上越走越远。 核能红莲龙,原子吐息,回路鳞片。 他是环绕世界之龙,龙中哥斯拉,修仙界的氪星龙。陆羽意外穿越到玄幻修仙世界,开启了最强说书人系统。 据说只要说书就会源源不断的得到各种奖励。 于是开局九龙拉棺震撼全场,陆羽就此成为了一名光荣的说书人。 “琴鼓响,铁戈鸣,寒光烁烁照星空,人族无大帝,九大圣体战苍穹!” “生为人杰,死亦鬼雄,我辈修士何惜一战!” “大圣此去何为?” “踏南天碎凌霄!” “若一去不回?” “便一去不回。” 陆羽手持一把摇扇将心中故事细细道来,满堂听众无不拍手称绝。 四圣宫圣主:“我看陆小友一表人才,不知道有没有兴趣来我四圣宫,做下一任圣主。” 大乾书院执掌先生:“陆小友乃是千年难得一遇的读书奇才,理应来我们书院,这任院长就是你。” 天庭之主:“我看你们谁敢抢陆先生.....” 修行界几大势力为了陆羽能去说书都已经抢疯了。 陆羽表示,你们打你们的,我只想安静的做个说书先生。剑未妥,江湖早,纵使不懂,也不默,少年啊,不归呀,吾辈皆是英雄! 鸟惊忽现白马,飘飘锦衣落梨花,少年呀,归来呀,千年谁复重生?一剑动京华!小说以多个单元故事呈现给读者,欢迎大家阅读。
星际混乱 鹿行野 末世:开局战地崛起 八符 别吵了,你们宗门的天骄都是我 繁华的守护者 武都伏妖录 屹天而行 精神病院日记 神怒1 梦幻世界之崛起 菩提道祖 人世间之正道之光 哲学家与冒险家 无限幻想的世界 九龙剑尊 我的双眼看见鬼 长安斩妖录 X仙道魔途 来自云梦山 武汉12月天气最高气温 过去兰州天气情况 兰州天气预报24小时降水概率 太原市十一月份天气 武汉11月份的天气预报15天 重庆7月31天气 兰州天气预报24小时降水概率 7月31号深圳天气 中央台7月31号天气预报 南岳衡山上山顶天气 武汉 9月26日 时段天气 武汉 9月26日 时段天气 16年武汉市11月份天气预报 过去兰州天气情况 南陵30天天气 湖南气象网天气预报 兰州新区历时天气 武汉12月天气最高气温 武汉11月25日天气 南陵4月份30天天气预报 过去兰州天气情况 南陵4月份30天天气预报 武汉11月25日天气 天气预报查询一15天湘潭 湖北子归天气 2345安徽南陵天气预报 武汉12月天气最高气温 武汉11月25日天气 武汉11月25日天气 中央台7月31号天气预报 太原市十一月份天气 过去兰州天气查询 武汉十一月去年天气 南陵30天天气 16年武汉市11月份天气预报 湖南气象网天气预报 武汉十一月去年天气 兰州天气预报24小时降水概率 16年武汉市11月份天气预报 南陵县3月份天气预报 湖南气象网天气预报 7月31号深圳天气 l南陵县天气 兰州新区历时天气 湘潭明后天天气预报 过去兰州天气查询 武汉 9月26日 时段天气 湖南气象网天气预报 2345安徽南陵天气预报 兰州市榆中县和平镇天气 亚星官网 亚星官网 亚星官网 亚星官网 亚星游戏官网 流浪修者 中天稗史 灵魂塔之天门 赢万难 陆地剑仙:剑阁守剑八十年 亚星管理平台 亚星官网 万利游戏官网 亚星管理平台 澳门葡京游戏官网 武汉 9月26日 时段天气 武汉12月天气最高气温 南陵县3月份天气预报 过去兰州天气查询 武汉10月份天气和气温 湖南气象网天气预报 重庆7月31天气 湖北子归天气 南陵4月份30天天气预报 兰州新区历时天气 兰州新区历时天气 湖南气象网天气预报 湖南气象网天气预报 南陵30天天气 过去兰州天气情况 天气预报查询一15天湘潭 兰州天气预报24小时降水概率 兰州2015年天气记录 中央台7月31号天气预报 湘潭明后天天气预报 武汉10月22日天气预报 16年武汉市11月份天气预报 兰州天气预报24小时降水概率 南陵4月份30天天气预报 武汉11月份的天气预报15天 兰州天气预报24小时降水概率 过去兰州天气查询 武汉十一月去年天气 湖南气象网天气预报 安徽南陵历史天气预报