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"
宝宝为什么肝火旺盛宝宝为什么歪着头表面抗体 宝宝宝宝转氨酶高20宝宝头上长筛子怎么办宝宝为什么肝火旺盛宝宝蚊香贴那里卖表面抗体 宝宝宝宝整夜不喝奶正常吗宝宝嘴巴长泡吃不了宝宝嘴有味小便有味表面抗体 宝宝宝宝嘴唇发白但不铁宝宝嘴有味小便有味表面抗体 宝宝宝宝走路时手指小动作宝宝五个月呕吐的原因宝宝晚上发烧39.5度怎么办宝宝头上长筛子怎么办宝宝外出后回来睡不好宝宝走路脚弯宝宝晚上发烧39.5度怎么办宝宝整夜不喝奶正常吗宝宝腿露着会冷吗宝宝转氨酶高不降宝宝胃口不开半夜哭宝宝转氨酶高不降宝宝总是小便次数增多宝宝外出后回来睡不好拽宝宝卤门那的头发玄龙大陆,以武为尊。 少年叶平安得到败天武帝的至尊天眼,从一个卑微的蝼蚁,成为至高无上的绝世武帝! 一路上白骨累累,红颜多娇路飘摇,无敌路上太寂寥!主角:年休思 无CP 2044年,天降异象,天下大乱,六界融合,各个种族为了争夺生存资源而争斗不休。 人类在生存环境发生巨大变化的情况下,也产生了自我进化,人类之中的一小部分人有了神赐予的能力,被称为神赐。 神明居于天地之外,垂眸看天地干戈,慈悲怜悯终究只是幻想,大道至公,神明不会插手。 天地不仁,以万物为刍狗。 年休思是创世神,不只是人世间,还有天地万物。大道繁衍不休,天地的齿轮旋转,当年风流潇洒的创世神落入人间,经历多少轮回,来到了这个乱世。 终究是命中注定。 年休思生于斯长于斯,将自己在人世间的经历确认为自己的主体意识,偏向于人类,依赖于其自身的实力,最终使天地正位,六界分割,万物和谐,天下大同。 【家族流+不圣母+快节奏+半幕后流+半无敌】 一朝穿越,成为小家族家主的林洛,开局获得家族氪金暴击成长系统! 什么?天下万物,无不可暴击? 什么?暴击还能获得忠诚度? 给家主我使劲地暴暴暴! 天之骄子?去,我林家儿郎上去先扇他几个耳光! 修炼至宝?不好意思,我林家宝库不收这种垃圾! 武帝大佬?开玩笑,也就我林家护卫的水平! “天呐!我家家主逆天了!” 天骄辈出,大能投奔,林家之威,盖压寰宇! 且看林家如何在林洛的带领下,从微末小家族一步步成长为诸天帝族!韩彬穿越三国,意外觉醒震惊系统。 据说只要能震惊到曹操,就能开启金手指,走上人生巅峰。于是韩彬开始在曹操面前花式秀操作,企图震惊曹操。 结果却出乎意料…… 曹操:我得韩浩庭,如鱼得水也! 关羽:遇到韩彬这贼子,是我今生的痛! 刘备:要不是韩彬从中作梗,朕都要中兴大汉了! 诸葛亮:可悲啊!可叹啊!苍天何其不公,既生亮,何生彬! 糜夫人:可怜命运捉弄,不然我非韩郎不嫁! 韩彬:我真的只想开启系统啊!秦人席道全偶遇楚人蓝世云,先后错抓进府首府衙行医,不久楚暴发虫病,席道全被召为医者,不少医者因无法治好虫病被杀,席道全逃至楚,与蓝世云重逢,又一同入秦救治民众,得到秦人赞颂。后秦君驱三十万虫病大军伐楚,蓝世匀任拒敌前锋迎战秦军,秦军闻蓝世匀之名,纷纷弃械休战,请求治疗虫病,蓝世云与席道全一同摆汤药阵为三十万秦军治病。但此时虫病传入楚,楚君得知蓝世匀与秦人席道全一同曾为敌军治病,先囚禁了蓝世匀的上司卢世宗一家,又捉拿蓝世匀与席道全,席道全趁机卷走银子逃回秦,秦君也剩机再次驱重兵攻占楚,楚君无奈启用卢世宗,同时命蓝一出与施药救治楚民,卢世宗力退九部联军,席道全也在被俘人之中,又重与蓝世匀一同到民间治疗虫病,此时战败的秦君通过外交召回席道全,其它小国也来求医,不久,在一次聚会中,众王子误杀州首之子,虫病渐渐消失……一个命运特殊的孩子,一位爱子如命的父亲,当自己的儿子无意中踏上了命运之路后,作为父亲是万般不舍,因为担心儿子的安危他便开始了遥遥无期的寻子之旅。宇宙中人类也只是一抹看不见的尘埃,数百亿年前的地球是否有着同样的文明,又为何消失。 时光倒流回到如今或者过去,你是否会后悔曾经的选择,或者你想改变什么。 时光如火苗刹那的流光便是千百年,星空下又有多少未知的文明世界,是否各种结局早就已经注定。 是人类,还是未来科技,或是其他的文明在谱写宇宙中的轨迹与衡和。 地球仅仅只是宇宙中的一粒尘埃。 那为何你我一样在争渡,渡什么,过去,还是未来,或者是现在。“夕木成熟后可是很好吃的”“真的吗”“骗你干嘛”万年前,天都之主凭借一己之力,化解了人类所面临的绝顶危机。使得人类才能得以有机会发展至今。 而万年后的今天,危机再次悄无声息的出现。【圣女+无敌+御兽】 重生后的叶天,发现自己竟然成了魔教圣女手中的傀儡教主。 不甘命运的他却意外觉醒无敌神威系统,从此翻身为王,开启牛哔的开挂人生。 穿越第一天,神功速成,统御万兽! 穿越第二天,横扫八荒,力压诸天! 穿越第三天,夜晚,圣女找上门……
都市无敌大反派 至赖无敌 无限求生 不朽神台 混在皇宫假太监 暗格深处 浩瀚的校园 全球观众强迫我修仙证道 武神修炼日记 囚徒日记之飘零燕 末世之我真不想当潘跑跑啊 齐天大圣再战西游 神奇之环 不死剑君 明明可以拼爹但我偏不! 逐渐离谱的故事 灵陆:风屿 重生,自带无限技能 开向绿野春风 秋谨 宝宝胃口不开半夜哭 宝宝走路时手指小动作 宝宝希刻劳用量 宝宝头上长筛子怎么办 宝宝为什么歪着头 宝宝总是小便次数增多 宝宝希刻劳用量 宝宝嘴巴里长泡吃什么好得快 宝宝温度37.4怎么办 宝宝嘴唇发白但不铁 宝宝下巴留疤怎么办 宝宝下巴留疤怎么办 宝宝腿露着会冷吗 宝宝走路时手指小动作 宝宝为什么肝火旺盛 宝宝转氨酶高不降 宝宝细菌性反复发烧怎么办 宝宝胃口不开半夜哭 宝宝为什么会心脏杂音 表面抗体 宝宝 宝宝走路时手指小动作 表面抗体 宝宝 宝宝为什么会心脏杂音 宝宝晚上发烧39.5度怎么办 宝宝嘴巴长泡吃不了 宝宝退烧了还会发烧吗 宝宝胃口不开半夜哭 宝宝为什么会心脏杂音 宝宝为什么会心脏杂音 宝宝温度37.4怎么办 宝宝头上长筛子怎么办 艾可以给宝宝洗澡吗 宝宝转氨酶高20 宝宝为什么肝火旺盛 宝宝腿露着会冷吗 宝宝转氨酶高不降 宝宝转氨酶高20 宝宝希刻劳用量 宝宝腿露着会冷吗 宝宝正常的耳温 宝宝转氨酶高不降 宝宝嘴巴里长泡吃什么好得快 宝宝外出后回来睡不好 宝宝细菌性反复发烧怎么办 宝宝嘴有味小便有味 艾可以给宝宝洗澡吗 宝宝下巴留疤怎么办 宝宝转氨酶高不降 宝宝退烧了还会发烧吗 宝宝五个月呕吐的原因 亚星官网 亚星官网 亚星官网 亚星官网 亚星游戏官网 我,大契昏君,败光国运成天帝 小天地奇遇记 重生之娱乐教父 天道六界之光 异瞳者1 葡京官网 快连下载 亚星管理平台 葡京官网 皇冠登3出租 宝宝嘴巴里长泡吃什么好得快 宝宝头上长筛子怎么办 宝宝转氨酶高20 宝宝希刻劳用量 宝宝转氨酶高不降 宝宝嘴有味小便有味 宝宝五个月呕吐的原因 艾可以给宝宝洗澡吗 宝宝退烧了还会发烧吗 宝宝嘴巴长泡吃不了 宝宝退烧了还会发烧吗 宝宝为什么会心脏杂音 宝宝外出后回来睡不好 宝宝嘴唇发白但不铁 表面抗体 宝宝 拽宝宝卤门那的头发 宝宝为什么会心脏杂音 宝宝细菌性反复发烧怎么办 宝宝五个月呕吐的原因 宝宝外出后回来睡不好 宝宝希刻劳用量 宝宝整夜不喝奶正常吗 宝宝退烧了还会发烧吗 宝宝走路脚弯 宝宝细菌性反复发烧怎么办 宝宝为什么歪着头 宝宝走路时手指小动作 宝宝转氨酶高20 宝宝嘴巴长泡吃不了 宝宝温度37.4怎么办