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"
阿里车辆抵押贷款abs 监管账户 贷款安美途贷款公司怎么样?安置小区可以贷款e贷款要手续费吗阿里车辆抵押贷款4s店新车贷款0利息安美途贷款公司怎么样?abs项目贷款e招贷的钱还小额贷款e贷款怎么办理条件安美途贷款公司怎么样?4s店买车可以贷款吗e贷款怎么办理条件安美途汽车贷款可靠吗e招贷的钱还小额贷款4s汽车贷款流程e贷款怎么办理e贷款怎么办理qq里有什么可以贷款吗51贷款黑户会下款吗e贷款怎么办理abs项目贷款5分钟速度贷款安卓手机微信怎么贷款5万贷款利息9厘怎么算的安卓手机微信怎么贷款5分钟速度贷款qq里有什么可以贷款吗4s店买车可以贷款吗一个退伍的特种兵生意正做得红火的时候,一场流行病袭来死在重病房,穿越到宝玉身上。但是这个宝玉却是在实实在在的清朝康熙初年,且看他如何玩转贾府,如何与黛玉、宝钗发生最让人惊叹的爱情;如何与秦淮八艳共进退;如何揭开康熙的神秘身份,如何解开清朝最大秘辛,如何成为最大的“造反大头目”,最后黄袍加身,成为新的“大汉国”开国“总统帅”!规培医生王磊应聘失败,却获得透视脏器能力,更有神级手术技巧。 幼儿误诊,即将死亡,王磊:我看到了,支气管断裂,马上手术。 主刀医生误伤主动脉,鲜血喷到天花板,王磊轻松搞定。主刀:幸亏王磊在。 农庄爆发奇怪病症,全市医生晕头转向,大佬:快去请王磊! 小小的乡卫生院逐渐成为世界医学中心,无数患者和名医云集于此,周边房价超过市中心。 这一切,都是因为一个人。 写的不好是人间美好?还是阴曹地府美好?这个问题很难回答!但是在人间混,撑死威风五十年,而在阴曹地府混,则可威武千百世。那么问题来了,为什么还有那么多魂魄,想尽各种办法讨好判官阎王,迫不及待的要回到人间转世呢?搞不懂!也没人搞得清楚!萧石竹便是搞不懂这个些问题的其中一鬼,但是他现在没有时间去搞懂这个问题了,怎么在地府里生存下去,在投胎之前做个鬼上鬼,才是他的首要任务。交流群:108030161安逸享受的生活一夜崩塌,已步中年的郎中从逃避、畏惧,一心只求回归原样,到幡然醒悟直面现实,为了自己的亲人爱人,不畏强权、挺身而战! 懒得介绍伏羲献祭,生命之枯萎,生命之种种子散落各地,十二颗生命种子地方都成为了禁地,经历九万年生之种开始发芽了。 灭门惨案人族少年开起了复仇之路三年前,天才西医林霄强行救人,被吊销行医执照。 三年后,林霄中医学成,再入杏林,救死扶伤,终成苍生大医。 中医治不了的人,他治; 西医治不了的人,他也治; 没人愿意治的人,他还是要治! 小医医人,大医医国。谁言中医无用? 林霄偏要带领中医国术走出国门,天下扬名!九州神王李长青,被兄弟偷袭陨落,却意外重生归来。 尘封万年的洪荒大妖,将成为他的助力, 万界之中,修最强之术,炼顶尖灵药,布绝妙大阵…… “前世我能登临巅峰,这一世我也一样可以,诸天万界,终有一天,我会卷土重来!” 侠客,了平生事,却心中念便是
抚剑吟 天位之龙 万里江山图 恒石 封神之我在商纣当昏君 全民创世:我打造怪谈世界 次玄界 我身独仙 医武风流 天魔,天狼 花满楼红袖招 聂都后裔 诡异修仙:我的宗门有点怪 修道,何止于修仙 吞天道王 魔非恶魔 禁地探险,开局扮演卡卡西,队友张麒麟 末世荡漾 修士无双 于乐不太成功的自传 e宝帐保单贷款 e贷款怎么取消吗 4s汽车贷款流程 e贷款要手续费吗 e宝帐保单贷款 60万贷款至少多少年 4s汽车贷款流程 8月份银行贷款利率 5万贷款利息9厘怎么算的 4s店买车贷款没工作 8月1号起贷款 8月1号起贷款 s生源地助学贷款 e贷款怎么取消吗 阿里车辆抵押贷款 e贷款要手续费吗 7贷合伙人贷款利息高吗 5万贷款利息9厘怎么算的 58贷款 申请过该机构 安美途贷款公司怎么样? e贷款怎么取消吗 安美途汽车贷款可靠吗 abs 监管账户 贷款 e贷款怎么办理条件 e招贷的钱还小额贷款 s生源地助学贷款 5万贷款利息9厘怎么算的 abs 监管账户 贷款 58贷款 申请过该机构 5万贷款利息9厘怎么算的 e贷款要手续费吗 e贷款怎么办理条件具备 安置小区可以贷款 阿里车辆抵押贷款 5分钟速度贷款 e贷款要手续费吗 安置小区可以贷款 4s汽车贷款流程 s生源地助学贷款 安美途汽车贷款可靠吗 安卓手机微信怎么贷款 4s店买车贷款没工作 qq没有贷款功能吗? 7贷合伙人贷款利息高吗 e贷款怎么办理条件 e贷款怎么办理条件具备 8月1号起贷款 安卓手机微信怎么贷款 s生源地助学贷款 4s店新车贷款0利息 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 武至争一 月下祈光者 灵魔使 都市:我被迫当上大反派 圣穹寂 皇冠登3出租 亚星管理平台 澳门葡京官网 皇冠登3出租 亚星官网 e招贷的钱还小额贷款 e贷款怎么办理条件具备 abs 监管账户 贷款 e贷款怎么取消吗 4s店买车可以贷款吗 51贷款黑户会下款吗 4s店买车可以贷款吗 安美途汽车贷款可靠吗 4s店新车贷款0利息 安美途汽车贷款可靠吗 s生源地助学贷款 安置小区可以贷款 8月1号起贷款 e贷款怎么办理 8月1号起贷款 s生源地助学贷款 51贷款黑户会下款吗 8月1号起贷款 安美途汽车贷款可靠吗 51贷款黑户会下款吗 e宝帐保单贷款 阿里车辆抵押贷款 e宝帐保单贷款 4s店买车可以贷款吗 60万贷款至少多少年 4s店买车贷款没工作 e贷款怎么办理条件 4s店无理由贷款 qq里有什么可以贷款吗 7贷合伙人贷款利息高吗