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"
怎么这么多星火驾校云霄驾校有哪些怎么做驾校的副校长云浮罗定驾校云南大理巍山县驾校怎么这么多星火驾校云南省德宏州驾校怎么做驾校的副校长云霄呈祥驾校云南昆明驾校骗局云南洱源县驾校有哪些怎么这么多星火驾校云南昆明交通驾校一点通云南的驾校一点通怎么做驾校的副校长云南昆明驾校骗局云南省驾校排名云南的驾校云南的驾校运城新东风驾校简介云霄呈祥驾校学员查询云南的驾校云霄呈祥驾校运城新东方驾校A2多钱?云南大理巍山县驾校云霄县有几个驾校云浮罗定驾校运城市绛县驾校报名处运城新东风驾校云南昆明交通驾校一点通“我本无名,只能叫无名了。在我心中,若失去冒险精神就失去了人生意义,那种热血沸腾的感觉真是让我欲罢不能!” 神秘少年获得与所在世界格格不入的力量,由于好奇心的驱使让他四处冒险,奇遇连连,随着身体与武器接连产生异变,他那恐怖的身份以及武器的归属渐渐有了答案……苍茫的仙穹下,一个时代的璀璨,不过是弹指间的烟花绽放。 俯瞰大地,悠悠万载,生生灭灭,他们都在哪里?仙门、皇朝、无上圣地,都不过是仙穹下的一抔黄土。 万载辉煌,一灭成灰。 墟土深处生烬萌,你我争为通天树。 仙穹彼岸到底有什么?少年流落异乡,只为寻得最开始的记忆。战场千钧一发,身边又有多少人陪伴。铁骑一出,看这江山无恙。天可崩,地可裂,王位也该换人坐。一次探险,两个好兄弟,同时穿越至大唐天宝年间,一个成了最有权利的太监,一个成了最有作为的皇帝,历经安史之乱,惩后宫,除阎党;运用现代技术,打回纥,平南诏,收吐蕃,威震天下!同时作品也歌颂了动乱局势下,那些为国泰民安牺牲的大人物与小平民。一段武者奋斗的历程,见证王朝的兴衰,宗门的恩怨情忧………废墟中,一个脸跟煤球似的少年刚从梦中醒来便和一位老者四目相对。 少年环视了一下四周,哀叹了一口气,少年心想:这次是垃圾场啊~我也真够衰的… 随后少年看向老者,试探道:“嗨?” 老者:“……嗨?” …… 老者两眼发光,对少年道:“孩子啊,我看你资质不错,不如跟我学点手艺?”读了红楼梦,每个人心里都有一个红楼“梦”.... 这是一个平平无奇,不知所谓,符合环境,普通凡人版的文艺梦。这世间有妖,也有披着人皮的魔。若这世间无人渡我,我自渡!如这世间无佛,我成佛! 2050年,一颗直径超过10公里的小行星落入浪漫之城玛丽安娜境内,随后,地震引发的海啸淹没了第五大陆,全球气候发生剧变,爆炸扬起的尘埃覆盖了天空,遮蔽了太阳,全球温度下降了约15摄氏度,人类陷入恐慌之中。 2051年,武器商人赫尔曼以合众国的名义进入第二大陆东北角的贫穷国家,索尼亚。 2055年,第二大陆被索尼亚统一 2059年,第四大陆,雨林之国森巴的原政府被推翻,新政府上台。 2060年,第一大陆南部国家被不明势力尽数占领。 2061年,第五大陆剩余土地上,除不列颠帝国外,全部沦陷,同年,赫尔曼发表通告,宣布建立人类复兴政府,向现存各国宣战。 同年,世界建立了北部战时联合国,东部战时联合国以及西部战时联合国,向人类复兴政府宣战。 2074年,这是世界变成地狱的13年后,也是故事的开端。 什么?七月穿越了!去写生还能遇到歹徒?傻子是吧?很好,都来看看什么是傻子! 谁能告诉我,为什么这副身体里住着一位大神?好吧,实力强横就行! 三修,奇异吸收技能,修炼简直不要太逆天,碾压的就是你们这些天才。报仇?救人?那不是分分钟的事!铁杆小分队给我组起来,腹黑美男,妖孽娘炮,这么逗趣的组合如何拯救即将毁灭的小世界? 神族,魔族,人族,都不是事儿,挨个儿给我臣服!什么,开辟新领域?
相亲修炼手册 现实中回首梦幻 三千界之屠龙令 滚滚红尘为红颜 封神之我没想和女娲谈恋爱 真 言 国 度 传说在木叶 我真的没有灵力 画缘续情 玄神之上 帝道凌霄 百次重生之后成为阴差 人间觉醒 行轧大陆成神记 无敌从异世界开始 朝仙道 仙踪谜雾 破碎帝国梦 直播:北凉说书,周姐打赏 数据代码 运城驾校哪个快 云南昆明驾校一点通 云南盈江有几家驾校 云南洱源县驾校有哪些 运城驾校哪个快 运城新东方驾校A2多钱? 云霄呈祥驾校 云南昆明交通驾校一点通 运城市绛县驾校报名处 云南省德宏州驾校 云霄呈祥驾校学员查询 云霄呈祥驾校学什么 运城新东风驾校简介 云南昆明交通驾校 怎么做驾校的副校长 云南的驾校一点通 云霄呈祥驾校 运城市绛县驾校报名处 云霄县学车驾校 怎去济宁北城驾校 云南昆明驾校一点通 云浮罗定驾校 云霄县有几个驾校 云南驾校公司 云南昆明交通驾校 运城新东方驾校A2多钱? 云霄县有几个驾校 云霄驾校有哪些 云霄呈祥驾校学员查询 云霄县有几个驾校 云南大理巍山县驾校 云南驾校公司 云浮罗定驾校 怎么这么多星火驾校 运城市绛县驾校报名处 云南大理巍山县驾校 怎去济宁北城驾校 云南盈江有几个驾校 运城新东方驾校A2多钱? 怎去济宁北城驾校 云南大理巍山县驾校 云南昆明交通驾校 运城新东风驾校简介 云南盈江有几家驾校 云南的驾校一点通 云南驾校公司 云霄呈祥驾校 云浮罗定驾校 运城新东风驾校 云南省德宏州驾校 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 网游之不朽风华 我是谁?我是,蜘蛛侠 闲情自传 谐异书 屋内有人:熟睡之后 皇冠登3出租 澳门葡京游戏官网 澳门葡京官网 皇冠登3出租 亚星官网 运城新东风驾校简介 运城新东方驾校A2多钱? 云南昆明驾校骗局 运城新东风驾校 怎么这么多星火驾校 云南驾校公司 怎么做驾校的副校长 云霄呈祥驾校学员查询 云浮罗定驾校 云霄呈祥驾校学员查询 云南省德宏州驾校 云霄驾校有哪些 云南的驾校 运城驾校哪个快 云南的驾校一点通 云南省德宏州驾校 云南驾校公司 云南的驾校一点通 云霄呈祥驾校学什么 云南洱源县驾校有哪些 云南昆明驾校一点通 云霄呈祥驾校 云南昆明交通驾校 怎么这么多星火驾校 云南瑞丽共有几个驾校 怎么这么多星火驾校 运城市绛县驾校报名处 怎么做驾校的副校长 云南盈江有几个驾校 云南大理巍山县驾校