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"
2017鸡大版邮票英国纪念品邮票建国三十周年邮票价格罗马机场有邮票卖吗关于马的邮票中国2017鸡大版邮票12生肖邮票设计图片大全建国三十周年邮票价格普通清朝邮票价格表1997一10邮票价格2017年邮票金建国三十周年邮票价格1981年食用菌邮票价格表2017年邮票金建军90周年四方联邮票1997一10邮票价格最新邮票狗图片大全图片大全82年妈祖邮票价格关于马的邮票中国猴年的陶瓷邮票图片及价格武汉大学120年邮票82年妈祖邮票价格普通清朝邮票价格表第一组三国特种邮票罗马哪里可以买邮票南商所停盘邮票怎么办罗马哪里可以买邮票寄包裹 贴邮票猴年的陶瓷邮票图片及价格最值钱的人物邮票或许有一天,当你踮起脚尖的时候,你会发现世界都变得广阔了一些。巅峰神王唐三为了找回不幸陨落的妻子,依然选择跟随妻子一同转世重生。他和转世的妻子之间会发生什么趣事,唐三又会如何在异世书写自己的不朽传奇呢?原始大陆乃是一个妖兽统治的世界,强大的凤凰和祖龙各自皆是一方守护强者。 少年十七本是神境强者之子却惨遭血脉剥夺,失去一切的他成为一名废人,直到她的出现将彻底改变他的一生。演唱会上,天后苏柒随机抽选了一位幸运观众,邀请与其一起合唱。 没想到,竟然点到了一个假粉丝! “那个,我能唱首原创吗?” 面对这种“冒犯”的要求,天后哭笑不得,但还是允许了。 没想到,这观众一开嗓,便是惊艳全场! “好家伙,来砸场子的?” …… 他就是写出《平凡之路》的顾城! 一个天才作家,网剧鼻祖,流行天王…… 还有,天后的老公!一名少年天赋异禀,因被手足残害险些命丧他手,不曾想因祸得福在机缘巧合之下寻得仙界神兵。当绝世神兵再现,引仙魔觊觎之时,他又将迎来一场怎样的命运呢?修仙世界,林羽梦中竟然连通未来!? 从此之后,别人练功我睡觉;别人寻宝我睡觉;别人宗门打比我还是睡觉…… 为什么一直睡觉还那么强? 林羽:呵呵,吾好梦中修行! 截胡未来女帝自创功法,再传授给尚未成长为女帝的苏可儿。 林羽:此功法很适合你,一定要勤加练习。 苏可儿:竟然如此精妙!可……还有下卷? 林羽:咳咳,这个日后再说。 苏可儿:日后? 不知想到了什么,苏可儿面色变得发烫,羞红了脸,低声道,”那……就跟我进屋吧……“ 林羽:??? “好不容易穿越一次,你却让我输得这么彻底,焯。” 林晨骂骂咧咧的端着眼前的黑糊糊一口闷了下去。 “赶紧林小子,喝完这碗还有一堆没喝呢。” 老头咧咧嘴催促着,丝毫不在意林晨的怪异。穿越成了朱元璋的孙子,朱允熥头大了。 他只想躺平,躲得远远的做个逍遥小地主,却没想所有人都以为他在演戏! 朱元璋:这孩子一无是处,可咱家怎么越看越喜欢? 朱允炆:我去!原来这小子一直在坑我! 朱棣:别装了,老子早就看穿你了! 朱允熥:??? 都特么有病吧? 爆笑大明,个个都是脑补高手,原来还可以这样当上皇帝! 缘若未尽,必有重逢。念念不忘,必有回响。成年人的告别仪式很简单,你没有回我消息,我也便默契的没有再发,就这样安静地消失在彼此的生活里,好像从没认识过一样。 每件事都是最好的安排,包括你出现,包括你离开,都是最好的安排。希望你比昨天聪明,比去年自由。 他日功成名遂了,还乡,醉笑陪公三万场。 我们不能改变现实,只能安慰“今天是离别是为了以后更好的相聚”。人生有初见,相识,就一定会有离别。可是,这样的离别,还是出乎了我们所有人的意料。 纵使受尽委屈!经常会问自己!我也要努力,有时候…….让人心痛的不是离别!而是离别后的回忆!“你说,这个世界上,真的有魔鬼吗?” “当然,你不就是?” “杀人偿命,天经地义啊。”
风之子于归 我真不是天道啊 我的修真游戏 帝君元神魂穿病娇王爷 绝世剑神 断梦疑凶 星游手册 轨迹留下的痕迹 斗破之天命神王 九州之云起龙骧 幕府医师 都市小东邪 行走在理想尽头的旅者 我出生带有魔道圣体 异域守护神 开局获得吐槽系统 天庭的世家代言人 这是一个满是大神的世界 抚顶红尘梦 建国三十周年邮票价格 孔子邮票图片 南商所停盘邮票怎么办 最值钱的人物邮票 2017鸡大版邮票 罗马机场有邮票卖吗 南商所停盘邮票怎么办 普通清朝邮票价格表 建军90周年四方联邮票 武汉大学120年邮票 第一组三国特种邮票 第一组三国特种邮票 关于马的邮票中国 孔子邮票图片 50分中国人民邮政邮票价格 最值钱的人物邮票 寄包裹 贴邮票 建国三十周年邮票价格 猴邮票2016原画作者 1994年狗邮票的价格 孔子邮票图片 1994年狗邮票的价格 猴邮票2016原画作者 12生肖邮票设计图片大全 苏州宝带桥邮票 关于马的邮票中国 建国三十周年邮票价格 猴邮票2016原画作者 猴邮票2016原画作者 建军90周年四方联邮票 最值钱的人物邮票 最新邮票狗图片大全图片大全 1999年中国邮票年册价格是多少钱 50分中国人民邮政邮票价格 罗马哪里可以买邮票 1981年食用菌邮票价格表 1999年中国邮票年册价格是多少钱 最新邮票狗图片大全图片大全 第一组三国特种邮票 建军90周年四方联邮票 罗马哪里可以买邮票 1999年中国邮票年册价格是多少钱 猴年的陶瓷邮票图片及价格 孔子邮票图片 2017年邮票金 50分中国人民邮政邮票价格 苏州宝带桥邮票 罗马哪里可以买邮票 特74邮票是哪一战争 1600元邮票 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 七元剑神 永恒成长 人在娘胎:我和女帝相爱相杀 圣龙武神! 纪元之花 AG真人 亚星管理平台 亚星游戏官网 快连下载 百家乐官网 建军90周年四方联邮票 2017年邮票金 苏州宝带桥邮票 南商所停盘邮票怎么办 82年妈祖邮票价格 武汉大学120年邮票 1997一10邮票价格 第一组三国特种邮票 孔子邮票图片 罗马机场有邮票卖吗 罗马机场有邮票卖吗 武汉大学120年邮票 武汉大学120年邮票 最新邮票狗图片大全图片大全 寄包裹 贴邮票 苏联二战期间邮票 建国三十周年邮票价格 猴邮票2016原画作者 1994年狗邮票的价格 英国邮票中国可以用吗 关于马的邮票中国 1999年中国邮票年册价格是多少钱 建军90周年四方联邮票 孔子邮票图片 50分中国人民邮政邮票价格 建军90周年四方联邮票 南商所停盘邮票怎么办 普通清朝邮票价格表 普通清朝邮票价格表 1600元邮票