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"
最好的礼物记叙文作文作文《学会交流》400字最美丽的 作文450字自主创业弊端英语作文祝贺考上大学英语作文最美是人心作文六百字作文 其实爱近在眼前最美丽的 作文450字中心和边缘作文素材忠与义的高考作文尊敬老师作文200字最好的礼物记叙文作文作文 原来600字 初中最美丽的什么作文800字最美丽的 作文450字忠与义的高考作文作文 雨后的发现中秋节民风民俗作文500中秋节民风民俗作文500自我控制英语作文作文:花的家乡中秋节民风民俗作文500中心和边缘作文素材自己在挫折中成长作文600字祝贺考上大学英语作文重拾工匠精神作文自主创业弊端英语作文中秋节作文900字初二重要的事英语作文作文 原来600字 初中遭遇背叛能够保持心态,遭遇绝境奋力拨开迷雾,遭遇不公执着于平等,遭遇低谷从未放弃,只为坚守那一份心中的美好玄灵界,这片拥有着十境九地的广袤大陆之上,每隔千年便会产生一次降灵异象,伴随异象应世之人被称为玄灵尊者,而每任玄灵尊者的使命,就是带领灵族众将,重新封印上古异族。神王系统可自主发布任务,完成后可以得到对应奖励,许浩一步步崛起……清末国家腐败无能,军阀林立,政权更替,百姓任人宰割,此时四川出现了一代枭雄……来自星辰的启示, 人与神明相抗争。 超前进化的智慧, 痴迷幻梦不愿醒。 败军之将,梦途惊醒,逆天改命,铸就新(醒)程。 都说庶子与家产无缘,但林弘却不这么认为,看上的东西,不给就抢,才是王道……通道异变,乱世将至。江辰通过秘术一步先步步先。在这群雄并起的世代,且看我江辰一剑斩妖,一剑除魔,一剑登天。 是丹帝重生?是融合灵魂?被盗走灵根、灵血、灵骨的三无少年——龙尘,凭借着记忆中的炼丹神术,修行神秘功法九星霸体诀,拨开重重迷雾,解开惊天之局。   手掌天地乾坤,脚踏日月星辰,勾搭各色美女,镇压恶鬼邪神。   江湖传闻:龙尘一到,地吼天啸。龙尘一出,鬼泣神哭。   本故事纯属虚构,如有雷同,那就是真事儿,想要对号入座,抓紧时间进群:487963015 微信公众号:平凡魔术师,或者搜索:pingfanmoshushi1982,公众号上有问必答,福利多多! 在这个人人都是重生的世界里面,每个路人甲都绑定着五花八门的主角系统,而我?不需要!开玩笑嘛?我可是千古一帝的转世!是在刚开始修行就能硬刚创世神的存在-_-,虽然战绩可能有点难堪,但是!这种精神就很可贵嘛——?天地异象,洪荒崛起,万事万物皆被抛弃,人如蝼蚁,生灵如草芥,是灾祸,亦是机遇,既然正义已经无法拯救世界,就让我跌入魔,坠入道,拯救芸芸众生。
末日重生之前世今生 星球无限 傲世苍穹之萧易传 三界无尘 诛仙阵图 内心的欲望 恶魔心索 三国:御龙归字谣 我让你开店你在末世当财迷 在异界当神祇的日子 不死道人 请 神 一剑镇万界 我会踮起脚尖 我!十年牌佬!君临游戏王! 驸马爷快跑,公主要找你报仇 灵珏点将录 末世求生:我有千倍增幅 泰拉瑞亚:万年之后 笙之物语 作文 平衡术 重要的事英语作文 祝贺考上大学英语作文 重拾工匠精神作文 作文 平衡术 最美的风景为话题作文 祝贺考上大学英语作文 最美是人心作文六百字 作文 原来600字 初中 最好的礼物记叙文作文 尊敬老师作文200字 最美丽的什么作文800字 作文 雨后的发现 重要的事英语作文 中心和边缘作文素材 重拾工匠精神作文 中秋节民风民俗作文500 作文 原来600字 初中 忠与义的高考作文 祝福同学考信英语作文 重要的事英语作文 作文:花的家乡 种树的英语作文带翻译 中秋节作文900字初二 自我控制英语作文 作文 雨后的发现 作文 原来600字 初中 种树的英语作文带翻译 忠与义的高考作文 作文 原来600字 初中 重拾工匠精神作文 自己在挫折中成长作文600字 尊师作文600字议论文 最好的礼物记叙文作文 中秋节作文900字初二 祝贺考上大学英语作文 尊师作文600字议论文 作文别具一格的我 自己在挫折中成长作文600字 尊师作文600字议论文 祝贺考上大学英语作文 作文 平衡术 自我控制英语作文 作文大全200字初中生 最美丽的什么作文800字 属于自己的钥匙 作文 中心和边缘作文素材 自主创业弊端英语作文 重要的事英语作文 作文 其实爱近在眼前 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 龙途龙屠 启灵之师 苏醒黎明 美人小村医 重生之我有司马家三百死士 澳门葡京官网 快连下载 欧博官网 澳门葡京官网 欧博官网 自我控制英语作文 作文 其实爱近在眼前 作文 其实爱近在眼前 最美丽的 作文450字 最美丽的 作文450字 重要的事英语作文 自我控制英语作文 尊师作文600字议论文 中秋节民风民俗作文500 种树的英语作文带翻译 作文:花的家乡 自己在挫折中成长作文600字 作文别具一格的我 作文父亲的手350字 最美的风景为话题作文 自我控制英语作文 祝福同学考信英语作文 中秋节民风民俗作文500 中秋节民风民俗作文500 最好的礼物记叙文作文 最好的礼物记叙文作文 自己在挫折中成长作文600字 重要的事英语作文 中考作文选材如何选材 祝贺考上大学英语作文 忠与义的高考作文 作文:花的家乡 中秋节作文900字初二 作文 雨后的发现 作文父亲的手350字