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"
有贷款能申请按揭吗沈阳购房合同抵押贷款贷款中的房子加名字2016年按揭商业贷款政策助学贷款逾期次数界定有贷款能申请按揭吗买房是自己办公积金贷款还贷款中的房子加名字全款买房可以贷款贷款买房子需要什么企业产房屋能贷款吗贷款中的房子加名字2016济南公积金贷款企业产房屋能贷款吗信用贷款影响房贷额度贷款买房子需要什么代款买房贷款贷不到怎么办兴业银行抵押贷款流程兴业银行抵押贷款流程房产抵押贷款必须要实地看房吗无锡2015年住房公积金贷款额度兴业银行抵押贷款流程全款买房可以贷款公积金贷款贴息公积贷款会追究外地房产吗农村贫困户无息贷款公积贷款会追究外地房产吗公积金贷款贴息房产抵押贷款必须要实地看房吗2016济南公积金贷款记叙了作者在初中三年的历程,以及初中时代的美好,在初中过的烦心事 (本文地名人名都为虚构,如有雷同纯属巧合)柳一,吃的用的都是自认为最干净,包括女人。圣灵大陆强者为尊 万千修仙门派自立 各种天才强者层出不穷 只有不断变强才能活下去!末世降临,一场暴雨过后,地球上丧尸横行! 重生回来的宋严,意外获得了签到系统,从此一路高歌猛进! 当人们因为丧尸而畏首畏尾的时候,宋严一马当先地冲入丧尸群中! 当人们为了一把热武器抢破头的时候,宋严缴获了军火库! 当人们想要拥有避难所的时候,宋严攻下小镇发展起了根据地! 当人们愣神的时候,宋严已然成了传奇!故事是从酒馆说书的闯进世界会议,带来一段贝鲁米发现“魔灵”的短片而开始的。他醒了。 他很确定自己睁眼了,可是什么也看不见,就像没有瞳孔一样。 他很不舒适地伸出手揉了揉眼,才看见一个世界。 全是方块。 方的地面方的树,方的石头方的水,连云和太阳都是方的。 低头,看见了一双黑鞋,蓝色牛仔裤,浅蓝的短袖,淡棕的肌肤……也是方的。 抬头,看见头上悬浮着一行字: Steve. “我叫……史蒂夫?” 与此同时,在无数距离之外,一个人正坐在豪华的大房间里,“享受生活”。 若不是有这富的可怕的豪宅,你可能会被他一身棕加灰的打扮欺骗。 他忽然怔了一下,看向远方,低语道:“不会吧……他醒了?”三国迷周宇,穿越到了身处东汉末年另一个名为周宇的身上。有意思的是此人和刘备乃是同乡,周宇心想自己看了三国这么久,也该在这英雄辈出的三国历史上留下浓墨重彩的一笔了啊。界岩,作为一座都城的王,从来没想到自己会成为游离三界的守护神,见证人世间的生离死别,或蔚籍逝者,安息灵魂;或覆手家国灭亡,只为人世间最大的安宁。 人生是在一次次选择中确定的,现在的你回头看过往的人生,如果在当年的十字路口你做出了不一样的选择,那么现在的人生是否会有不同呢?他是会更好?又或者是更差?萧羽通过一颗魔瞳吊坠可以进入平行世界,那些平行世界拥有神奇的能量造物,获得了它们,就能获得无比强大的力量,进而造就一方宇宙的主宰!!!
星域神启 彼岸逍遥游 夜辉之暗月之光 热烈而隐晦的爱 嘘,你背后有鬼神 我在大山深处学雷锋 异栋生存手册 开局获得吐槽系统 界王之神 口又忄昔 胎眼 开局契约麻雀,签到成凤凰 网游:开局无限BUFF,我最强药师 入闯古埃及传记 我在神秘复苏写日记 穿越来的少年宗主 轩辕招魂 修仙归来,未婚妻已嫁人 魔幻西游释厄记 崩坏的诸天 温州有哪些汽车贷款公司 单位原因 公积金补缴 贷款影响吗 代款买房贷款贷不到怎么办 助学贷款逾期次数界定 温州有哪些汽车贷款公司 信用社贫困户贷款利息补偿 代款买房贷款贷不到怎么办 买房子贷款哪家银行好 农村贫困户无息贷款 网银能贷款吗? 好利贷贷款需什么条件 好利贷贷款需什么条件 银行贷款利息缴纳营业税 单位原因 公积金补缴 贷款影响吗 有贷款能申请按揭吗 助学贷款逾期次数界定 什么地方的贷款好贷款 农村贫困户无息贷款 有没有公积金余额不足充值贷款的 贷款中的房子加名字 单位原因 公积金补缴 贷款影响吗 信用贷款影响房贷额度 有没有公积金余额不足充值贷款的 企业产房屋能贷款吗 贷款买房子需要什么 银行贷款利息缴纳营业税 温州有哪些汽车贷款公司 沈阳购房合同抵押贷款 有没有公积金余额不足充值贷款的 农村贫困户无息贷款 助学贷款逾期次数界定 助学贷款逾期能买房吗 2016年按揭商业贷款政策 有贷款能申请按揭吗 公积金贷款贴息 公积贷款会追究外地房产吗 2016年按揭商业贷款政策 代款买房贷款贷不到怎么办 银行贷款利息缴纳营业税 信用贷款影响房贷额度 公积贷款会追究外地房产吗 网银能贷款吗? 名下有贷款影响房贷 什么地方的贷款好贷款 企业产房屋能贷款吗 助学贷款逾期能买房吗 好利贷贷款需什么条件 公积贷款会追究外地房产吗 银行贷款利息缴纳营业税 买房是自己办公积金贷款还 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 朽魂万骨枯 重生之咪咪再续前缘 人在末世?被迫造反! 关于我被放逐到异世界的事 玄幻:做反派就要强无敌 百家乐官网 澳门葡京游戏官网 澳门葡京官网 百家乐官网 亚星官网 信用贷款影响房贷额度 农村贫困户无息贷款 贷款买房子需要什么 贷款买房子需要什么 公积金贷款贴息 银行贷款利息缴纳营业税 沈阳购房合同抵押贷款 信用贷款影响房贷额度 房产抵押贷款必须要实地看房吗 助学贷款逾期能买房吗 2016济南公积金贷款 农村贫困户无息贷款 有贷款能申请按揭吗 网银能贷款吗? 公积金贷款贴息 代款买房贷款贷不到怎么办 农村贫困户无息贷款 温州有哪些汽车贷款公司 单位原因 公积金补缴 贷款影响吗 单位原因 公积金补缴 贷款影响吗 公积金贷款贴息 公积金贷款贴息 沈阳购房合同抵押贷款 温州有哪些汽车贷款公司 银行贷款利息缴纳营业税 有贷款能申请按揭吗 助学贷款逾期次数界定 买房是自己办公积金贷款还 有没有公积金余额不足充值贷款的 买房子贷款哪家银行好