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"
昆明北辰小区地址电话是多少钱大兴盛和轩烤鸭店电话定州站咨询电话济南潮汕牛肉火锅电话澳门打电话怎么开通什么条件昆明北辰小区地址电话是多少钱金华市 龙缘山庄 电话定州站咨询电话汤旺河政府办电话号码多少上海阳光商务旅行社有限公司电话海底捞海宁路店电话昆明北辰小区地址电话是多少钱东京自营店客服电话海底捞海宁路店电话定州站咨询电话上海阳光商务旅行社有限公司电话北洋汽车电话沈阳到贵阳飞机票时刻表查询电话沈阳到贵阳飞机票时刻表查询电话哈尔滨到西安查询电话欢唱H2电话沈阳到贵阳飞机票时刻表查询电话汤旺河政府办电话号码多少白沟到青岛大巴电话澳门打电话怎么开通什么条件西安高铁站售票电话是多少时间济南潮汕牛肉火锅电话新郑机场高铁站电话是多少湘鄂情订餐电话东京自营店客服电话天生至尊,为人族斩妖除魔!护人族万垂不朽!江宇泽前世遭兄弟的反水,亲朋的质疑,爱人的背叛,不幸陨落。烟消道散之时,竟发现在这大千世界之中,源灵大陆只不过是一粒尘埃。万年后得以重生,挖掘新的力量,开创新的规则,以源灵大陆为基础,向未知探索!黑暗将至,我们能否用身躯与臂膀撑起微弱的薪火。无数的英雄埋骨,厚重的历史雪藏,一颗颗星辰腐朽,幸存的我们又能否看到明日的黎明。科技为刀有两面, 毁灭、创生一念间。 恶人持刀则为恶, 善人持刀则为善。 科技笼罩下的欲望狂野生长。 黑暗来临,动荡将起! 在这个天色已晚天未亮的世界中, 必然有人提刀换天明! 而在黑暗笼罩下的林清也将会成为其中的一员……还没看完一页,叶牧就忍不住合上了少年时期的日记本。 “我这写的是什么中二日记啊?” “太羞耻了!” “会社死的吧?” 【叮!神级日记系统激活!】 【自动为宿主的日记购买全球热门推荐!】 【全球点赞过千万,解锁全新功能!】 【恭喜宿主百分百还原事件,奖励混元大罗圣斧!】 受到混元大罗圣斧影响,两个世界不再平行,出现大量未知干涉现象。 殷墟石壁惊现日记,轰动全球! …… 叶牧震惊了。 他写的中二日记竟成真的了!本作品的名字叫做小岛:螳螂效应。作为螳螂效应的名词解释本作品会一一阐述。一艘由中国港口通往南极的旅游游轮在太平洋上向南极洲缓缓驶去。船上有面临离婚舆论压力的女明星,还有精通地理学海洋气候的专家地理学教授,还有高智商表面上看似善良的心理学教授,还有因学业失败和前女友离开沮丧的小帅。四个人在邮轮中彼此相互了解。可是,天有不测风云。游轮由于风暴影响而不得不更改航线。然而一场海难让几个人紧紧的贴在了一起。小帅女明星地理学教授心理学教授四个幸存者前往了孤岛布韦岛。在那里每个人将展现内心最黑暗的一面,伴随着岛上一个一个人的死去,巨大的阴谋浮出水面……赵明获得为师传道系统,只需要成为别人的老师并且教授给他们知识就会获得奖励,只是这个知识有些奇怪? 叮~您来到丧尸末日的世界,人性的丑陋每时每刻都在这个世界当中上演,请传播舞蹈知识。 叮~争霸星域,逐鹿银河,您来到诸神的世界,请传播无神论主义的思想。 叮~您来到了邪神所掌握的世界,在您有限的生命中请传播爱与正义之道! 并且系统为了调动宿主积极性特意制定一个特殊的惩罚规则,如果宿主没有在规定时间内完成任务,包括并不限于宿主会丢失一部分男性特征,连续没完成多次任务将会被抹杀!国之将亡,必有乱世妖孽,国之将亡,必有济世真人......科技给人类带来了无限的希望,也带来了无限的恐惧,21世纪60年代一个科技争雄的时代,各方势力如春秋战国时的诸子百家,群雄开始了星际争霸。而此时却来了一位不速之客...石开穿越异世,却蹉跎一生。 行将就木之际,竟又重生一世!何为怪物?冥土之中,人形的怪物都是最低等的存在! 罗生三重门、千皇、白骨林、遗忘老人、黑王、白王......这一个个恐怖的怪物降临地球,究竟是冥土的蓄谋已久,还是迫不得已.....
救世法师 这个世界不正经 小飞侠李可可屠龙记 巅峰的惆怅 不死之身,等我 最后人类 魔神录之轮回劫 力道神尊 惊悚游戏:我的技术有亿点强 设计系统的策划脑袋有坑 无敌兵王 神魔在人间 茗刀 火影之开局获得侠岚卦印 血色演绎 肉蛋宇狗蛋 我的修真游戏 谁让我这么强呢? 青春期间的一些故事 黑客:无解入侵 武山皇家一号电话 深圳到河源k69路电话 伊川县万豪酒店电话 广州正誉公馆电话 武山皇家一号电话 泉州机票售票处电话号码 昆明北辰小区地址电话是多少钱 香港诺亚方舟服务电话 海底捞海宁路店电话 白沟到青岛大巴电话 西安长安附近酒店电话号码 西安长安附近酒店电话号码 大悦城屈臣氏电话 西安高铁站售票电话是多少时间 双辽市客运总站电话 汤旺河政府办电话号码多少 定州站咨询电话 海底捞海宁路店电话 澳门打电话怎么开通什么条件 金华市 龙缘山庄 电话 深圳到河源k69路电话 北洋汽车电话 沈阳到贵阳飞机票时刻表查询电话 欢唱H2电话 香港诺亚方舟服务电话 大悦城屈臣氏电话 海底捞海宁路店电话 沈阳到贵阳飞机票时刻表查询电话 澳门打电话怎么开通什么条件 海底捞海宁路店电话 广州正誉公馆电话 深圳到河源k69路电话 西宁小吃电话号码 金华市 龙缘山庄 电话 大悦城屈臣氏电话 汤旺河政府办电话号码多少 凯里黄平机场问询电话 昆明北辰小区地址电话是多少钱 白沟到青岛大巴电话 西安长安附近酒店电话号码 澳门打电话怎么开通什么条件 株洲华天旅行社电话 哈尔滨到西安查询电话 西宁小吃电话号码 武山皇家一号电话 泉州机票售票处电话号码 汤旺河政府办电话号码多少 济南潮汕牛肉火锅电话 湘鄂情订餐电话 金华市 龙缘山庄 电话 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 信仰:镜城 开局:陷入了绝境 玄幻之我的开挂人生 最强系统之我是主角 到另一个世界挨打? 万利游戏官网 欧博官网 皇冠登3出租 万利官网 快连下载 白沟到青岛大巴电话 香港诺亚方舟服务电话 海底捞海宁路店电话 新郑机场高铁站电话是多少 哈尔滨到西安查询电话 武山皇家一号电话 伊川县万豪酒店电话 汤旺河政府办电话号码多少 定州站咨询电话 汤旺河政府办电话号码多少 东京自营店客服电话 广州正誉公馆电话 济南潮汕牛肉火锅电话 深圳到河源k69路电话 澳门打电话怎么开通什么条件 东京自营店客服电话 武山皇家一号电话 澳门打电话怎么开通什么条件 汤旺河政府办电话号码多少 沈阳到贵阳飞机票时刻表查询电话 上海阳光商务旅行社有限公司电话 凯里黄平机场问询电话 上海阳光商务旅行社有限公司电话 武山皇家一号电话 株洲华天旅行社电话 哈尔滨到西安查询电话 西安高铁站售票电话是多少时间 伊川县万豪酒店电话 金华市 龙缘山庄 电话 大悦城屈臣氏电话