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"
孩儿面宝宝霜怎么样六个月的宝宝时间安排宝宝咳嗽2周宝宝喝多了牛奶会怎样宝宝光喝牛奶不吃母乳孩儿面宝宝霜怎么样宝宝22个月囟门没闭合宝宝咳嗽2周三岁宝宝总是便秘宝宝拉屎酸味怎么回事两岁宝宝怕人怎么办宝宝咳嗽2周八个月宝宝多久喂一次两岁宝宝怕人怎么办宝宝一天便便几次正常宝宝拉屎酸味怎么回事九个月宝宝白细胞高不发烧能降吗宝宝胀肚恶心呕吐是什么了宝宝光喝牛奶不吃母乳宝宝十三个月还站不稳两岁宝宝怎么喝奶粉宝宝胀肚恶心呕吐是什么了三岁宝宝总是便秘宝宝心肌炎的治疗方法7一24个月宝宝喂养指南怀孕八个月宝宝决氧会怎么样?7一24个月宝宝喂养指南宝宝吃了奶粉不舒服宝宝十三个月还站不稳宝宝十个月可以看电视吗早年的麦世庭,干啥都不行,周围人没几个瞧得上他,几乎没有几个朋友。 而他也只想每天打打游戏,只满足于能够吃饱喝足。 直到有一天,他经历一些事,刺激到了他的自尊,从此以后他开始决定要做人上人,在以后的岁月里他也经历了一些他自己都没想到的传奇经历。一次失恋的机会,就获得在另一个世界的传奇历程,画地为国,为生存而去思考和策划,嗯,编不下去了,就这样一位父亲每年都要来到某一地方凭吊先烈,他的作家儿子一直不清楚父亲以前到底做过些什么事,直到父亲在老宅拆迁时自杀后才展开深入调查。原来父亲老宅曾发生过惊心动魄的往事:一位财主的小妾李小娘子跟管家私奔致使李家大院遭劫,主人动用祖传生计银渡过劫难,其后代及其同学在上海造房、创业、革命的故事,李家风华绝代的女人和管家私奔遭土匪奸杀、奸夫因何掉脑袋,救人者为何成了杀人者、水鬼兄弟为何违反军纪替兄报仇、青年因何刺杀太后失败、心仪的女人却是旧情人、奸夫儿子怎么成了李家后代,女间谍挑起中日战争、五十年恩怨情仇随着大事件蓬勃展开……命运弄人,天地造化。不论前路有多么的不如意,皆要砥砺前行!当红歌手卫源一觉醒来,发现自己重生在平行世界的一个舔狗身上。 这一世,他有三个目标。 第一:赚钱!赡养母亲! 第二:成名!红遍全球娱乐圈,响彻大江两岸! 第三:痛撕天下绿茶! 顺便,把国民女神俞妙菡娶回家! “卫源,我们爱你!我要和你生猴子!” “卫源,请问当红天后柳冰冰对你暗恋已久,你打算怎么应对?” “卫宝,国民女神俞妙菡和新晋四小花旦之首的杨壹琳你选谁?” 聚光灯下,卫源侃侃而谈:“当然是选俞妙菡了!其他人都是我妹妹!”【修炼铁布衫,获得特效:无敌金身。防御一切伤害】 【修炼天雷刀法,获得特效:三重雷劫。释放雷劫,锁敌攻击】 【和女帝双修,获得特效……】 苏天魂穿万界,获天道特效系统,每修炼一种功法,自带一种特效。 “你的功法举世无敌?没关系,我的功法自带特效。” 我要救的人,地狱不敢留。我要杀的人,天堂不敢收。 莫管前身苦难事,不求后世万古名。 诸天万界谁最狂,唯我苏天第一浪!【江湖+鉴宝+盗墓】我从小没上过学,跟着一位漂亮女人学了十年手艺。十年时间,她锻造了我一对“鬼眼”,辨识天下奇珍异宝。练就了我一双“佛手”,破局下套横行无忌。教会我一身“神技”,从容玩转江湖乾坤。 我用多年来在古玩江湖摸爬滚打的亲身经历,告诉大家一个颠扑不破的真理:古玩不是玩古,而是玩人! 刘阳重生到平行世界,惊奇发现回到了08年老特拉福德的球场。 就在这个时候,自己所在的红魔正遭受维冈队有史以来最顽强地阻击。 对方后卫更是用恶意飞铲划伤了我方前锋。 维冈主教练气焰嚣张地在佛爵爷面前叫嚣。 “拥有巨星C罗和鲁尼又怎么样!被女王加封爵士又怎么样,还不是没办法!” 面对越来越近的比赛时间! 佛格森果断下令,换上刘阳。 刘阳不负众望,开启球王编辑器。 “完美的人球分过!三秒精准绝杀!” “我要裂开了,这是马拉多纳版本的彩虹过人吗?!” 一粒粒进球不断摧毁对手的心理防线! 从此红魔所向披靡!直指三冠王! 佛格森习惯性嚼了嚼口香糖:“夏国是一个人杰辈出的地方,刘阳必然也会成为一名闪耀的新星!” 温格教授震惊道:“怎么会?维冈十一人的铁桶方阵都换不来一个平局,那个刘阳是谁,快给我查!”我们每个人身体里,都有一种可怕,狂野和罔顾法纪的欲望,连那些看似温和的人也不例外。“变成一条龙是什么体验?” 叶寻变异了,拆完一个陌生快递,开启了疯狂的觉醒之旅。 他变成了真正的肉食性猛兽,食量剧增、力量疯涨,还因此而收获了美女总裁的垂青。 当叶寻力挫情敌,俘获佳人芳心,开始走向人生巅峰的时候,一场全球危机悄然降临…… 龙魂再现,守护华夏!
让你代管特长班,怎么全成学霸了? 诸天圆梦行 玄?秘 别吓我!话疗吧 轮回世界:只有我知道剧情 云间的梦 流光浩劫 侠二代的江湖历险 山海与剑 诸天从武林外传开始 境之破虚 运流 我的九队我的酒 末世少女戴安娜 重生之从遁去的三开始 万事屋故事会 玄幻:做反派就要强无敌 从国风开始,打造娱乐帝国 崩坏美好世界现世行 吾名三更 宝宝二十二天睡不稳 6个月宝宝讲话往一边卷舌头 九个月宝宝白细胞高不发烧能降吗 宝宝光喝牛奶不吃母乳 六个月的宝宝时间安排 宝宝吃了奶粉不舒服 九个月宝宝白细胞高不发烧能降吗 6个月的宝宝缺钙症状 怀孕八个月宝宝决氧会怎么样? 八个月宝宝多久喂一次 夏季宝宝空调房 夏季宝宝空调房 宝宝喝了奶粉吐 6个月宝宝讲话往一边卷舌头 孩儿面宝宝霜怎么样 宝宝光喝牛奶不吃母乳 怀孕两个月宝宝是什么情况 宝宝二十二天睡不稳 一岁宝宝不发烧白细胞22 宝宝咳嗽2周 6个月宝宝讲话往一边卷舌头 宝宝咳嗽2周 一岁宝宝不发烧白细胞22 宝宝胀肚恶心呕吐是什么了 宝宝拉屎酸味怎么回事 宝宝喝了奶粉吐 宝宝二十二天睡不稳 一岁宝宝不发烧白细胞22 一岁宝宝不发烧白细胞22 怀孕八个月宝宝决氧会怎么样? 宝宝光喝牛奶不吃母乳 宝宝学说话侧卷舌头 宝宝喝多了牛奶会怎样 孩儿面宝宝霜怎么样 宝宝心肌炎的治疗方法 7一24个月宝宝喂养指南 宝宝喝多了牛奶会怎样 九个月宝宝白细胞高不发烧能降吗 宝宝心肌炎的治疗方法 宝宝一天便便几次正常 7一24个月宝宝喂养指南 6个月的宝宝缺钙症状 宝宝十三个月还站不稳 怀孕两个月宝宝是什么情况 两岁宝宝怕人怎么办 宝宝学说话侧卷舌头 夏季宝宝空调房 7一24个月宝宝喂养指南 宝宝喝了奶粉吐 如何防止宝宝地包天 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 网游之青龙无敌 一本医书闯天下 从鬼灭开始穿越世界 血战匈奴 全民征战:创世神在线陪聊 亚星游戏官网 万利官网 欧博游戏官网 亚星游戏官网 葡京官网 六个月的宝宝时间安排 7一24个月宝宝喂养指南 宝宝十个月可以看电视吗 宝宝胀肚恶心呕吐是什么了 7一24个月宝宝喂养指南 夏季宝宝空调房 宝宝胀肚恶心呕吐是什么了 6个月宝宝讲话往一边卷舌头 怀孕两个月宝宝是什么情况 6个月宝宝讲话往一边卷舌头 一岁多宝宝半夜吐奶怎么回事 6个月的宝宝缺钙症状 宝宝二十二天睡不稳 怀孕两个月宝宝是什么情况 怀孕八个月宝宝决氧会怎么样? 宝宝学说话侧卷舌头 宝宝喝了奶粉吐 6个月宝宝讲话往一边卷舌头 怀孕两个月宝宝是什么情况 6个月的宝宝缺钙症状 6个月宝宝讲话往一边卷舌头 宝宝二十二天睡不稳 宝宝拉屎酸味怎么回事 宝宝22个月囟门没闭合 一岁宝宝不发烧白细胞22 宝宝22个月囟门没闭合 6个月的宝宝缺钙症状 九个月宝宝白细胞高不发烧能降吗 宝宝喝多了牛奶会怎样 宝宝十三个月还站不稳