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"
半岁宝宝突然不吃米粉宝宝牙上起了个大包宝宝扎完针能洗澡吗宝宝转氨酶300多发烧宝宝总是被尿憋醒大哭半岁宝宝突然不吃米粉宝宝打了乙脑疫苗发热怎么办宝宝扎完针能洗澡吗哺乳期感染hpv兑宝宝宝宝 舌苔 毛刺宝宝 抗病毒的药吃几天半岁宝宝突然不吃米粉宝宝应该不应该把尿宝宝 抗病毒的药吃几天宝宝扎完针能洗澡吗宝宝 色彩宝宝吃头孢克肟几天合适宝宝 积食 还特别能吃宝宝总是被尿憋醒大哭宝宝100天头发只剪短宝宝虚汗多是怎么回事宝宝 积食 还特别能吃哺乳期感染hpv兑宝宝宝宝 没食欲宝宝转氨酶高是乙肝宝宝咽颊炎会反复发烧宝宝转氨酶高是乙肝宝宝 便秘 药宝宝100天头发只剪短宝宝有火不爱吃饭大学生活刚开始,却遇上灵异复苏和异能觉醒; 且看一大学生的变强里程 (本人仅仅是位初中生,但觉得以大学生视角好写点,就在设定是主角是大学生了;如有不对,请及时提醒)闯入异世界,一路风景,一路风云。 为师复仇,为兄赴义,为爱天下敌。 少年身负血毒,一人一马,执刀横天下。 射程之内便是真理! 一切恐惧来源于火力不足! 当有金丹期修士在你面前耀武扬威,那你只需要拿起手里的大狙,和他好好讲道理! 当你不小心得罪一个宗门,那火力覆盖,饱和式打击你一定要试试。 什么?化身老怪组团来搞你?那这颗大当量核弹一定能告诉他们什么叫“世界核平”以同名漫画《大理寺日志》改编,添加了一个自设加入(且体可查看“附录”)作者初心是希望在加入自己自设人物的后时写一份精彩的《大理寺日志:文字版》希望大家多多支持! 附录:(其他人物皆出于原创,在此只介绍自己加入的角色了) 姓名:郑珏 身世:唐代五门望族“荥阳郑氏”的小女儿 身高:156 年龄:离家时年仅十三岁 武器:匕首 其他信息会在文中介绍,在此不便多说,望各位原谅一个失去小时候小子,阴差阳错的和小时候帮助的人走到一起 ,是否穷小子能翻身呢? 一位满目苍桑的老人,眯着眼倚坐在藤椅上,知吖吖的响着。藤椅旁,大黄趴在地上睡的正香。老爷子看起来就像是已经入土为安,躺倒在这片土地上一般。 一道光线照在老人身上,老人缓缓张开双眼。一个穿着黑衣的少女,站立于光束之下,看着这个年过花甲的老人,她的脸色有些悲戚,但却带着坚毅,眼中有着无尽的痛苦,看向这个老人的眼神也充满了复杂的感情。少女的右手紧握,似乎是用了极大的力气握住手中的长剑。 少女看向老人,嘴角露出一丝微笑。 “你来了”老人看着面前的少女,没有丝毫的惊讶,似乎早有预料,淡淡的说道。在空灵大陆上,修为决定着每个人的命运。大陆上,人的修为分为融体境,坚身境,铸心境,幻灵境,天元境,破玉境,芥子境,真元境,虚仙境,天神境,能登上天神境的强者少之又少,男主元翼在磨难中一步一步成长,在他向往的世界里,爱过,失去过,被人背叛过,终成一代强者。生活是如此的现实骨感,而不经意间进入到了异界却成为我打开生活的一扇门。太虚学院天才少年苏渊年仅十三岁就领悟出了剑意,由于天赋绝佳被太虚洞天收为弟子,最终苏渊修炼轮回圣体、毁灭圣体、雷霆圣体等等诸多圣体,成为顶尖强者,面对万千妖魔不退后半步,最终成为帝君,将妖魔一族彻底的灭杀,从此成为太虚世界的护界者。未来不仅只有星空大海,还有神话永生!自小能与神秘盖亚生命互换灵魂的东希,如何在这个世界走上巅峰!
三年整活,三年行 从城隍开始,地府我为尊 诡秘初中部 随性而活 窝藏地主的管家 影殿实习生名录 大汉:老子千古一帝 夜城侠影 爆笑末世之呆儍萌神 轮回:起源之地 孟婆传说的由来 我在国企摸鱼的每一天 火影之开局获得侠岚卦印 重生!数竞的我遇见她 黄墚记 朝阳记 德云社:总教习黄昏共勉 真我传之尘间旧事 江湖分两半 末日靳区 宝宝咽颊炎会反复发烧 宝宝 色彩 宝宝出鼻血吃什么 宝宝总是被尿憋醒大哭 宝宝牙上起了个大包 宝宝 便秘 药 宝宝出鼻血吃什么 宝宝异物卡住咳嗽 宝宝 扁桃发炎 艾灸 宝宝应该不应该把尿 宝宝出牙吃奶哼唧 宝宝出牙吃奶哼唧 宝宝 没食欲 宝宝 色彩 半岁宝宝突然不吃米粉 宝宝转氨酶高是乙肝 宝宝出生45天发育标准 宝宝咽颊炎会反复发烧 宝宝牙齿红是什么原因 宝宝扎完针能洗澡吗 宝宝 色彩 宝宝扎完针能洗澡吗 宝宝牙齿红是什么原因 宝宝 积食 还特别能吃 宝宝 舌苔 毛刺 宝宝 牙 从哪里长出来 宝宝咽颊炎会反复发烧 宝宝牙齿红是什么原因 宝宝牙齿红是什么原因 宝宝 扁桃发炎 艾灸 宝宝总是被尿憋醒大哭 不到一岁的宝宝发烧 宝宝转氨酶300多发烧 半岁宝宝突然不吃米粉 宝宝 没食欲 宝宝转氨酶高是乙肝 宝宝转氨酶300多发烧 宝宝出鼻血吃什么 宝宝 没食欲 宝宝直肠视频 宝宝转氨酶高是乙肝 宝宝异物卡住咳嗽 宝宝100天头发只剪短 宝宝出生45天发育标准 宝宝 抗病毒的药吃几天 不到一岁的宝宝发烧 宝宝出牙吃奶哼唧 宝宝转氨酶高是乙肝 宝宝 牙 从哪里长出来 宝宝吃头孢克肟几天合适 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 魔帝归来1 秘法:从入门到贤者 神魄附体之开天辟地 那些不堪回忆的高中生活 太荒龙帝 百度 百度 百度 百度 百度 半岁宝宝鸡胸 宝宝出牙吃奶哼唧 半岁宝宝突然不吃米粉 半岁宝宝突然不吃米粉 宝宝 扁桃发炎 艾灸 宝宝牙上起了个大包 宝宝总是被尿憋醒大哭 宝宝咽颊炎会反复发烧 宝宝 没食欲 宝宝转氨酶高是乙肝 宝宝 牙 从哪里长出来 宝宝出鼻血吃什么 半岁宝宝鸡胸 宝宝出鼻血吃什么 宝宝 舌苔 毛刺 宝宝出生45天发育标准 宝宝扎完针能洗澡吗 宝宝虚汗多是怎么回事 宝宝直肠视频 宝宝 舌苔 毛刺 宝宝转氨酶高是乙肝 宝宝直肠视频 宝宝出鼻血吃什么 宝宝转氨酶300多发烧 半岁宝宝突然不吃米粉 不到一岁的宝宝发烧 宝宝扎完针能洗澡吗 宝宝虚汗多是怎么回事 宝宝转氨酶300多发烧 宝宝虚汗多是怎么回事 亚星官网 亚星官网 万利官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网