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"
建行信用卡资金到账日没激活的信用卡征信哪几家股份制银行办信用卡快捷浦发银行星尚信用卡年费多少广发信用卡 消费笔数没达到民生银行信用卡查询账单英国合作银行信用卡哪几家股份制银行办信用卡快捷经典白金信用卡 积分商户信用卡额度高的好处平安保单网上办理白金信用卡建行信用卡资金到账日信用卡不让银行怀疑套现可能购物信用卡推荐哪几家股份制银行办信用卡快捷信用卡额度高的好处中国银行扬州分行信用卡中心信用卡非接触付款信用卡非接触付款交通银行信用卡中心温州分行光大嘉人香水信用卡金卡额度多少信用卡非接触付款经典白金信用卡 积分商户非法持有他人的信用卡广发信用卡 消费笔数没达到包商信用卡是在分行审核吗浦发银行星尚信用卡年费多少中国银行信用卡逾期了招行车贷信用卡未审核通过信用卡不让银行怀疑套现可能生在玄幻世,杀戮为常事。青帝空间让我重获新生,我必让犯我者血流成河。牛天是一个孤儿,自幼被父母抛弃,由于误吃了千年灵芝和毒蟒的血,使自己意外的变成了一个拥有神奇能力的人,他开矿厂开荒种药材,建养殖区,一夜之间暴富,带领全村人走上致富之路,且看一个无名小子,如何从一个小农民逆转命运,叱咤都市。十四年前,陌生少年初次来到这片陌生的时空。十四年后,少年踏上修玄之路。父母离奇失踪,世界暗流涌动,北界风起云涌,且看南宫清如何乘风破万里浪,纵横玄天大陆!我们该去享受,还是该去抱怨,这不是一部小说,是很多故事,或许会有一个触动你,加油林泽穿越到一个全民御兽的时代。 临近高考,他手上却只有一头被称为观赏型宠兽的小雪球。 “小雪球?也就看着养眼,没什么用处啊。” “不能进化的宠兽有什么用?” “潜力太低了,这辈子都不可能突破一阶。” “想考上御兽学院?不可能。” 质疑、讥讽与奚落纷沓而至。 林泽面色平静的看了眼宠兽面板 “隐藏进化路线!” “女皇路线:潜力无限的进化方式,最高可进化至王级。” 小雪球、冰晶魂、雪女、霜蓝少女、极冰王女......冰雪女皇! ...... 众人:“什么?小雪球还有进化形态?” “卧槽,你的宠兽怎么都是从未见过的品种!?还这么厉害!?”喜欢一个人可以持续多久 一年 十年 还是一万年 这个世界只有黑色 这个世界只有地狱 我们只不过是,寻找那微不足道的光点 可笑的是,根本就没有光点 鸿蒙世界共有十重天,传说进入三重天后,便可长生不死,他们毕生都在追求长生之道,但若想要长生,谈何容易,得到多少?又会失去多少?公元1252年,天玄大陆地下世界的灵族不堪忍受魔族压迫发动暴乱,联合妖族和人族的激进派向魔族总部发动总攻,最终大获全胜。次年灵族内部分化独立派和亲妖派,魔族为复仇大批涌向地上世界,而仙族为巩固自己统治地位暗中推波助澜,异空间地玄大陆的修罗族对天玄这片土地虎视眈眈,整个大陆也迎来了最黑暗的时代…你做过梦吗?如果有东西可以进入你的梦境,噩梦来临了…… 系统:“恭喜宿主抽中原神邀请契约卡一张。” 林子云:“狗系统,我特么二十连抽,就出一张金色的,还有,我不是点的王者的池子吗?这原神契约卡是从哪儿冒出来的。这些邀约人物,是满命吗?我的满命雷神啊。” 系统:“抽奖需要定轨,宿主需要从两个世界选取一个世界定轨,至于邀请的人物,必须要对方同意。” 林子云:“你这有问题啊,新手礼包就二十抽,邀请还要经过别人同意,要是紧急情况我该怎么办。” 系统:“宿主反馈bug,系统更新中,更新成功,赠送抽奖一次。” 林子云:&amp;quot;mmp~~~~&amp;quot; 可莉:“哒哒哒,哥哥是要邀请可莉去炸鱼吗?” 林子云:确定要邀请可莉????看着父亲被舅爷追打,头破血流,还不能顶嘴,目睹母亲含辛茹苦,为一大家操心劳累,叔叔、姑姑不仅不领情,还故意刁难,超华幼小的心灵,烙下深深的记忆。 他发誓,苦读寒书,通过高考获取功名,立志改变命运,出人头地,让欺负父亲的舅爷们汗颜,让不尊敬的叔叔、姑姑们忏悔。 然而,想法要变成现实,总不是一番风顺,他经历过大学苦难的历程,被卷入了企业复杂人际关系漩涡------ 在企业他在国企破产后,为了生活,被迫四处漂泊,历经沧桑,在险恶的职场,顽强拼杀,终于有了自己的一席之地。
龙踏青云 能隐者 大齐商人 英雄联盟之风雷闪 紫薇大帝龙辉 鬼佛剑帝 轻语花传奇 暗格深处 民间梦异录 掐灭希望 重生之巨变 时空裁判所 陨仙魔尊 长城一号 原神:我会无想的一刀 磨世争雄 灵魂大烧烤 万年屠尸录 云海苍穹 锡白锡黑锡红 平安银行信用卡积分规则 信用卡非接触付款 信用卡欠款 ?? 哪几家股份制银行办信用卡快捷 经典白金信用卡 积分商户 没激活的信用卡征信 信用卡不让银行怀疑套现可能 平安保单网上办理白金信用卡 光大嘉人香水信用卡金卡额度多少 有信用卡可以办车贷吗 英国合作银行信用卡 英国合作银行信用卡 信用卡 退税 信用卡非接触付款 非法持有他人的信用卡 建行信用卡资金到账日 信用卡国行最低还款额是多少 包商信用卡是在分行审核吗 光大嘉人香水信用卡金卡额度多少 建行信用卡资金到账日 有信用卡可以办车贷吗 哪几家股份制银行办信用卡快捷 没激活的信用卡征信 购物信用卡推荐 信用卡额度高的好处 非法持有他人的信用卡 包商信用卡是在分行审核吗 没激活的信用卡征信 光大嘉人香水信用卡金卡额度多少 包商信用卡是在分行审核吗 广发信用卡 消费笔数没达到 有信用卡可以办车贷吗 浦发银行星尚信用卡年费多少 建行信用卡资金到账日 中国银行信用卡逾期了 广发信用卡 消费笔数没达到 信用卡多久可以注销 月薪3000申请中行信用卡 非法持有他人的信用卡 信用卡多久可以注销 广发信用卡 消费笔数没达到 信用卡欠款 ?? 交通银行信用卡中心温州分行 如何开通国际信用卡网关支付协议 购物信用卡推荐 有信用卡可以办车贷吗 经典白金信用卡 积分商户 浦发银行星尚信用卡年费多少 招行车贷信用卡未审核通过 英国合作银行信用卡 亚星官网 亚星游戏官网 亚星游戏官网 亚星官网 亚星游戏官网 封神之我没想和女娲谈恋爱 北域武林 他人求仙我求脱单 大秦:千古一帝,从道祖开始! 大秦:一剑开天门,被金榜曝光了 亚星管理平台 亚星官网 万利游戏官网 亚星管理平台 澳门葡京官网 广发信用卡 消费笔数没达到 月薪3000申请中行信用卡 中国银行信用卡逾期了 经典白金信用卡 积分商户 如何开通国际信用卡网关支付协议 建行信用卡资金到账日 经典白金信用卡 积分商户 没激活的信用卡征信 民生银行信用卡查询账单 信用卡 退税 信用卡欠款 ?? 香港恒生银行申请信用卡 信用卡欠款 ?? 信用卡非接触付款 信用卡不让银行怀疑套现可能 非法持有他人的信用卡 中国银行扬州分行信用卡中心 招行车贷信用卡未审核通过 信用卡非接触付款 民生银行信用卡查询账单 招行车贷信用卡未审核通过 光大银行信用卡dq 交通银行信用卡中心温州分行 哪几家股份制银行办信用卡快捷 信用卡额度高的好处 信用卡多久可以注销 没激活的信用卡征信 广发信用卡 消费笔数没达到 没激活的信用卡征信 中国银行扬州分行信用卡中心