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"
昆明到济南汽车时刻表查询电话嘉兴南湖夜游电话焦作到运城大巴电话是多少时间大连汤景泽日式温泉酒店电话沈阳站到常州火车票查询电话昆明到济南汽车时刻表查询电话沈阳到昌图虎跃电话焦作到运城大巴电话是多少时间凤城高铁站问事处电话好又来酸辣粉电话乐松广场服务电话焦作到运城大巴电话是多少时间河景花园 物业电话鲅鱼圈导游联系电话阜阳市荷塘月色电话好又来酸辣粉电话桂城机场快线电话龙溪至天河客运站售票员电话号码龙溪至天河客运站售票员电话号码遵义新舟供电所电话福清店电话龙溪至天河客运站售票员电话号码凤城高铁站问事处电话临汾祥和洗浴中心电话沈阳站到常州火车票查询电话安徽阜阳汽车站查询电话泉州师院随缘民宿电话临汾祥和洗浴中心电话遵义新舟供电所电话河景花园 物业电话抛妻弃子,间接害死了全家,李文军在懊悔中孤独生活了四十年后重生回到1980年。 这一世,他要做实业振国兴邦,带领各行业把技术提前二十年; 这一世,他要弥补所有过错,让家人温饱不愁,平安喜乐。 做出第一部对讲机,拥有了自己矿山,带领开发房地产,钞票哗哗流进来。 赚钱,对他来说才是最容易的事情。 我是一个男神,超级无敌! 我正在上大学,因为天生的神神基因,加上后天的锻炼,浑身上下,便拥有万般的神力。 一个人的力量,可以对付无数的平常之人。 加上,我长相柔美,貌似美丽的女孩子一般。 许多女孩子甫一见到我,就会深深地爱上我。 无论我走到那里,都会遇到情痴痴的女孩子。 女孩子们疯一般,痴痴地纠缠住我,骚扰我,令我烦不胜烦。 我是男神,超级无敌,却无法摆脱女孩子们热烈的纠缠。 哎!男神魅力,超级无敌呀!人,生如夏花,死归浮尘,当深渊降临,我凝望深渊,只为长生!这是一个强者为尊,弱肉强食的世界。 天生丹田堵塞,无法修炼的少年,终究凭借自己的毅力踏上武道巅峰。热血少年,登天路,踏歌行,闯入一个浩大无穷的仙侠世界,是一粒沙低如尘埃,还是蝴蝶起舞卷红尘?修仙觅长生,红尘伴梦,热血逍遥,一剑荡平万千神魔------穿越成为镇南王府的世子,本来想安安心心当一个纨绔,上街打算强抢民女,却没想到一个不小心竟然抢走了微服出宫的当朝公主!更没想到的是,皇帝不但没有怪罪,反而将公主赐婚给他!不是吧,我真的不想当驸马爷! 传说上古纪元,生存着诸多种族,种族之间战争不断,其中最为悲惨的种族当属人族。 夹缝里生存的人族因三个人出现了转机,后世分别称他们为:道祖、仙祖,佛祖。 他们带领人族走向了无法企及的高度,然而随之而来的却是传言中的大破灭时代。 详细情况已无从考究,唯有流传下一句:祸起轮回间,因有长生路。 而所有的始末皆被道祖封禁于爆发大破灭的世界,道界称之为遗弃之地。 “这是只是一介凡人写下的故事。”说书人讲完最后一段,和满堂听众说着故事最后一句话。 “我觉得不是。”书堂最后的一排座位上,一名负剑少年反驳着。大秦九皇子出生之时,乌云蔽日,所见之人通通暴毙,最终无奈终日不得见人 直到这一天觉醒暗影系统,他第一次来到外面的世界 贪婪的呼吸着空气,享受着阳光的沐浴 第一次出动便平定匈奴! 嬴政:吾儿有大帝之资 盖聂:这次开局终于不杀我了 红焱:都依公子的 讲述自鸦片战争至抗美援朝的一些事情。
鬼镜游戏 三冠王:开局和C罗搭档 魔器世界的最大恶党 很想给你一生幸福 慧空的梦 天骄变 逍遥小少爷 江承传 生命赞歌:永无止尽 龙野传 寂静噤声 江天成名录 我在修真世界当黑道 五都雄 亡命遗书 重塑快乐时代 最狂兵王混都市 签约被拒100次,硬刚到底 天下奇功 诸天道种 沈阳满族火锅电话号码 包头自助烧烤电话号码 桂城机场快线电话 沈阳站到常州火车票查询电话 沈阳满族火锅电话号码 保定 马胖子 电话号码 桂城机场快线电话 太行大峡谷导游电话 安徽阜阳汽车站查询电话 来舟火车站电话 凤城高铁站问事处电话 巨野如家快捷酒店电话 电话卡国际漫游免费 包头自助烧烤电话号码 昆明到济南汽车时刻表查询电话 沈阳站到常州火车票查询电话 盛世景源酒店电话 安徽阜阳汽车站查询电话 椒江汉庭酒店电话号码 焦作到运城大巴电话是多少时间 包头自助烧烤电话号码 阜阳市荷塘月色电话 嘉兴南湖夜游电话 鲅鱼圈导游联系电话 好又来酸辣粉电话 电话卡国际漫游免费 安徽阜阳汽车站查询电话 嘉兴南湖夜游电话 椒江汉庭酒店电话号码 安徽阜阳汽车站查询电话 沈阳站到常州火车票查询电话 乐松广场服务电话 大连汤景泽日式温泉酒店电话 昆明到济南汽车时刻表查询电话 临汾祥和洗浴中心电话 沈阳站到常州火车票查询电话 大连汤景泽日式温泉酒店电话 桂城机场快线电话 电话卡国际漫游免费 阜阳市荷塘月色电话 泉州师院随缘民宿电话 来舟火车站电话 妇幼保健院南海 电话号码 盛世景源酒店电话 鲅鱼圈导游联系电话 包头自助烧烤电话号码 巨野如家快捷酒店电话 泉州师院随缘民宿电话 电话卡国际漫游免费 沈阳到昌图虎跃电话 亚星官网 亚星游戏官网 亚星游戏官网 亚星官网 亚星官网 十年主角无人闻,一朝反派 :曜灵 神剑之冷弦清雨朝慕雪 一品宰辅 缩小人类:微缩纪元 百家乐官网 澳门葡京官网 葡京官网 亚星管理平台 万利游戏官网 遵义新舟供电所电话 盛世景源酒店电话 遵义新舟供电所电话 鲅鱼圈导游联系电话 焦作到运城大巴电话是多少时间 妇幼保健院南海 电话号码 来舟火车站电话 昆明到济南汽车时刻表查询电话 大连汤景泽日式温泉酒店电话 太行大峡谷导游电话 泉州师院随缘民宿电话 沈阳满族火锅电话号码 龙溪至天河客运站售票员电话号码 沈阳满族火锅电话号码 盛世景源酒店电话 安徽阜阳汽车站查询电话 乐松广场服务电话 电话卡国际漫游免费 包头自助烧烤电话号码 盛世景源酒店电话 太行大峡谷导游电话 包头自助烧烤电话号码 嘉兴南湖夜游电话 好又来酸辣粉电话 河景花园 物业电话 椒江汉庭酒店电话号码 江都体育馆电话 大连汤景泽日式温泉酒店电话 桂城机场快线电话 大连汤景泽日式温泉酒店电话