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"
贷款成功案例分享贷款冻结银行卡吗贷款对账单在哪打贷款额度是工资多少贷款二分五利息怎么算贷款对年龄有要求吗大红本抵押贷款计算器贷款对账单在哪打大连浦发银行贷款利率贷款出来赚钱贷款成功案例分享贷款对账单在哪打打工的贷款可以贷款吗贷款车银行能定位吗贷款多少钱买房合适吗贷款出来赚钱大理私人贷款贷款车上的gps在哪里贷款车上的gps在哪里贷款冻结黑户大学生贷款平台安全吗贷款车上的gps在哪里大连浦发银行贷款利率贷款50万二年利息多少贷款二分五利息怎么算贷款的收入证明的模板贷款二分利一年是多少贷款50万二年利息多少贷款冻结黑户打工的贷款可以贷款吗沈清风本是秦皇之子,原以为能够荣华富贵一生,可还没来得及享受,就被自己的青梅竹马杀害,就此陨落。 千年之后,他意外重生,而自己的青梅竹马已经成为了蓬莱界唯一的皇,这一世,他能否报仇,成为那凌驾众生之上的神。他们是国内少有的哥特金属乐队,从酒吧驻场到签约公司,再开演唱会,貌似走在光明大道上。在黑暗的角落太久,炽热阳光掺杂着迷幻彩灯,让本快发霉的南轩错落痴狂。 都说搞艺术的人有清高的本质,真OR假?在荣誉面前,大众眼下,是为大众而变?还是让大众接受真实的自己?弦舞和南轩两位多年好基友在各自光环下,终于散发不能相容的光芒。 南轩成为人们眼中的妖孽,他跟一切不顺自己的人,事相斗。遇神杀佛,天地不惧。没少得罪人,也时不常坑队友。尽管乐员们都有相当的能力,也难免不被他所伤。 爱情,他嚼着一个女人,碗里又被放着一个女人,而自己的筷子还夹着一个女人。想先吞一个,但筷子上的那个掉落,砸中碗边,导致碗里那个也一起倒翻在地。 事业,紫衣人告诉他:要到达巅峰之境,必须有疯癫之举。 终于耗尽所有的疯狂后,南轩却并未到达巅峰之境。 不久,一个长得和他一模一样的人来给他扫墓。 随后,那人开启了逆向反扑的狂生…… 大武王朝,邪异降临,诡异杀人于无形。 江夜携带修改器穿越。 燃血功+一气功,破极【炎阳神功】。 牛魔大力拳+十三太保横练,破极牛魔大力拳.真意。【牛魔真身】 狂风刀+黑虎刀法,破极【霸刀诀】。 疾风掠影+御风步,破极【御风隐形】轻功。 生死看淡,不服就干,这是一个以蛮力,武道,横推一切的故事。九州神王李长青,被兄弟偷袭陨落,却意外重生归来。 尘封万年的洪荒大妖,将成为他的助力, 万界之中,修最强之术,炼顶尖灵药,布绝妙大阵…… “前世我能登临巅峰,这一世我也一样可以,诸天万界,终有一天,我会卷土重来!” (带修为归来,无敌+单女主+奶爸+萌娃+战斗+微搞笑+甜蜜。) 他,曾是一代雇佣兵王,后退役成为顶级杀手组织“暗暮”王牌杀手! 却不想,竟遭人算计,背叛;一番血战中,寡不敌众的他被子弹贯穿了胸膛,坠落悬崖…… 却不想,意外开启了进入天界的入口,并在机遇下获得了一部功法…… 之后,他游走于六界之内,纵横于多元宇宙之间;凌驾于天地之上,视众生灵如草芥。 纵然屠尽六界神魔,天道也奈何他不得…… 五百年后,他再度归来,却不想,此刻的他,竟有了……两个可爱的女儿?! 错了,重来…… 那纵横于多元宇宙,凌驾于天地之上的恐怖存在,摇身变成了一名……柔情奶爸! “敢欺负我女儿,定让你消失于六界之内!” “你……你到底是谁?!” “我吗?有人叫我武龙帝尊,有人叫我武龙天尊,还有人叫我混沌天帝。” “但我现在,只是一名安静的女儿奴。” 本文讲述男主作为高考村唯一一名考上星际学院的考生在一场意外中离奇穿越到一个学习为主的修学世界。 文中还有大量脑洞大开的故事。破碎的竹简,修改历史。接续的断玉,破茧重生。华夏大地的历史一次又一次的变幻,究竟哪些是真哪些是假。穿越各大王朝,一个终极的秘密即将揭开。两个组织的碰撞,守护华夏历史的责任。待我将这一切缓缓道来。生逢唐末乱世,各地豪强并起。看我江陵少年,如何渐露锋芒,尽显英雄气概。天空之眼打开,无数魔兽涌入地球。同时也给地球带来了灵力,一部分人自我觉醒,另一部分人依靠打怪升级赚金币,拥有了生存的能力。男主陈羽凡错失各种良机,最终只沦为被人嘲笑侮辱的低层人类,亲情,友情,爱情都与他无关。 一次偶然,陈羽凡重生到了魔兽降临的前一天 这次他能改写自己的人生吗?青年数学家叶小凡转生修仙世界,苦学功法,一心长生,科学修仙……
三国寻龙记 极品回春大国医 弃子覆局 留住青春一回眸 妖人在都市 时间的尽头之遗落之境 烽火中的家园 名侦探柯南之池总是我哥 黄泉不死心 我在恶魔时代当战神 入目及恶 风月实录一娇花 旅行猫咪,开局送来响雷果实 心主万界 苹安 穿越后成为最强反派弟子? 受命于天,既寿永昌 小丑笑抽 丧尸危机:我重生在末日 我的妻子是大乘期大佬 贷款对年龄有要求吗 大理私人贷款 贷款的年利率是多少 打工的贷款可以贷款吗 贷款对年龄有要求吗 贷款多少钱买房合适吗 贷款的收入证明的模板 大连贷款中介电话 贷款对账单在哪打 大学生贷款平台安全吗 贷款50万二年利息多少 贷款50万30年年供多少 贷款二分利一年是多少 大理有抵押贷款 贷款车银行能定位吗 存折做抵押贷款 贷款的收入证明的模板 贷款对账单在哪打 贷款冻结黑户 贷款成功案例分享 大理私人贷款 贷款成功怎么查 贷款冻结银行卡吗 大公司的小额贷款app 大理有抵押贷款 贷款二分利一年是多少 贷款对账单在哪打 贷款冻结银行卡吗 贷款冻结黑户 贷款对账单在哪打 存折做抵押贷款 大理私人贷款 存折抵押贷款怎么贷 贷款成功案例分享 贷款额度是工资多少 存折做抵押贷款 贷款出来赚钱 贷款的收入证明的模板 贷款二分利一年是多少 贷款出来赚钱 存折做抵押贷款 大连浦发银行贷款利率 贷款车上的gps在哪里 贷款50万30年年供多少 大公司的小额贷款app 大理私人贷款 贷款50万二年利息多少 存折抵押贷款怎么贷 贷款二分五利息怎么算 贷款的利息如何计算? 亚星官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 魇尸:世界新生 焚天之前 我在大楚当汉王 消逝的荣耀 天仙魔帝 百家乐官网 澳门葡京游戏官网 澳门葡京官网 百家乐官网 万利游戏官网 存折抵押贷款怎么贷 贷款的利息如何计算? 贷款冻结黑户 贷款成功怎么查 贷款的收入证明的模板 大公司的小额贷款app 贷款对年龄有要求吗 贷款车银行能定位吗 贷款的年利率是多少 贷款的利息如何计算? 贷款成功怎么查 贷款出来赚钱 贷款二分五利息怎么算 大红本抵押贷款计算器 存折抵押贷款怎么贷 贷款的几种方式 大连贷款中介电话 贷款冻结银行卡吗 打工的贷款可以贷款吗 贷款50万30年年供多少 贷款对账单在哪打 贷款的几种方式 贷款车银行能定位吗 贷款冻结黑户 贷款的利息如何计算? 大公司的小额贷款app 贷款成功案例分享 贷款成功怎么查 贷款二分五利息怎么算 贷款车上的gps在哪里