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"
男单身伤心头像好看戴帽子的头像qq唯美伤感头像动漫情侣头像哈士奇的搞笑头像图片头像男带狗的男单身伤心头像白框文字头像qq唯美伤感头像动漫情侣头像黑白头发的动漫人物图片女生头像大全图片小女孩社会头像个性网名大全qq头像蓝色侧脸女生男单身伤心头像红唇配香烟的头像女qq头像蓝色侧脸女生qq唯美伤感头像动漫情侣头像小女孩社会头像个性网名大全女生恋爱漫画头像闺蜜头像流氓两张闺蜜头像流氓两张紫色真人头像女生吸饮料男生头像头像男带狗的黑社会女头像2017唯美闺蜜头像三人大眼镜简约暖心的真人情侣头像好看戴帽子的头像qq唯美伤感头像动漫情侣头像汽车车头像嘴巴的紫色真人头像女生头哭泣头像山村少年,一朝变故,成了僵尸族最后的族人。 僵尸诞生于世,天下大乱开始。我是一个理科生,文科也贼六,我穿越到了东汉,没有砍不死系统加成,没有武魂、灵根、法力、家族势力…没有任何金手指,没遇到刘备,没遇到曹操,落地扬州也没遇到孙家,什么都没有…只靠学到的东西在东汉末年活下去……观某的东汉求生记初脉成痕、聚凝化元、固灵生御、游踏虚无、晋太跨玄、归灵返臻、化潮成液、涅浴登帝、窥视生死、成就永生、永生至上、神乃主宰!特战精英深入敌后昆捣毁了敌人的雷达站,在敌人的导弹轰击下昏迷被俘,从此开启了为被俘士兵雪耻,捍卫华厦掘起的征程。 狂妄野心家,欲在地球上称霸挑起世界大战,银河系几个有人类的星球统治者,贪婪地球美,虎视眈眈要占领,刮起战争风云。奇异事件层出不穷,形形色色的怪异人物,扑朔迷离的各种阴谋频频出现。璀璨星空风云变幻,弄得地球千疮百孔,银河系文明一片混乱。 天降大任绝代双雄,千锤百炼成“圣”,抗起正义的大旗,战胜邪恶,重新建立了银河系文明。 周青岩突然穿越,父母安康,生活质量高。小弟无数。 哪怕一当一辈子咸鱼也没事。 六道沉沦,天人崩碎 逆天第一人沉睡祖地,沧海桑田,祖地福荫 十万年太久,只争朝夕! 天月金轮,再起天之战!落云大陆是片修行大陆。 修行者们按照实力划分成了七个等级。 学徒、使者、执事、仙师、供奉、仙王、仙主。 等级越高,享有的资源分配越多、权力越大,高坐云端的仙主,拥有至高无上的权力-- 渡劫失败,慕辰意外的来到了一个以武为尊、以气运为荣的苍穹大陆。 他是慕家的三少爷,是一个经脉不通,努力无果的废柴。 被退婚…… 被看低…… 被戏耍…… 这里除了他爷爷,没有一个人欣赏他,看好他。 那又如何,凭借留在记忆里的混沌阴阳诀,他以武力破苍穹,成千古大帝。更夺百家气运,凝丹长生。大夏靖北王唐炎给他的小儿子取名为“子安”。 他一生征战的目的也不过是希望自己的孩子能安全快乐的长大! 他的梦想是喜得一孙,解甲,归享天伦! 然而在大夏帝王眼里,当天下已经平定的时候, 就是他来平定这些平定天下者的时候! 一切的梦想都只能是泡影,哪怕是你想做回最普通的人, 都已经不可能了。 靖北王及长子被害身亡,全尸不得保全! 既然你不让我安稳的度过余生, 唐子安决定,度大夏皇室!
末世游戏:我成了一只丧尸 武道寰宇 燃道 当红小花是我女友 吞噬帝尊南战天 第三人称观 破天踪 振武道霸主 最强学渣自律逆袭记 苍天神界 大宋奇人 双苼 诡倒影 天命昭昭, 莫入红尘 灵魂大烧烤 一个弱者的英雄梦 末世求生:开局到账1000亿 水浒续:我的爷爷是岳飞 衣冢 滑板女头像 帅气 小女孩社会头像个性网名大全 女生恋爱漫画头像 闺蜜头像流氓两张 滑板女头像 帅气 唯美闺蜜头像三人大眼镜 大头像商标 另类手绘卡通美女头像图片大全 汽车车头像嘴巴的 红唇配香烟的头像女 吸饮料男生头像 吸饮料男生头像 紫色真人头像女生 小女孩社会头像个性网名大全 微信卡通强迫症头像 头像男带狗的 黑社会女头像2017 汽车车头像嘴巴的 红色的女头像 男单身伤心头像 高清美男子自拍头像 qq唯美伤感头像动漫情侣头像 好看戴帽子的头像 韩国男明星头像面膜 另类手绘卡通美女头像图片大全 紫色真人头像女生 汽车车头像嘴巴的 好看戴帽子的头像 红色的女头像 汽车车头像嘴巴的 闺蜜头像流氓两张 高清美男子自拍头像 哈士奇的搞笑头像图片 男单身伤心头像 紫色真人头像女生 头像男带狗的 简约暖心的真人情侣头像 大头像商标 紫色真人头像女生 简约暖心的真人情侣头像 头像男带狗的 头哭泣头像 动态灰色男头像 黑社会女头像2017 qq头像蓝色侧脸女生 高清美男子自拍头像 吸饮料男生头像 哈士奇的搞笑头像图片 黑白动漫兔子头像 白框文字头像 亚星官网 亚星游戏官网 亚星游戏官网 亚星官网 亚星官网 燕武纪 傲策 朱落星辰 云飞风起 逆苍玄 亚星游戏官网 万利游戏官网 万利官网 亚星游戏官网 葡京官网 小黄人壁纸高清头像 高清美男子自拍头像 黑社会女头像2017 黑白头发的动漫人物图片女生头像大全图片 吸饮料男生头像 另类手绘卡通美女头像图片大全 微信卡通强迫症头像 哈士奇的搞笑头像图片 头哭泣头像 红唇香烟头像看一个人 头哭泣头像 唯美闺蜜头像三人大眼镜 红唇配香烟的头像女 女生恋爱漫画头像 汽车车头像嘴巴的 高清美男子自拍头像 闺蜜头像流氓两张 吸饮料男生头像 黑白动漫兔子头像 男单身伤心头像 动态灰色男头像 好看戴帽子的头像 小女孩社会头像个性网名大全 红唇香烟头像看一个人 微信卡通强迫症头像 汽车车头像嘴巴的 好看戴帽子的头像 闺蜜头像流氓两张 滑板女头像 帅气 紫色真人头像女生