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"
三个月宝宝横抱就哭三岁宝宝背上出黄汗三个月宝宝体重超标三个月的宝宝拉屎绿色三个月宝宝油耳朵躺喂三个月宝宝横抱就哭如何宝宝快速退烧偏方三个月宝宝体重超标三岁宝宝肠道细菌感染奶水少宝宝一吸就睡三个半月的宝宝爱睡觉三个月宝宝体重超标如何制止宝宝抠肚脐三个半月的宝宝爱睡觉三个月宝宝喜欢打挺奶水少宝宝一吸就睡三岁宝宝晚上喊腿疼怎么回事三伏贴4个月宝宝能用吗三个月宝宝油耳朵躺喂三个多月了宝宝还吐奶三岁宝宝流口水 发育慢三伏贴4个月宝宝能用吗三岁宝宝肠道细菌感染灯芯草宝宝降火好吗三个月宝宝笑没声音三岁宝宝经常呕吐是怎么回事啊三个月宝宝笑没声音三岁宝宝用地奈德乳膏三个多月了宝宝还吐奶如何给宝宝做基围虾伊凡获得修仙系统穿越到修仙界。 什么?让我出去闯荡?一点修为都没有我拿头去闯? 修炼五百年,达到仙人巅峰,修仙界的美女我来了! 啊!为啥把我修为全部封印,天道一定是嫉妒我长得帅!平凡的少年,不平凡的路,少年心中那不变的信念如此蜿蜒,却只因那一抹剑影踏上了不平凡的路途。 生如蝼蚁,当立问天之志! 命如纸薄,亦有不屈之心! 21世纪小伙,魏成,在一个雷电交加的夜晚,正在打王者农药,不幸被雷电击中穿越了,但不是整个人穿越到了什么时空,只是他的灵魂穿越了,穿越到了平行世界上的蓝星,平行世界的蓝星,足有百倍现实蓝星世界的大小,同样进入到了现代文明,且达到了3级宇宙文明,只不过是在异族外星文明小灰人的控制之下。平行世界上的蓝星,始皇帝嬴政依靠方士,长久存在的地下组织,与外星小灰人的帮助下,一举统一了整颗蓝星,从嬴政执政夺取天下,统一天下,在此期间有方士,有外星种族高科技文明,有传说中的仙人,还有比仙更高等级的神,这些离奇经历,为了一统蓝星,超脱时间长河,永生不死,成为高高在上的神,神比仙要高一个等级的生灵,就这样遭遇哄骗,把信仰和灵魂贡献给了异族。从此不入轮回,不升仙界,被永远困在了异界族类的困魂殿里。 小伙魏成,为了让华夏文明信仰复兴,不再被小灰人和西方魔神控制,毅然决然接下了,拯救整个蓝星人类文明信仰的重任。灵异+搞笑+器灵。 离奇失踪的合伙人让梁晓不得不接手调查社。 一个看似普通委托却让他接触到一个不一样的异世界。五万年前,天帝太衡曾在仙品至宝圣星大阵上算了一卦:天下之大,迷影之数;六界之外,轮回异时,抑扬,或天下太平,或生灵涂炭。   轮回,拥有吸收修为内力,灭魂控尸的力量,除此之外,一念之间,山崩地裂,空间崩塌,天地变换,星象破碎,就连拥有真神境界修为的人与其对战,一不留神,便会被其精神控制,吸收修为,成为傀儡。而且,幼年时期的轮回还有使自己起死回生,身体在生的能力。   不过邪不压正,就算大战已至,仍有洪荒老祖这样的英勇就义之士,为苍生献身,最后将其头目封印。   群龙无首,轮回大军发生内斗,自然不战而溃。   不过此战之后,六界众神非死即伤,大军伤亡惨重,如今最需要的,就是和平。   但多年之后,让众神没想到的是,一个神秘婴儿打破了寂静,没人知道他的来历,他的父母是谁。   天帝慈悲,命修罗之神扶养婴儿,天下太平或生灵涂炭,生灵涂炭已经见识到了,但天下太平,这又是多少人梦寐以求之事… 金融大佬曹明义意外身亡,回到上世纪九十年代,身份变成一个混子。 面对糟心的家庭,困窘的生活,看他如何一步步由小做大,翻云覆雨,站立傲世极巅!当陆七拿到了面具的时候,一切的一切都开始了……地府算什么东西,你凭什么资格,赏善罚恶? 地府算什么东西?现在我就来告诉你! 你们洗不了的冤,由我地府来洗, 你们办不了的人,由我地府来办; 你们担不了的因果,由我地府来担。 一句话,是是非非地,明明白白天! 赏善罚恶,大道特许。这就是地府,够不够清楚?逍遥江湖客,为世界和平努力九州天下,门派林立,朝廷纷争!一个江湖小势力,生存于各个势力之间……这是一个小势力的发展奋斗史。
都市盖世神医 火影之开局获得侠岚卦印 青春期间的一些故事 神明的到来 一位HR的穿越之旅 道心之崩 人人觉醒,结果你变身? 一天一个选择题 秘法:从入门到贤者 猎魔人河口传说 窝藏地主的管家 异界元素 争霸 绝命龙神 菩提道祖 宇宙重启:机械帝国 MC之创世神祝 李二:收手吧!大唐已经无敌了 深海之梦 天地符纹动九天 痴神怒 三岁宝宝的脚上有鼓包 三伏贴小宝宝 三岁宝宝晚上喊腿疼怎么回事 三个月宝宝油耳朵躺喂 三岁宝宝背上出黄汗 三岁宝宝用地奈德乳膏 三岁宝宝晚上喊腿疼怎么回事 三个月的宝宝大便条状 三岁宝宝经常呕吐是怎么回事啊 如何制止宝宝抠肚脐 三岁半宝宝不肯睡午觉 三岁半宝宝不肯睡午觉 三个半月宝宝睡眠 三伏贴小宝宝 三个月宝宝横抱就哭 三个月宝宝油耳朵躺喂 三岁宝宝一到晚上就饿 三岁宝宝的脚上有鼓包 三岁宝宝身上起痱子痒 三个月宝宝体重超标 三伏贴小宝宝 三个月宝宝体重超标 三岁宝宝身上起痱子痒 三伏贴4个月宝宝能用吗 奶水少宝宝一吸就睡 三个半月宝宝睡眠 三岁宝宝的脚上有鼓包 三岁宝宝身上起痱子痒 三岁宝宝身上起痱子痒 三岁宝宝经常呕吐是怎么回事啊 三个月宝宝油耳朵躺喂 三个月宝宝咳嗽流眼泪 三个月的宝宝拉屎绿色 三个月宝宝横抱就哭 灯芯草宝宝降火好吗 三个月宝宝笑没声音 三个月的宝宝拉屎绿色 三岁宝宝晚上喊腿疼怎么回事 灯芯草宝宝降火好吗 三个月宝宝喜欢打挺 三个月宝宝笑没声音 三个月的宝宝大便条状 三个多月了宝宝还吐奶 三岁宝宝一到晚上就饿 三个半月的宝宝爱睡觉 三个月宝宝咳嗽流眼泪 三岁半宝宝不肯睡午觉 三个月宝宝笑没声音 三个半月宝宝睡眠 蛇爸爸马妈妈什么宝宝 亚星官网 亚星官网 亚星官网 亚星官网 亚星游戏官网 小天地奇遇记 喜旺的乡村故事 封印神明 金灵神剑诀 飞星坠海记 欧博官网 亚星官网 万利游戏官网 欧博官网 澳门葡京游戏官网 三岁宝宝经常呕吐是怎么回事啊 三个月宝宝体重超标 三岁宝宝身上起痱子痒 三个半月的宝宝爱睡觉 三个多月了宝宝还吐奶 如何宝宝快速退烧偏方 如何宝宝快速退烧偏方 三个月宝宝横抱就哭 三个月宝宝体重超标 三个半月宝宝睡眠 三伏贴4个月宝宝能用吗 三个月宝宝喜欢打挺 如何制止宝宝抠肚脐 三岁宝宝一到晚上就饿 三个多月了宝宝还吐奶 三个月宝宝笑没声音 三岁宝宝晚上喊腿疼怎么回事 三个月宝宝横抱就哭 三岁宝宝身上起痱子痒 三个多月了宝宝还吐奶 三个半月宝宝睡眠 如何给宝宝做基围虾 如何给宝宝做基围虾 三个月宝宝横抱就哭 三个月宝宝横抱就哭 灯芯草宝宝降火好吗 三个半月宝宝睡眠 三个月宝宝体重超标 三个月宝宝笑没声音 三伏贴小宝宝