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"
火车z258停那些站随州达福州火车票潍坊到陕西汉州西乡的火车长沙郑州火车票时间广东火车站c7075到淮安火车时刻表查询火车z258停那些站陕西山西火车广东火车站c7075滦县——山海关火车车次儿童多大需要购买火车票济宁至广州惠州的火车票价格是多少去乌兰察布的火车萧山到桐乡火车站时刻表陕西山西火车滦县——山海关火车车次潍坊到陕西汉州西乡的火车随州达福州火车票随州达福州火车票抚顺到营口有直通火车吗g337火车随州达福州火车票广东火车站c7075孝感北到老河口东火车宜宾至东莞火车票查询佛山有到河池的火车票?长沙火车南站地铁口在西广场孝感北到老河口东火车永州至肇庆的火车时刻表去乌兰察布的火车天地不停,大盗不止。本是万千普通人中的一员,竟遇古装女子流落小巷,一向宅男的曹烨把女子领进了家里,却不知道女子另有秘密。特战精英深入敌后昆捣毁了敌人的雷达站,在敌人的导弹轰击下昏迷被俘,从此开启了为被俘士兵雪耻,捍卫华厦掘起的征程。 我快死了。   马上我就可以永远的长眠了。 这是一个少年在临终前的想法。但是他不知道,活着得干活死了也得干活。不尊重生命之人,将会获得乘法,获得永生成为死神,永远看着生命在临终之时痛苦的模样。 少年本已疲惫,以为终于可以永远的享受宁静,结果怎么也没想到自尽了断之后,居然成为了死神,还得继续工作。回收灵魂确认死亡名单,筛选能够成为引领人类的人,并让他继续活下去,去捕捉在世间游荡的冤魂以及伤害人类勾引人类在人类的耳边轻语的恶魔。死神的工作很多呢 为什么想要变强,因为所在乎的人需要我去守护。无限流系统搞笑来袭,看我修神良秀翻四方,这位小友,你准备好小钱钱了吗 少年为了保护小师妹从深山走出,左手悬壶济世,右手飞针杀人,赚钱救人两不误。 不管权势滔天,还是富可敌国,在我面前都须低头。 尔等记住,若我避世,群雄并立,若我入世,天下无双! 现代佣兵周文意外魂穿到民国学生周文身上。他利用穿越带来的一颗佛珠的神奇功能,再加上后世带来的经验、知识和技能。打造了一只武功高强、军事技术顶尖的佣兵团队。 他带领这支佣兵团,历经中原大战、淞沪抗战、称雄上海滩。装备了当世最先进的各种武器,最后投身于伟大的抗日战争中。带着兄弟们杀鬼子......高中才开学一个月后,高一七班的大家都平凡而和谐的校园生活被一个奇怪的黑色软件打破了,这彻底改变所有人的命运。。 血与火的战场,风声鹤唳的山林,神奇的猛兽和古武少年,这是一支有着铮铮铁骨的特种部队,这是一群浴血疆场、有血有泪的特种军人。枪声与热血共存,猛兽与英雄相伴,这是一本描写铁骨军人的书! 书友群号:336093992 竹香书屋VIP读者群:群号468694031 江南水乡,一俊俏女子在等待着自己心仪的男子 天下,朝廷,藩王,蛮夷之间的摩擦愈演愈热 江湖,即将到来的战争使江湖暗流涌动 少年。。。
我体内有洪荒异兽 穿越成反派,开局镇压女帝 大航海从竹筏开始进化 玄元剑道 我不小心获得了全能系统 星游记之我要飞 穿越之我在南宋那些事儿 至幻 龙帝重生都市 开局觉醒李白模板 大夏之江湖风云 灵珏点将录 最后的僵尸道士 荒野大镖客之死亡救赎 镇妖苟帝 与水浒共进退 大恒平妖录 寻找神格 木鱼僧 我在人间斩妖的日子 萧山到桐乡火车站时刻表 哈尔滨北站双城火车时刻表 到淮安火车时刻表查询 重庆北到大同火车时刻表 萧山到桐乡火车站时刻表 怀柔北站火车车次 济宁至广州惠州的火车票价格是多少 淄博火车站至淄博汽车站时刻表 儿童多大需要购买火车票 所有路过东戴河的火车 到白山的火车都有几点发车 陕西山西火车 苏州到扬州火车票票价多少 佛山有到河池的火车票? 苏州火车站至麻城北站车次 广东火车站c7075 济宁至广州惠州的火车票价格是多少 儿童多大需要购买火车票 宜宾至东莞火车票查询 火车z258停那些站 哈尔滨北站双城火车时刻表 潍坊到陕西汉州西乡的火车 随州达福州火车票 g337火车 佛山有到河池的火车票? 苏州到扬州火车票票价多少 儿童多大需要购买火车票 随州达福州火车票 宜宾至东莞火车票查询 儿童多大需要购买火车票 广东火车站c7075 哈尔滨北站双城火车时刻表 长沙郑州火车票时间 火车z258停那些站 滦县——山海关火车车次 广东火车站c7075 石家庄去西宁火车票多少钱一公斤 济宁至广州惠州的火车票价格是多少 苏州到扬州火车票票价多少 石家庄去西宁火车票多少钱一公斤 广东火车站c7075 孝感北到老河口东火车 去乌兰察布的火车 陕西山西火车 g337火车 哈尔滨北站双城火车时刻表 到白山的火车都有几点发车 长沙郑州火车票时间 莱阳到莱西的火车班次 抚顺到营口有直通火车吗 亚星游戏官网 亚星官网 亚星官网 亚星官网 亚星官网 万族纪元 不醉星河 凤凰山的幸福 世界之罪!? 吾本布衣,提三尺剑取天下 葡京官网 欧博官网 亚星管理平台 葡京官网 皇冠登3出租 佛山有到河池的火车票? 抚顺到营口有直通火车吗 济宁至广州惠州的火车票价格是多少 随州达福州火车票 石家庄去西宁火车票多少钱一公斤 哈尔滨北站双城火车时刻表 莱阳到莱西的火车班次 广东火车站c7075 怀柔北站火车车次 佛山有到河池的火车票? 火车z258停那些站 济宁至广州惠州的火车票价格是多少 济宁至广州惠州的火车票价格是多少 孝感北到老河口东火车 所有路过东戴河的火车 今日西安去兰州的火车 佛山有到河池的火车票? 重庆北到大同火车时刻表 到淮安火车时刻表查询 宜宾至东莞火车票查询 潍坊到陕西汉州西乡的火车 今日西安去兰州的火车 到白山的火车都有几点发车 长沙郑州火车票时间 儿童多大需要购买火车票 佛山有到河池的火车票? 火车z258停那些站 济宁至广州惠州的火车票价格是多少 济宁至广州惠州的火车票价格是多少 石家庄去西宁火车票多少钱一公斤