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"
买黑信用卡犯法吗买手机刷信用卡怎么办没激活信用卡注销没接到信用卡电话回访没有银行网点的信用卡买黑信用卡犯法吗梅州中行信用卡种类没激活信用卡注销买手机如何信用卡分期美国银行金卡信用卡美国信用卡逾期罚金没激活信用卡注销没有征信申请信用卡吗美国信用卡逾期罚金没激活信用卡注销吗美国银行金卡信用卡买车位能刷信用卡吗没有银行网点的信用卡吗没有银行网点的信用卡吗没必要用信用卡买手机如何信用卡分期付款没有银行网点的信用卡吗买手机如何信用卡分期没办过信用卡能办到吗没有银行网点的信用卡冒名被办信用卡没有推荐码建行信用卡没办过信用卡能办到吗没必要用信用卡没有征信申请信用卡吗凶兽来袭,地球生灵涂炭,异族入侵,华夏岌岌可危。守夜少年,长枪斩妖魔,强弓射凶顽,战强敌,斩凶神,灭界域,重塑天道。 且看,小小少年,华夏传武吊打金丹,一把长弓爆射元婴。在未来的某一天,一个人生极其平凡的青年被选中参与一项实验,他置换到了一处平行世界。新的人生并没有给他带来什么,宇宙有多浩瀚,他就有多孤独。后来,他发现自己最想做的竟是回到原来的世界。叶怀安跳江而死,是世道沦丧还是命中注定?九本经书各自又隐藏了什么样的秘密?在诸天宇宙中,地球是沧海一粟还是隐藏boss?欢迎来到玲珑塔的世界。 主角:姜氏家族族长“姜冥夕”自幼资质超群谋识过人是个万里挑一的天才少年,可本应该在闭关的姜冥夕却发现自己身在神骸禁地中... 女主:一个异世界的外来者,应一场意外阴差阳错的来到了地灵大陆,生活了15年后在神骸禁地遇见了失忆的姜冥夕开启了一段奇妙的姻缘。 修为分段:聚灵境—小元灵境—元灵境—小元地境—元地境—小元天境—元天境—元灵天位—元地天位—元天位少年李苏牧,自北地持剑而出。 为寻身世之谜,一人一剑,乱北荒,踏北洲,横渡冥海;闯东洲,撼东荒,决战天幕山。一行五人,被神明选中,穿越到非凡的异世界,在他们身上将会展开什么样的故事? 时代的齿轮开始转动,被掩盖的终将揭开,陷入沉睡的终将苏醒…… 假若你被黑夜所笼罩,请不要忘记光明的方向,黑暗吞噬的不是你的身体,而是你的心灵。叶帆重生在元宇宙刚刚开始的时候。 没有人比他更加清楚元宇宙到底是一个什么样的东西。 这是一个地球文明与高级文明联网的时代。 这是一个地球变异、人类接受各种全新科技、基因突变、生命进化的时代。 这是一个充满了机遇与挑战的时代。 前世的叶帆只能仰望强者,在卑微中走向死亡。 这一世,叶帆要向生命的终极进化迈进!掌混沌太荒之力,修真龙不灭之体,诸天万界,唯吾独尊,觉神脉,修神诀,武道之极,逆天屠神!你富可敌国?你权倾天下?在我面前都低调些。 我叫赵铁柱,普通小农民,可我既能救你的命,也能要了你的命。穿越成为镇南王府的世子,本来想安安心心当一个纨绔,上街打算强抢民女,却没想到一个不小心竟然抢走了微服出宫的当朝公主!更没想到的是,皇帝不但没有怪罪,反而将公主赐婚给他!不是吧,我真的不想当驸马爷!
幻散后往 开局灵气开挂? 情义山泉 修罗宁神纪 诸天殇 人逆流芳 灾厄狂潮 民进禁忌杂谈 大国上医 预案 我携三千诗书修圣人 神谕:崩坏 专生避免成为主角的我 拜见小天师 平子寻道 破片纪元 来到重生的世界 诡异入侵:我在人间镇压邪神 网游使徒 载物记 盲人能办信用卡吗 美国信用卡逾期问题 买车位能刷信用卡吗 没有银行网点的信用卡 盲人能办信用卡吗 没办过信用卡可以贷款吗 买车位能刷信用卡吗 美亚 信用卡 币种 冒名被办信用卡 没有征信申请信用卡 买期房能办信用卡吗? 买期房能办信用卡吗? 没办信用卡买房还贷 美国信用卡逾期问题 买黑信用卡犯法吗 没有银行网点的信用卡 买二手车办高额信用卡 冒名被办信用卡 买手机刷交通信用卡 没激活信用卡注销 美国信用卡逾期问题 没激活信用卡注销吗 买手机刷信用卡怎么办 美国信用卡逾期罚金 美国银行金卡信用卡 没办信用卡买房还贷 冒名被办信用卡 买手机刷信用卡怎么办 买手机刷交通信用卡 冒名被办信用卡 没有银行网点的信用卡 美国信用卡逾期还款 没接到信用卡电话回访 买黑信用卡犯法吗 没办过信用卡能办到吗 没有银行网点的信用卡 没接到信用卡电话回访 买车位能刷信用卡吗 没办信用卡买房还贷 没激活信用卡注销吗 没有推荐码建行信用卡 没有征信申请信用卡 买个pos刷卡机养信用卡 买二手车办高额信用卡 美国信用卡逾期罚金 美国信用卡逾期问题 买期房能办信用卡吗? 没有推荐码建行信用卡 没办信用卡买房还贷 梅州中行信用卡种类 亚星官网 亚星官网 亚星官网 亚星官网 亚星游戏官网 诡异世界吞噬邪神 药司 无敌林飞扬 真武三国 教主,节操何在 葡京官网 欧博官网 亚星管理平台 葡京官网 皇冠登3出租 买手机刷交通信用卡 没接到信用卡电话回访 美亚 信用卡 币种 没有银行网点的信用卡 没接到信用卡电话回访 买车位能刷信用卡吗 没有推荐码建行信用卡 美国信用卡逾期还款 梅州中行信用卡种类 美国信用卡逾期还款 没办信用卡买房还贷 美国银行金卡信用卡 没办信用卡买房还贷 买手机刷信用卡怎么办 没必要用信用卡 没有征信申请信用卡吗 没激活信用卡注销 没有征信申请信用卡吗 买手机刷交通信用卡 梅州中行信用卡种类 没有征信申请信用卡吗 没办信用卡买房还贷 梅州中行信用卡种类 买期房能办信用卡吗? 没办过信用卡可以贷款吗 买期房能办信用卡吗? 美国信用卡逾期还款 买手机如何信用卡分期付款 美国信用卡逾期罚金 没激活信用卡注销吗