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"
宝宝营养不良怎么看宝宝睡着眼睛里有血宝宝用睡袋还是会感冒宝宝眼睛老是抽搐怎么回事该怎么办宝宝羊水严重浑浊宝宝营养不良怎么看宝宝流鼻涕 脑液宝宝用睡袋还是会感冒宝宝吸奶很很累吗?宝宝衣服弄脏了怎么洗干净宝宝一岁多还不长牙宝宝用睡袋还是会感冒宝宝老是用手拍打东西宝宝一个瞳孔是椭圆形宝宝眼睛充血红肿宝宝衣服弄脏了怎么洗干净宝宝六个月只有13斤宝宝药膏有哪些宝宝药膏有哪些宝宝疫苗发浓宝宝膝关节弹响卡顿宝宝药膏有哪些宝宝吸奶很很累吗?宝宝突然频繁拉尿宝宝羊水严重浑浊宝宝听力会衰退宝宝眼周长小颗粒会痒宝宝突然频繁拉尿宝宝疫苗发浓宝宝老是用手拍打东西这是最坏的时代!这是好的时代!这是人类为刍狗的时代! 这是崛起的时代!崛起还是死亡?他会如何选择呢!在科技文明和自然科学的火山式喷发下,由现代化和新型文明笼罩的人类世界阴暗下的各个角落,正在滋生和蔓延着无数因人性的贪欲和野心而冲破禁锢的凶兽,如岩浆一般不断翻涌延伸,吞噬着整个世界。 人们吟诵着《七宗罪》的礼赞,为这个世界的变相毁灭奏响了最后一曲凄美的乐章。 一具畸形被改造的异变身躯,一丝灵魂深处的不屈挣扎,一颗坚守本心的钢铁意志。 如何在这外表光鲜却犹如炼狱般的“原始丛林”中奋勇求生,如何将这回光返照般的盛世打破而重塑,如何将泯灭的人性从深渊中救赎。 这一切而又一切的答案,早已隐藏于“人蛹”们蛹变之后的翅翼之中。 四十岁的酒水业务员李可,重生至1982年,凭借对后世的了解和天赋之眼的能力,开启暴富人生。人一生总有后悔的事,如果能重来你还会那样选嘛!我希望这部作品能涵盖上至弘达庄严的创世神话,浪漫史诗,下至充满奇趣的凡间故事,中国五千年的悠久历史,展现了宏大的画卷,波澜壮阔的背景,开拓了我们的想象力,让我们看到了人性的光辉。深邃的思想,和人性的真实。一个震撼万界之物沦落凡尘转化为人。将亿万年来平静的暗流,掀起一股惊天骇浪!! 一个千古难得一见的废物体质,却拥有万古无人能及的惊天悟性。且看,他在这被人觊觎的世界里艰难的开辟一条新的觅道之路……本书又名【大明:我人皇的身份被女帝曝光】。 绝世凶人朱厌,穿越到历史爽文《大明劫》中,成为存在感微弱的配角。 他本想安稳度日,跟着书中主角团队吃香的喝辣的,结果被迫绑定系统,拯救濒临毁灭的大明皇朝。 狗作者……你干得是人事儿吗?挖坑不填我就不说了,居然还太监? 现在轮到这些坑都要我解决……你妹!!!一介凡人妄图与天争个高低,实在是可笑至极,待看这天如何折磨这一介凡人。 我欲红颜斗万法,奈何苍天逆枉情。 【逆苍玄】有声读物已经开始更新,漫画版也在制作当中,敬请期待讲述主人公在一次历险中发现了自己拥有超能力,从此过上了开挂的人生。魔蛋传说之拳王大赛,是“想买跑车/想买跑车v10”的原创作品开局穿越,继承一家濒临倒闭动物园,一只动物都没有,仅有的鹦鹉还是穿越来的。 怎么办? 激活“神级动物园系统”。 本以为从此走上人生巅峰。 奈何,系统出品,必属精品,园里动物全是秀? 附赠“大明星系统”的金刚鹦鹉,唱歌算什么?请叫我午夜情感大师! 选择“严于自律系统”的大熊猫,别拉我,我还能干三百斤竹子,锻炼是不可能锻炼的,这辈子也不可能锻炼的! 觉醒“除恶为民系统”二哈,投降?谁让你们投降了?老子还没拆呢…… 立志于当社会大哥的平头哥,想当健美教练的袋鼠,消防兵的大象,要上战场的霸王龙,面对一个个“蒂花之秀”的动物,身为园长的苏白表示,我太难了…… 【日常休闲文,有温馨,有搞笑,看了不吃亏,看了不上当!】
极品透视小邪医 云山风云录 骷髅岛主 龙珠超,神界监察官 三国昭昊传 源主外传之不死神君 社团指导老师 仙尊归来之重活一世 禁欲森林 程序员修真之旅 凶兽降临,率领人族镇守九州 星垣九幽 幻影毒魔 再见亚西兰 瞎子剑仙,蜀山观像三百年 我的美食帝国 我家地里有龙袍 残阳起风雷 新化道有情 重生1998之大时代 宝宝一个瞳孔是椭圆形 宝宝四个月吃手很严重 宝宝营养不良怎么看 宝宝吸奶很很累吗? 宝宝一个瞳孔是椭圆形 宝宝一岁睡前喝多少奶 宝宝用睡袋还是会感冒 宝宝突然不愿意喝母乳 宝宝一岁多还不长牙 宝宝乙肝疫苗后红肿 宝宝眼睛老是抽搐怎么回事该怎么办 宝宝眼睛充血红肿 宝宝嘴四周黄黄 宝宝四个月吃手很严重 宝宝脸碰去凹陷 宝宝羊水严重浑浊 宝宝卤门被碰到的后果 宝宝听力会衰退 宝宝睡觉中喂奶 宝宝用睡袋还是会感冒 宝宝一岁睡前喝多少奶 宝宝眼睛充血红肿 宝宝睡着眼睛里有血 宝宝一个瞳孔是椭圆形 宝宝衣服弄脏了怎么洗干净 宝宝乙肝疫苗后红肿 宝宝听力会衰退 宝宝睡着眼睛里有血 宝宝睡觉中喂奶 宝宝听力会衰退 宝宝羊水严重浑浊 宝宝一岁多还不长牙 宝宝眼睛老是抽搐怎么回事该怎么办 宝宝营养不良怎么看 宝宝突然频繁拉尿 宝宝羊水严重浑浊 宝宝眼睛老是抽搐怎么回事该怎么办 宝宝六个月只有13斤 宝宝乙肝疫苗后红肿 宝宝眼睛充血红肿 宝宝眼周长小颗粒会痒 宝宝喂奶吃了一半就哭 宝宝阴唇红有小疙瘩 宝宝卤门被碰到的后果 宝宝一个瞳孔是椭圆形 宝宝一岁睡前喝多少奶 宝宝西瓜肚的原因 宝宝眼周长小颗粒会痒 宝宝乙肝疫苗后红肿 宝宝流鼻涕 脑液 亚星游戏官网 亚星官网 亚星官网 亚星官网 亚星官网 孰知阴阳 葛仙观传奇 捍卫者联盟:新纪元 当冥帝苟在人间 人道曙光 葡京官网 欧博官网 亚星管理平台 葡京官网 皇冠登3出租 宝宝乙肝疫苗后红肿 宝宝膝关节弹响卡顿 宝宝卤门被碰到的后果 宝宝睡着眼睛里有血 宝宝一岁睡前喝多少奶 宝宝喂奶吃了一半就哭 宝宝衣服弄脏了怎么洗干净 宝宝突然不愿意喝母乳 宝宝睡觉中喂奶 宝宝突然不愿意喝母乳 宝宝眼周长小颗粒会痒 宝宝羊水严重浑浊 宝宝突然不愿意喝母乳 宝宝卤门被碰到的后果 宝宝羊水严重浑浊 宝宝一岁多还不长牙 宝宝一个瞳孔是椭圆形 宝宝营养不良怎么看 宝宝疫苗发浓 宝宝衣服弄脏了怎么洗干净 宝宝吸奶很很累吗? 宝宝睡着眼睛里有血 宝宝睡觉中喂奶 宝宝老是用手拍打东西 宝宝用睡袋还是会感冒 宝宝羊水严重浑浊 宝宝脸碰去凹陷 宝宝流鼻涕 脑液 宝宝脸碰去凹陷 宝宝乙肝疫苗后红肿