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"
贺州到广州的火车长沙112路到火车站网上改签火车票后再改签金城江至钦州火车站丹东火车站到大连机场大巴时刻表贺州到广州的火车苏州19路到火车站吗网上改签火车票后再改签梅河口到哈尔滨火车几点发沙湾火车站到彭山绵阳至沈阳的火车时刻表贺州到广州的火车安康到常州的火车车次绵阳至沈阳的火车时刻表网上改签火车票后再改签沙湾火车站到彭山火车西安到厦门的站站查询赣州市到抚州火车赣州市到抚州火车无锡河北霸州火车时刻表七月火车时刻表南丹从大理到洱源有火车吗?昌平北火车站有公交吗大石桥盖州火车时刻表丹东火车站到大连机场大巴时刻表沈阳到晋城的火车时刻表金城江至钦州火车站西安 万州 火车无锡河北霸州火车时刻表安康到常州的火车车次一个是格雷斯星的守护者,一个是诅咒之子,一次意外他们相遇了,但当他的真正身份暴露时,他还会一直陪在他身边?18岁是人生的转折,我的18岁也是一个转折,凌哥和爷爷应该是我的18岁礼物,四年的大学生活转瞬即逝,哥哥,凌哥和爷爷和我告别了。如果人生还有的选择,我又何必这样?公元前275年,穰侯魏冉率秦军进逼大梁,他不知道,大梁之中一个残病之人将会改变他的命运。公元前270年,一个叫张禄的神秘人物成为秦王客卿。公元前266年,张禄成为秦相,魏冉被逐出咸阳。公元前260年,秦赵战于长平,赵军被坑45万。公元前259年,秦军包围赵都邯郸,未来的始皇帝赵政生于围城之中。公元前256年,秦灭周。冬月,未来的汉高祖刘邦生于沛。公元前255年,张禄连同他的三人组一齐被杀。谁说站在光里的才算英雄!那一年,万里河山狼烟四起。 枪声惊醒山林,硝烟弥漫古观。 终南山玄隐观小道士宋修,秉承师命下山入世保家卫国。 激战中,他竟意外穿越现代。 会医术,懂武术,能占卜... 琴棋书画,吹拉弹唱,都会“亿”点! 靠着一身本事,他成为实至名归的国民神医,国粹传承人,武道宗师。 本书又名:《我真只是个道士啊》,《都市:靠道士身份开始出圈》,《穿越现代之好好活着》。阳衡意外穿越异界,觉醒亿万增幅修炼系统 系统:“少年,你想变强吗?来来来,只需首充六块下品灵石,你就是本系统尊贵的VP1会员。” 阳衡:“会员有啥用。” 系统:“能够解锁亿万倍增幅修炼,还能额外赠送系统大礼包。’ 叮,恭喜你充值成功,成为尊贵的VIP1用户,你将获得十倍增幅修炼,获得天赋神通固若金汤。 叮,恭喜你充值成功,成为尊贵的VP1用户,你将获得百倍增幅修炼,获得天赋神通六星火神之赞。 落魄皇子,龙游浅水,偶得机缘,困龙升天! 籃陌的力作《向世界说你好》.生活本该就是美好的存在.为了生活我们奔波在大街小巷.加班熬夜拿薪水.每个人都觉得上天不公.为什么别人能光彩照人.而我们却默默无闻.原因只有一个.那就是我们的努力远远不够.看似风光无比的的成功人士.你永远不知道他洒下多少汗水来证明自己的选择没有错.心中的苦.永不言弃的精神才是我们应该学习的.每个人都有自己的梦想.也许我们为了生活曾放弃过自己的梦想.我们也曾迷失方向.感到彷徨.忘记了最初的梦想,生活教会了我们这么多.让我们每天一起学习.一起成长.我们应该知道感恩.他就像我们的亲人一样.陪伴我们走完此生!“这是哪?我不是在家么?刚才好像地震了,我好像被压死了……那我就好好再活一世吧!”叶岚想着,时间已经过去了许久。 “首先可以排除这里是仙侠世界,因为按照常规的话,仙侠小说一般都是古代!也不是末世,所以说……难不成是奥特世界么?但是我还是需要再想一想才好!”叶岚可是博士生,思考能力可不弱! “那我最近去一趟商场吧!那里应该有新闻!” 第二天…… “因帕克危机?难不成……捷德?那我肯定在奥特世界了!不然不可能没人管贝利亚!” “诶!兄弟!还什么因帕克危机,贝利亚,肯定是假的!这图片肯定是伪造的,对吧?”一个男子碰了碰他,笑着说。 “我觉得很有可能是真的!”叶岚边想边说。 (叶岚内心:我?不是碍于颜面就说这里有奥特曼了!) “诶?为什么?”那个男子问他到 “因帕克危机是由于一颗导弹而发生的!从图片里仔细观察就能看出!只要有怪兽,就一定会有奥特曼的!这是以前的事情,但是隔了几年了,可能也会出现怪兽了!”叶岚朝他道。
剑封域 在修仙界活下去 舍我尊者 圣域九歌 玄能纪元 绝境逃生,全靠苟 有志者事必成之凤栖梧桐 轮回典之六道传说 冒险永不停 掠夺诸天万界的生存之旅 源战九天 星际探险:我让大夏国运滔天 被迫成为副本boss 剑飞大陆 剑久 汤姆掠夺诸天 重生之娱乐教父 重生离婚当天,我成了宠妻奶爸 地球男孩 真武帝君之缘定今生 磁窑到徐州火车票 火车票d5544 网上改签火车票后再改签 七月火车时刻表南丹 磁窑到徐州火车票 从吐鲁番到兖州火车 网上改签火车票后再改签 大石桥盖州火车时刻表 沙湾火车站到彭山 石门直遂溪的火车票 金城江至钦州火车站 金城江至钦州火车站 安康到常州的火车车次 火车票d5544 火车西安到厦门的站站查询 七月火车时刻表南丹 从茂名到梅州的火车 沙湾火车站到彭山 从大理到洱源有火车吗? 去山东泰安的火车站时刻表 火车票d5544 珠海至西宁火车票查询 绵阳至沈阳的火车时刻表 116火车 西安 万州 火车 安康到常州的火车车次 沙湾火车站到彭山 绵阳至沈阳的火车时刻表 从大理到洱源有火车吗? 沙湾火车站到彭山 去山东泰安的火车站时刻表 梅河口到哈尔滨火车几点发 苏州19路到火车站吗 福州到柳州的火车时刻表查询 绵阳至沈阳的火车时刻表 火车西安到厦门的站站查询 苏州19路到火车站吗 石门直遂溪的火车票 绵阳至沈阳的火车时刻表 廉江到陆川火车站时刻表 火车西安到厦门的站站查询 116火车 从吐鲁番到兖州火车 无锡河北霸州火车时刻表 昌平北火车站有公交吗 梅河口到哈尔滨火车几点发 白河始发火车 丹东火车站到大连机场大巴时刻表 石门直遂溪的火车票 苏州19路到火车站吗 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 神探5118 我的职业横断万古 我在恶魔时代当战神 尊武神录 一见任平生 百度 百度 百度 百度 百度 七月火车时刻表南丹 白河始发火车 从茂名到梅州的火车 网上改签火车票后再改签 沈阳到晋城的火车时刻表 安康到常州的火车车次 火车西安到厦门的站站查询 从茂名到梅州的火车 西安 万州 火车 火车票d5544 绵阳至沈阳的火车时刻表 沙湾火车站到彭山 廉江到陆川火车站时刻表 七月火车时刻表南丹 廉江到陆川火车站时刻表 从茂名到梅州的火车 火车西安到厦门的站站查询 廉江到陆川火车站时刻表 火车西安到厦门的站站查询 苏州19路到火车站吗 从大理到洱源有火车吗? 西安 万州 火车 绵阳至沈阳的火车时刻表 火车西安到厦门的站站查询 沙湾火车站到彭山 绵阳至沈阳的火车时刻表 长沙112路到火车站 磁窑到徐州火车票 安康到常州的火车车次 梅河口到哈尔滨火车几点发 亚星官网 亚星官网 万利官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网