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"
民生信用卡绑定微信号如何取消龙卡云南热购信用卡收免费吗华夏银行信用卡申请官网易达金卡 信用卡工行信用卡主副卡民生信用卡绑定微信号如何取消建设信用卡透支华夏银行信用卡申请官网长春工商银行信用卡如何申请华夏信用卡易达金卡和信用卡区别民生信用卡绑定微信号如何取消信用卡只要签名吗易达金卡和信用卡区别华夏银行信用卡申请官网华夏银行信用卡都可以使用易达金吗华夏银行哪个信用卡好用工行信用卡主副卡工行信用卡主副卡微信关注信用卡有啥风险中信银行信用卡 加急工行信用卡和储蓄卡一个主卡一个副卡 网上银行长春工商银行信用卡男朋友用我的信用卡有什么后果呀衢州信用卡办理信用卡透支起诉易达金卡 信用卡交通银行信用卡没通过微信关注信用卡有啥风险工行环球旅行信用卡 租车行走世间,无所依主角李风玉是一个今年刚刚成年的少年,他在父亲的引导下进入期货市场,所有人都没有想到,这个年纪轻轻的少年将在国际金融市场上掀起一阵腥风血雨,将成为自北半球的伦敦金融城到西半球的纽约华尔街无人不知无人不晓的人物.................长生路上行人少,只是仙客与道家 一个平平凡凡的普通人,发现自己突然来到了一个神秘莫测的修仙世界,好在他的丹田内,有一块神奇的玉佩。 且看吕乐如何一步步逆流而上,最终飞升上界。女主人公南宫花铃以及男主人公上官星云来到剑阁不小心用血激活了正在铸的宝剑以及在门派里匡扶正义后面退出师门解救不道义的师傅的种种故事魔尊李长风逃婚来到了人界,因贪恋人间美食被卷入一段段因果。 孤儿徐青巧获民国奇人传承后,懵懵懂懂闯入现代社会下边隐藏的江湖世界。 白天,他是文质彬彬博学多知的鉴定师,是无数少女梦想中的男神,是名利双收的行业大拿。 晚上,他是武艺高强狠辣无情的杀手,是无数犯罪闻风丧胆的克星,是现代江湖里诞生的武林盟主。 一人双角的精彩人生,从一件扁桃木雕道祖骑牛像开始。 网瘾少年林徉魂穿大武朝,凭借着网上冲浪的经历纵横武朝! 造纸?我会古法造纸; 赶海?这个季节的沙滩有很多花旦蟹; 行医?脸上出现蜘蛛斑,一抹无痕。 …… 法斯特从霍格沃兹毕业后与自己的好友鲍克斯、兰一起探险魔法世界。当一行三人探索魔法古墓时,兰受到了护陵诅咒。这种诅咒非常残忍,当被诅咒人三十岁时就会自燃化为灰烬。鲍克斯和法斯特走遍大街小巷,黑林深处却都无功而返,唯有求助魔法部的帮助,故事便从这里开始……我叫荆少雨,荆轲的荆,年少的少,下雨的雨,出生于南方的一个偏僻的小山村里,故事发生在我十八岁的时候,父母在我出生那年离奇死亡。这是一个神奇的世界,人们拥有着掌控元素的能力。这个世界有九大基础元素以及其他特别元素,乱世之中,欧阳伊凌降生,自幼父母双亡的她,披荆斩棘,逆天改命,踏了了复仇之路……然而,这条路上困难重重,她又该如何面对?
不以玄界 天国战纪四风之传奇 废柴的自我救赎 碧蓝航线之昨日曙光 仇恨效应 一千条生命的记录 重生之我是大主播 废物青年不会遇到兽耳娘 谷情封夕 诛仙阵图 都市神医奶爸 万古第一神 梦仙穹 举目苍茫 终焉之王 狗屁不通的琐碎 天渊辰 全球直播:最强渔夫 漫威:漫画家也想拯救世界 芯源 信用卡透支起诉 华夏银行信用卡都可以使用易达金吗 华夏银行信用卡网上银行登录 工行信用卡主副卡 龙卡云南热购信用卡收免费吗 交通银行信用卡没通过 华夏银行信用卡网上银行登录 华夏信用卡如何申请 etc信用卡 审批不通过 信用卡只要签名吗 信用卡可以办副卡吗 信用卡可以办副卡吗 男朋友用我的信用卡有什么后果呀 华夏银行信用卡都可以使用易达金吗 民生信用卡绑定微信号如何取消 衢州信用卡办理 华夏银行信用卡取现手续费和利息 信用卡透支起诉 面包车可以办信用卡吗 华夏银行信用卡申请官网 华夏易达金开卡积分如何在信用卡网站兑换礼品 华夏银行信用卡申请官网 面包车可以办信用卡吗 工行信用卡和储蓄卡一个主卡一个副卡 网上银行 如何申请华夏信用卡 衢州可申办哪些银行信用卡 信用卡透支起诉 面包车可以办信用卡吗 面包车可以办信用卡吗 etc信用卡 审批不通过 工行信用卡主副卡 华夏易达金开卡积分如何在信用卡网站兑换礼品 易达金卡 信用卡 民生信用卡绑定微信号如何取消 男朋友用我的信用卡有什么后果呀 衢州信用卡办理 易达金卡 信用卡 华夏银行信用卡网上银行登录 男朋友用我的信用卡有什么后果呀 网上申请信用卡 资料 衢州信用卡办理 华夏信用卡如何申请 微信关注信用卡有啥风险 华夏银行信用卡取现手续费和利息 易达金卡和信用卡区别 华夏易达金开卡积分如何在信用卡网站兑换礼品 信用卡可以办副卡吗 衢州信用卡办理 衢州可申办哪些银行信用卡 华夏银行哪个信用卡好用 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 绝罪 第十魔神 爱至深!爱至重 穿越时间的思念 云定弦 百度 百度 百度 百度 百度 华夏易达金开卡积分如何在信用卡网站兑换礼品 工行信用卡和储蓄卡一个主卡一个副卡 网上银行 中信银行信用卡 加急 华夏易达金开卡积分如何在信用卡网站兑换礼品 华夏信用卡如何申请 信用卡可以办副卡吗 华夏信用卡如何申请 华夏银行信用卡申请官网 工行环球旅行信用卡 租车 民生信用卡绑定微信号如何取消 交通银行信用卡没通过 网上申请信用卡 资料 华夏银行信用卡网上银行登录 衢州信用卡办理 华夏银行信用卡网上银行登录 交通银行信用卡没通过 信用卡可以办副卡吗 华夏银行信用卡取现手续费和利息 民生信用卡绑定微信号如何取消 信用卡可以办副卡吗 面包车可以办信用卡吗 龙卡热购信用卡审核时间 龙卡云南热购信用卡收免费吗 长春工商银行信用卡 etc信用卡 审批不通过 华夏信用卡如何申请 工行信用卡主副卡 信用卡只要签名吗 衢州信用卡办理 华夏银行信用卡申请官网 亚星官网 亚星官网 万利官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网