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"
扬州10月5号天气预报7月29号郑州天气预报扬州10月5号天气预报2016年7月河南天气情况2016年7月河南天气预报天气预报杨扬州新密昨天天气扬州市区天气预报7月11号郑州天气预报查询河南郑州7月6日天气北京七月天气预告扬州10月5号天气预报威海市的全年天气山亭熊耳山天气扬州市区天气预报河南郑州7月6日天气2017年7月惠州市天气枣庄市山亭区历史天气枣庄市山亭区历史天气株洲6月29日天气预报7月29号郑州天气情况枣庄市山亭区历史天气7月11号郑州天气预报查询温特图尔天气预报2016年7月河南天气预报巴盟5原7月天气2016年7月河南天气情况温特图尔天气预报株洲6月29日天气预报威海市的全年天气冷风如刀,以大地为砧板视众生为鱼肉;飞雪似剑,以苍穹为帷幔斩现实为红尘。 天下纷扰由剑起,世间忧愁识字出。 吾愿以己为祭品,换得世间永太平。 【新书发布,只为创造经典】籃陌的力作《向世界说你好》.生活本该就是美好的存在.为了生活我们奔波在大街小巷.加班熬夜拿薪水.每个人都觉得上天不公.为什么别人能光彩照人.而我们却默默无闻.原因只有一个.那就是我们的努力远远不够.看似风光无比的的成功人士.你永远不知道他洒下多少汗水来证明自己的选择没有错.心中的苦.永不言弃的精神才是我们应该学习的.每个人都有自己的梦想.也许我们为了生活曾放弃过自己的梦想.我们也曾迷失方向.感到彷徨.忘记了最初的梦想,生活教会了我们这么多.让我们每天一起学习.一起成长.我们应该知道感恩.他就像我们的亲人一样.陪伴我们走完此生!两炎黄子孙。 网吧猝死。 魂穿神狼。 身负系统。 一者升级系统。 一者万能系统。 原是铁哥们。 今成双父子。 一为帝。 一为帝他爹。 帝坑爹变强。 爹纳妃三千无敌。 二人相坑相杀。 面对强敌。 哪怕万级大佬。 莫慌。 有爹在。 都是阿猫阿狗。 本书有些无厘头,偏搞笑。 开车~ 你懂的。 还不懂? 给你个表情自己体会。 ヽ(爱′?‘爱)ノ 余清进入一个游戏,这个所谓的游戏牵连的现实却充满着魔幻色彩,甚至这个游戏里影响着整个世界的驱动,这个世界的意义到底是什么。究竟是人类被当做盘中棋子,还是只是上帝无聊的玩物......  不定时更新,状态好每日一更,不好两天一更,不舒服会不定期更新  一切发生于咒戒上的故事即将打开,未知秘密,尚未人知的事实,这是场寻找之旅,也是历练之战,能否够一次变换一切呢,全交付的人将承受所有伤痛步步前行天生至尊,为人族斩妖除魔!护人族万垂不朽!江宇泽前世遭兄弟的反水,亲朋的质疑,爱人的背叛,不幸陨落。烟消道散之时,竟发现在这大千世界之中,源灵大陆只不过是一粒尘埃。万年后得以重生,挖掘新的力量,开创新的规则,以源灵大陆为基础,向未知探索!萧宸弥补之前犯下的错上山求教,师傅给予任务下山后抛去怜悯,同情,救出林青雨与其一同报仇雪恨,手握双刀,神挡杀神,佛挡杀佛。一个失败的男人,事业失败,婚姻失败,妻子出轨,原本自暴自弃,但在好友的帮助下,一点点振作,但生命总有起伏,在生命的高低点他也迎来了属于自己的人生巅峰,收获了美满的爱情与婚姻。一本自我认知的火影世界同人文,无血统、无外挂的正经同人。获得签到系统的林无月,短短几年内,厨艺、格斗、投资、编程、画画…… 等无数技能都达到了人类满级,更是获得了无数财富和权利,但这时他才明白简简单单才是真,他隐退幕后,娶了青梅竹马,过着普通人的生活! 可随后,老婆被选中参加一档名为《了解另一半》的真人秀节目,林无月在不知情的情况下,被全球直播! “卧槽,这不是御厨宗师林大师吗?” “放屁,他明明是被誉为华佗在世的妙手神医林神医!” “扯淡,他是世界第一兵王,至尊修罗!”
空间无限法 最后一个苍狼典客 我的杀神之道 幽冥乱 哇噻,我成了非洲马赛人! 女总裁的护身高手 爸妈,我是你们亲生的吗? 这个傻子有点帅 宇宙开拓者 盅哥的强无敌 都市高手生存记 另一个我! 末世:我的避难所无限升级 村光乡野 做狗也做最狂的 国家电力 校园最强特工 三国辅佐刘备白手起家 玄天劫录 重生:初中生日记 7月8号河南省天气 合肥2017.07月天气预报 2017年7月惠州市天气 2016年7月河南天气预报 7月8号河南省天气 巴彦诺尔市天气 2017年合肥市7月份天气 河南郑州7月份天气 巴盟5原7月天气 威海市的全年天气 7月11号郑州天气预报查询 7月11号郑州天气预报 西安天气预报明天小时 合肥2017.07月天气预报 天气预报杨扬州 2016年7月河南天气预报 2017年合肥市7月份天气 巴盟5原7月天气 7月29号郑州天气情况 扬州10月5号天气预报 合肥2017.07月天气预报 扬州市区天气预报 7月29号郑州天气预报 山亭熊耳山天气 河南郑州7月6日天气 西安天气预报明天小时 巴盟5原7月天气 7月29号郑州天气预报 7月29号郑州天气情况 巴盟5原7月天气 2016年7月河南天气预报 合肥2017.07月天气预报 扬州天气数据下载 天气预报杨扬州 温特图尔天气预报 2016年7月河南天气预报 扬州天气数据下载 2017年7月惠州市天气 西安天气预报明天小时 扬州市区天气预报 2016年7月河南天气情况 天津23日天气预报 株洲天气预报穿衣指数 7月11号郑州天气预报 山亭熊耳山天气 合肥2017.07月天气预报 7月11号郑州天气预报 2016年7月河南天气情况 西安天气预报明天小时 新密昨天天气 亚星官网 亚星官网 亚星官网 亚星官网 亚星游戏官网 Thresher 拎着镐把欺负鬼 穿越2077 世末存生 寒城少主 万利游戏官网 欧博官网 皇冠登3出租 万利游戏官网 快连下载 7月29号郑州天气预报 巴彦诺尔市天气 扬州天气数据下载 温特图尔天气预报 7月8号河南省天气 株洲6月29日天气预报 新密昨天天气 合肥2017.07月天气预报 2017年7月惠州市天气 天气预报杨扬州 西安天气预报明天小时 扬州10月5号天气预报 合肥2017.07月天气预报 扬州天气数据下载 扬州10月5号天气预报 7月29号郑州天气预报 扬州市区天气预报 枣庄市山亭区历史天气 威海市的全年天气 枣庄市山亭区历史天气 扬州天气数据下载 北京七月天气预告 巴彦诺尔市天气 株洲6月29日天气预报 温特图尔天气预报 河南郑州7月份天气 山亭熊耳山天气 河南郑州7月份天气 7月1日天气预报青岛 7月29号郑州天气情况