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"
华容到常德商务车电话是多少钱苏家屯妇幼保健院电话响水到北京电话是多少钱大理六十医院电话咨询关上何日君电话华容到常德商务车电话是多少钱原平火车站 电话响水到北京电话是多少钱隆昌7天连锁酒店电话保山刘家火塘牛肉电话天津神州租车座机电话号码华容到常德商务车电话是多少钱夹江千佛驾照电话天津神州租车座机电话号码响水到北京电话是多少钱保山刘家火塘牛肉电话延津县到新乡私车电话关上何日君电话关上何日君电话鹿泉公交查询电话利泰广场电话12306添加乘客联系电话隆昌7天连锁酒店电话大润发附近的烧烤电话西安市人才交流中心电话日本电话卡后流量卡怎么买大理六十医院电话咨询华夏良子铁院店电话鹿泉公交查询电话舟山西溪酒店电话意外穿越《火影》世界,却觉醒了《海贼》世界的兑换系统,不仅可以学习海贼世界的技能,还可以装备兑换的人物卡。你有最强防御,我有卡普铁拳,你有白眼我有见闻色霸气,卡卡西你有火遁,土遁……你是不是不把我老沙放在眼里,我这个海贼世界的五五开倒是要跟你这个世界的五五开碰碰。诸神之局,吾为棋,吾之局,众生为棋。 拥有神秘老者赠予的黑塔,拥有追寻武道之巅的决心,这一生必踏破天穹,手持天道,成为万千世界的至尊之神。 震惊!   九旬老邪祟被当街殴打,并被捏断脖子;河畔女尸被人揪住头发,按在水里差点淹死;冤死灵童被强制劳动每天二十三小时五十九分钟,最终不堪重负,主动报案称有人虐待童工……   吴甚:大家别听外面的人瞎说,其实世界上根本没有邪祟。   众人:我信你个鬼哦,你手里抓的是什么?   吴甚看了看手里已经在翻白眼的吊死鬼,连忙发力,“蓬”的一下将其捏死,看着化为黑雾消散的吊死鬼,笑道:“诺,你们看,什么都没有,一切都是幻觉。”主角一觉醒来,发现自己突然重生了。 不但如此,还拥有外挂以及一千万。 主角本以为仅仅只是普通的重生,谁知道这里不仅有三十而已,还有微微一笑很倾城,还有更多的人物去等待主角接触。。“豺狗的天降陨石竟然在地面砸出一个百米大洞?恐怖如斯。” 杨开召唤战斗暴龙兽使用盖亚能量炮直接在地面砸出一个一公里的深坑。 “大佬?你这是什么魂兽?” 面对众人的震惊,杨开默默转身。 面对着奔腾而来的兽潮,一个金色的大门缓缓在天空中打开 消失五年的李家公子强势归来!获得异界逆天传承!超神医术,修炼法术,无极之眼自带透视,玩转都市,无往不利!青国大元帅:两国交战不斩来使,除非来的是金小宝。 皇圣祖:只要金小宝愿意,我的公主随他挑。 一品太傅:岂有此理,金小宝你别落我手里。 瑶池圣女:金小宝给我滚出来,你躲得了初一,躲不过十五! 二表姐:金小宝,你别躲,我就跺你一根手指头。 月女将军:金小宝,我这三千手下,随时可以为你上刀山下火海。【全网最火爆的玄幻小说】 说起天赋,不算妖孽级,可武技秘技,皆可自学成才。论背景,任凭你有万千大军,但定不敌我。我是谁?天下众生视我为溟渊,却不知,我以溟渊成邪神。 小说讲述了家族遭受打击,将后辈传回了15年前的七界星系,被视为最有潜力的七位少年,为了证明自己,夺回家族荣誉,而从一个幽暗的世界 最强宗门内门弟子成长为这片星系顶天立地的人物。简介:本该人生平平无为的主角,从一个性格柔弱到脱变成刚毅的成长故事,后来主角从这跌宕起伏的生涯中成就无上荣耀。民间的灵异和恐怖故事
血战匈奴 修炼王国2 超能剑神黎明的死神 应是如此江山 谋主天下 我的超凡力 穿越诸天当boss 醉卧三界 凡人修仙风云 田畯野老 乱世中的乐音 侠宇宙 诡姐讲诡故事 光厘 七军战天 棺山盗墓贼 我家娘子怎么会是妖族女皇 李相如传奇 天道轮回间 闲情自传 日本电话卡后流量卡怎么买 保山刘家火塘牛肉电话 延津县到新乡私车电话 关上何日君电话 苏家屯妇幼保健院电话 华夏良子铁院店电话 成都机场办公室电话号码 北京到天津的动车时刻表查询电话 合肥俏江南电话号码 夹江千佛驾照电话 北海莱丽酒店前台电话 北海莱丽酒店前台电话 大润发附近的烧烤电话 保山刘家火塘牛肉电话 华容到常德商务车电话是多少钱 西安市人才交流中心电话 大连至天津高铁车时刻表查询电话 日本电话卡后流量卡怎么买 沈阳万鑫酒店前台电话 响水到北京电话是多少钱 武汉欢乐谷公司电话号码 响水到北京电话是多少钱 沈阳万鑫酒店前台电话 12306添加乘客联系电话 普陀岛号电话 北京 机场 天津 机场大巴时刻表查询电话 日本电话卡后流量卡怎么买 沈阳万鑫酒店前台电话 利泰广场电话 日本电话卡后流量卡怎么买 关上何日君电话 武汉欢乐谷公司电话号码 大理六十医院电话咨询 华容到常德商务车电话是多少钱 大润发附近的烧烤电话 西安市人才交流中心电话 大理六十医院电话咨询 成都机场办公室电话号码 大润发附近的烧烤电话 青岛崂山区妇幼保健院电话 西安市人才交流中心电话 北京到天津的动车时刻表查询电话 鹿泉公交查询电话 大连至天津高铁车时刻表查询电话 天津神州租车座机电话号码 武汉欢乐谷公司电话号码 北海莱丽酒店前台电话 西安市人才交流中心电话 北京 机场 天津 机场大巴时刻表查询电话 原平火车站 电话 亚星官网 亚星游戏官网 亚星游戏官网 亚星官网 亚星官网 末世之下,奉我为主 萧木之零神领域 打工的人 修仙归来,未婚妻已嫁人 妖玉传 AG真人 欧博官网 亚星游戏官网 AG真人 百家乐官网 舟山西溪酒店电话 太原王太饭店电话 太原王太饭店电话 延津县到新乡私车电话 成都机场办公室电话号码 北京到天津的动车时刻表查询电话 沈阳万鑫酒店前台电话 大连至天津高铁车时刻表查询电话 北京 机场 天津 机场大巴时刻表查询电话 青岛崂山区妇幼保健院电话 舟山西溪酒店电话 隆昌7天连锁酒店电话 响水到北京电话是多少钱 延津县到新乡私车电话 关上何日君电话 舟山西溪酒店电话 夹江千佛驾照电话 鹿泉公交查询电话 鹿泉公交查询电话 北海莱丽酒店前台电话 隆昌7天连锁酒店电话 原平火车站 电话 成都机场办公室电话号码 利泰广场电话 苏家屯妇幼保健院电话 北京 机场 天津 机场大巴时刻表查询电话 武汉欢乐谷公司电话号码 原平火车站 电话 西安市人才交流中心电话 普陀岛号电话