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"
海枯石烂 日本 小说横刀夺爱 小说苏茉儿 小说小说主人公姓陈的男性 有个姐姐三国之流民领主 无烬 小说剃度 小说穿越小说 主角是 嘲风苏茉儿 小说席娟的言情小说 全集下载库尔尼科娃 小说侦探小说 一个女孩功夫很好海枯石烂 日本 小说太疼了不要擦药小说dota大神 喜欢看小说苏茉儿 小说库尔尼科娃 小说当你孤单你会想起谁 小说神逆幻尘 醉美昏黄 小说神逆幻尘 醉美昏黄 小说烙铁 火盆 奴小说群山之巅小说 迅雷下载神逆幻尘 醉美昏黄 小说席娟的言情小说 全集下载冷刺3之风云再起 有声小说三国之流民领主 无烬 小说穿越架空生子耽美小说小说主人公姓陈的男性 有个姐姐冷刺3之风云再起 有声小说国士+布丁熊掌+小说太疼了不要擦药小说凶案连连发生,旷世绝学现世,原始森林险地,让不平静的江南,更是杀气满天。父母被辱,债主上门,女友背弃!俗话说的好,福不双至祸不单行,乡村小子王小飞本殷实的家庭,突发巨变,座座大山压在背上,难以喘息。 可不曾想,王小飞凭借家传之宝偶得透视之眼,从此他过上逍遥自在,人人向往的滋润生活。 可让他苦恼的是,遇到美女告白该何去何从? 作者:秋七幸 作品:立校高中 简介:许白和秦严在同一所高中而且心俩还是同桌(兼邻居)。后来他俩考上了同-所学校(清华),许白选择了土木工程系,而秦严则选了济经系。毕业后许白和秦严俩人过上了没差没涩的生活…… 拥有八年末日经验的蓝火突击队队长林云意外重生回末日爆发前半个月,迎接他的将是回光返照曙光,还是是黎明前的黑暗……两年前,父亲被人陷害入狱,白景明调查,被人丢下了悬崖,落入古洞,获得医道传承,后被西北狼牙特战旅所救,当了两年白狼, 两年后白狼强势回归,势要找回当年真相,欺我者害我者,统统等待我白狼的报复吧!这里没有无尽的斗气,没有瑰丽的魂环,有的只是无尽的诗词和读书人为尊的世界。 浩然正气孕忠魂,文华之气惊诸圣。 拳打诸子百家,脚踏天妖南蛮。 无数读书人长叹,天不生孟飞,儒道万古如长夜! 几个风华正茂的年青人,不同的际遇却有着相同的无奈把他们聚集在一起。为了尊严与恶霸抗争,为了生存不惜与朝廷刀兵相见。 他们大头领花月仙的带领下,杀贪官除恶霸,两败孙礼,水淹程世杰,巧战三路围攻。然后在金兵南下,国家危难之际,毅然北上抗金!怒斩朱彪,火烧梧桐峪,令金兵丧胆。 以此得到东平府徐朗将军的重用。她运筹帷幄之中,战则必胜。东平两败哈里同,青州道活捉野马川正副先锋,使金兵全军尽没,扬威齐鲁。 她知天文,晓地理,智勇双全,被誉为当代女诸葛。并惠眼识英才,使老麻一展平生所学,重创兀术,三败孔彦舟。后因老麻远赴朱仝之约,月仙小姐再度出山。保平阴战清河,三伏赵家沟,围李歼徐,使伪齐不敢南下…… 因此涌现出以花月仙为代表,陈方亮、秦月桥、高云虎、女将卢秀英、春桃,以及梁勇、梁春、孔方、周亮等一批抗金将领!白天是无业游民,晚上则放牧食尸鬼,种植僵尸,姜峰看着自己这偌大的庄园,脸上洋溢出灿烂的笑容,他明白自己又可以这样咸鱼下去了。蓝星位置暴露,万族窥视,毫无征兆的进入了星际时代。 魔窟降临,巨兽入侵,神灵坐镇其他国家,唯大夏无神庇佑! 在这个热武崩塌的绝望纪元,大夏全民参战,青壮皆赴死。 唯独夏薪,及冠之年,身强力壮,却选择和一群老弱病残一起,留在后方锻剑打铁…… 逃兵,懦夫,大夏之耻,全网怒骂,众叛亲离! …… 夜幕降临,一道遮天蔽日的虚影映照整个大夏。 “吾名传道者,穿越时空,对话先贤,传尔大道,以御强敌!” 对话燧人氏,见证第一缕文明之火诞生,顿悟薪火大道! 对话神农氏,见证神农尝百草,顿悟炼丹大道! 对话大禹,见证禹刊九州,凝聚气运九鼎,镇守国境…… …… 某一日,夏薪无事,身躯盘坐大夏上空,一人一剑。 诸神见状,纷纷退避。 “前方大夏,万族噩梦!!”一名前世的牧师,因为冤案而死在十字架上。 随之,他以新的身份来到这个世界,他开始改变自己,同时也在决定世界。 “当太阳下山时,就再也不会有光亮亮起来了。 ”为什么?“ ”夜灭使者来了。“
超凡:我体内寄居着邪神 霍格沃茨的抽卡欧皇 修仙原来这么简单 白玉古魔 六界圣魔录 我被零大侠PUA啦 苍玄神典 武神星空 神与棋局 武登仙门 扫黑:暗打 神雷淬体块! 太岁:不良少年到待业青年 狂焰神尊 镇魔师 女警也是警 枫起云涌时 另一个时空的秩序 斩彦 我自成山河 言情 小说免费阅读妾 男朋友是男仆大人 小说 当你孤单你会想起谁 小说 神逆幻尘 醉美昏黄 小说 言情 小说免费阅读妾 穿越小说 回到现代 星河小说 06小说 穿越架空生子耽美小说 太疼了不要擦药小说 席娟的言情小说 全集下载 当你孤单会想起谁 饶雪漫 小说 双颜乱 罗?? 小说 库尔尼科娃 小说 剃度 小说 三国之流民领主 无烬 小说 星河小说 穿越架空生子耽美小说 群山之巅小说 迅雷下载 海枯石烂 日本 小说 男朋友是男仆大人 小说 苏茉儿 小说 横刀夺爱 小说 dota大神 喜欢看小说 库尔尼科娃 小说 双颜乱 罗?? 小说 穿越架空生子耽美小说 横刀夺爱 小说 群山之巅小说 迅雷下载 穿越架空生子耽美小说 三国之流民领主 无烬 小说 男朋友是男仆大人 小说 发射原子弹弹大陆 小说 扣押 放人 外星文明 海枯石烂 日本 小说 冷刺3之风云再起 有声小说 三国之流民领主 无烬 小说 发射原子弹弹大陆 小说 扣押 放人 外星文明 当你孤单你会想起谁 小说 双颜乱 罗?? 小说 苏茉儿 小说 小说主人公姓陈的男性 有个姐姐 爵少的烙痕 圣妖 小说 烙铁 火盆 奴小说 当你孤单会想起谁 饶雪漫 小说 dota大神 喜欢看小说 男朋友是男仆大人 小说 当你孤单会想起谁 饶雪漫 小说 小说主人公姓陈的男性 有个姐姐 国士+布丁熊掌+小说 穿越小说 主角是 嘲风 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 我只是个天尊奶爸 神谕:崩坏 屹天而行 我在大宋卖报纸 最强禁制师 百家乐官网 澳门葡京游戏官网 葡京官网 百家乐官网 万利游戏官网 苏茉儿 小说 剃度 小说 小说主人公姓陈的男性 有个姐姐 横刀夺爱 小说 穿越架空生子耽美小说 言情 小说免费阅读妾 dota大神 喜欢看小说 小说主人公姓陈的男性 有个姐姐 侦探小说 一个女孩功夫很好 当你孤单你会想起谁 小说 当你孤单会想起谁 饶雪漫 小说 侦探小说 一个女孩功夫很好 烙铁 火盆 奴小说 星河小说 释衍尘 迎风兮 小说 释衍尘 迎风兮 小说 太疼了不要擦药小说 库尔尼科娃 小说 言情 小说免费阅读妾 苏茉儿 小说 小说主人公姓陈的男性 有个姐姐 当你孤单你会想起谁 小说 侦探小说 一个女孩功夫很好 双颜乱 罗?? 小说 剃度 小说 男朋友是男仆大人 小说 库尔尼科娃 小说 男朋友是男仆大人 小说 横刀夺爱 小说 库尔尼科娃 小说