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"
贷款费率1.8高不高金坛江南银行怎么做抵押贷款农村贷款结婚电商贷款app2015快递贷款贷款费率1.8高不高贷款一年利率是多少农村贷款结婚西安没工作的贷款人人贷二手车贷款佛山平安银行贷款贷款费率1.8高不高重庆 三套房贷款政策规定佛山平安银行贷款农村贷款结婚人人贷二手车贷款最高贷款利率2015快递贷款2015快递贷款镇雄县私人贷款台州银行贷款利息多少挂名法人为公司贷款西安没工作的贷款按揭贷款利率实际利率快递经营许可证贷款2016银行个人贷款电商贷款app无抵押贷款利息一般是多少镇雄县私人贷款贷款利息高怎么投诉大明万历四十八年,陈操因为一次意外魂穿明朝,开启了人生霸业之旅东汉末年,汉室崩塌。 刘闲意外穿越到这乱世,开始一段传奇人生。 利用遥遥领先这个时代的知识,收名将,戏红颜,混的风生水起。 同时训练出一支傲视当世的铁血精锐。 刘姓为王,大浪淘沙。 待一切尘埃落定之后,一个完全不同的大汉帝国重新出现在了大地的东方。现代少年余福穿越至同为余福的乡村少男身上,这里有等级森严的王朝制度,有心中向往的热血江湖,来到这个乱世又如何独善其身……一场车祸,一枚神秘戒指,带着夏天穿越诸天。 我曾和张三丰坐而论道,与小龙女烹雪煮茶;曾掠夺斗帝异火,也曾迎战诸天神佛! 诸天万界,都藏于一枚小小的戒指中。 修仙界大能陈苍玄在渡升仙劫之时被昔日仇家偷袭,导致穿越到只修武的大陆陈家的弃子陈枫身上,且看一个修仙者怎么在修武的世界一步一步走上顶端成为修武界的无上帝尊碌碌无为的男孩,无法描述的心情,破烂不堪的人生。上三句说的是作者下介绍作品:平凡的男孩遇上心爱的女孩找到人生存在的意义,两人互相鼓励共同努力,奈何天不佑佳人,总需要有人逆光前行女孩意外去世....中年马加辉被怀疑成杀害妻子的凶手, 唯一可以证明他不在场的证人是跟他有一夜情缘的少女, 但是少女正处在人生的困境中,爱情背离,亲情缺失,人生迷茫, 面对道德和良心的抉择,少女该如何抉择? 杀妻罪名能否洗清呢?马加辉该何去何从? 凶案的真相扑朔迷离,到底谁才是真正的凶手? 一个案件展开一幅社会图景,展现社会众生相。 你我都是一头困兽,只是牢笼各不相同。 每个人都在情感的困境中不断挣扎,不断突破,寻找出路。 如何才能突破困局,找到自我?千万不要翻开这本书。 从你翻开它起,你就被书中的灵缠上了。 它会赐予你想象不到的强大力量,但也要你付出对等的代价——一生坎坷,身不由己,事与愿违。 不要妄图与神作对,否则结局将是无比悲惨的; 也不要相信有可以超越一切的爱情。 …… ——所以,你看到了什么?人活着无论干什么都挺困难。即使坚守不招惹人的原则都躲不过被人刁难。即使是对的,在金钱和权力的逼迫下变成了错的。人活着是最痛苦的事了,压抑的怒火早已烧毁了心脏。人需要发泄的地方,请来疯狂直播间。有这样的几位帅哥美女他们的大学生涯毕业了,他们对自己的未来有着强势的优势。突然有一天,在他们面前有一道穿越时空的门,他们有长相有高度,他们选择了军营工作,他们几人在队伍里,逐渐的产生了深厚的友谊和团队精神,他们英勇的胆识组建了‘特战队’在任务结束后,他们走上了颁奖典礼,获得了最佳的荣誉称号。
月照梅花 严舆列传 我的新时代家庭农场 洪荒之彼岸 神夏龙燕 规则碎片 阴石镇:远古的呼唤 头七当天,我被校花借尸还魂 玄星超时代 俏无常 娘子是女魔头 长生记:轮回之界 我只想做个二把手 术门大劫:不灭雷霆 致奋斗的青春 重生之我是鬼神 大秦:开局觉醒暗影系统 传奇之路:天选者 长卿 坐稳扶好!下一站娱乐圈! 镇雄县私人贷款 贷款一年利率是多少 贷款后借给他人拿利息犯罪吗 供应链的核心企业贷款 2016年第三套房贷款政策 无抵押贷款利息一般是多少 2016年银行贷款利率是多少 贷款的保障分类 2014年民间贷款国家保护最高利息 重庆 三套房贷款政策规定 西安24小时空放贷款 西安24小时空放贷款 按揭贷款利率实际利率 人人贷二手车贷款 贷款费率1.8高不高 快递经营许可证贷款 私人放贷款好做吗 2016银行个人贷款 贷款后借给他人拿利息犯罪吗 农村贷款结婚 非本人贷款需要什么证件 农村贷款结婚 贷款后借给他人拿利息犯罪吗 挂名法人为公司贷款 供应链的核心企业贷款 2016年第三套房贷款政策 2016银行个人贷款 贷款后借给他人拿利息犯罪吗 台州银行贷款利息多少 2016银行个人贷款 2015快递贷款 非本人贷款需要什么证件 电商贷款app 贷款费率1.8高不高 按揭贷款利率实际利率 快递经营许可证贷款 电商贷款app 2016年银行贷款利率是多少 按揭贷款利率实际利率 支付宝授信贷款 快递经营许可证贷款 贷款的保障分类 镇雄县私人贷款 私人放贷款好做吗 佛山平安银行贷款 非本人贷款需要什么证件 西安24小时空放贷款 快递经营许可证贷款 2016年第三套房贷款政策 贷款一年利率是多少 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 人工智能拯救末世 与你最后的七日 我的仙王老爸 为师实在是太弱了 历劫缘 皇冠登3出租 亚星管理平台 澳门葡京游戏官网 皇冠登3出租 亚星游戏官网 按揭贷款利率实际利率 电商贷款app 按揭贷款利率实际利率 2016银行个人贷款 镇雄县私人贷款 最高贷款利率 西安24小时空放贷款 私人放贷款好做吗 农村贷款结婚 2016年第三套房贷款政策 农村贷款结婚 供应链的核心企业贷款 贷款的保障分类 农村贷款结婚 2016银行个人贷款 贷款的保障分类 贷款一年利率是多少 贷款利息高怎么投诉 挂名法人为公司贷款 快递经营许可证贷款 2016年银行贷款利率是多少 无抵押贷款利息一般是多少 镇雄县私人贷款 2016年第三套房贷款政策 西安没工作的贷款 非本人贷款需要什么证件 重庆 三套房贷款政策规定 台州银行贷款利息多少 金坛江南银行怎么做抵押贷款 台州银行贷款利息多少