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年桃花邮票价格60元日本邮票2015炒邮票有风险吗江畔水乡邮票1997年邮票发行量13年桃花邮票价格巴林and邮票邮票 t9284仕女图邮票江畔水乡邮票庚午年邮票集邮大百科北京二版帆船肆分加盖“暂作叁分”倒盖邮票13年桃花邮票价格邮票 t92奥林匹克邮票展t74邮票1982t74邮票1982中国第一枚邮票是什么花样邮票的照片t74邮票1982巴林and邮票邮票中的五个福娃叫什么名字2015炒邮票有风险吗中华人民共和国邮票展览邮票多少元60元日本邮票外国邮票上的毛泽东中国鸟 邮票庚午年邮票集邮大百科九品丹王羽逸风,古墓糟友人陷害与红颜若水自爆同归于尽,不料一柄古剑带回13岁那年,若有来生不负妾,黄泉九幽任你游!若水等我!一身热血洒遍万古之道,天上天下,唯我独尊!“待大地之上响起我们的呢喃,待高天之下回荡起我们的战歌,死去的将从坟墓中爬出,活着的将从天穹外归来。”   “修我三尺剑,震我通天鼓,奏我战时歌,沸我不灭魂,我以我之血,染尽九重天。” 一个从死人堆里爬出来的普通士兵,忘记了前世今生,看着眼前这片陌生的世界,好奇,孤寂,恐惧…… 天有多高?三杯烈酒攀苍穹。 地有多厚?痴人一梦十殿游。在这个没有传说的世界里,鬼怪们成了人们研究的最为诡异,而他们研究出了对付鬼怪的能力,主角却并不拥有这能力,可他才是结局亦是开始。“师傅,快来呀” “别跑,看着点脚下” 师徒两个走在山间,欣赏着秀丽山河,眺望远处的日落。上古圣战,天现裂象,神州大地分崩离析,无数碎片散落宇宙化作万千小世界。 数百万年后,一名渔村少年意外踏上修仙路,是机缘巧合还是命运使然? 在这个神魔并立,人妖共存的世界,且看他如何一路披荆斩棘,步步飞升。刚准备重生的林墨被系统判定为极其危险的罪恶灵魂,不但拒绝与其绑定,还把他关进了系统空间,这一关就是一千年。 但林墨精神本来就有点问题,而且是个冷血杀手,他在系统空间里没有崩溃自杀,而是找到办法偷学了系统所有力量,最终打破空间。 出来的第一件事当然就是把系统的本体拽出来殴打一顿! 但一码归一码,偷学了系统的力量,也算是和系统完成了绑定,重生到了一个异界大陆的林墨必须要负担起赏善罚恶的重担。 而这对于林墨来说,是一件相当痛苦的事。 空气中竟含有限制生物进化的慢性病毒?!大气层是阻碍生物吸收宇宙能量的囚笼?!有外星文明针对地球?!2222年的2月22日,经过几百年的研究,地球人类研究所发表了一个个令人三观彻底颠覆的结论。在所有人的惶恐不安中,几百年后,研究人员发现空气中的病毒慢慢消失了,从那以后,一切好像都变得不一样了……黑暗降临的那一刻,全世界陷入了混乱……一名特战老兵面对凶残的变异者凭借一把消防斧杀出了重围,行走在满目疮痍的大地,他的伤口在慢慢结痂,基因序列在重新组合,一切才刚刚开始…… 你富可敌国?你权倾天下?在我面前都低调些。 我叫赵铁柱,普通小农民,可我既能救你的命,也能要了你的命。
一位HR的穿越之旅 小爷我不是公子 深空之灾 武道修炼第一人 茗刀 修仙从继承灵兽铺开始 思过崖签到五十年,出关邪剑仙! 元墟行者 天相述 待到缘分重来时 我在大山深处学雷锋 西安新青年 重生之武道法徒 一壶好酒 微醺 迷了吧!这是正经守墓? 女帝:世子才是真无敌 玄幻:做反派就要强无敌 宋朝男儿能戴花 太平除妖记 诡道天师 地球珍惜水邮票一套多少钱 94邮票 多少钱 奥林匹克邮票展 t74邮票1982 地球珍惜水邮票一套多少钱 毛泽东主题邮票珍藏 银 澳大利亚马年邮票 日本风景邮票 中华人民共和国邮票展览邮票多少元 庚午年邮票集邮大百科 巴林and邮票 亚洲主教联合会邮票 邮票中的五个福娃叫什么名字 邮票 t92 中国邮票图片大全 2015炒邮票有风险吗 澳大利亚马年邮票 中华人民共和国邮票展览邮票多少元 花样邮票的照片 江畔水乡邮票 94邮票 多少钱 13年桃花邮票价格 集邮公司 普票 邮票发行 北京二版帆船肆分加盖“暂作叁分”倒盖邮票 邮票 t92 邮票中的五个福娃叫什么名字 中华人民共和国邮票展览邮票多少元 集邮公司 普票 邮票发行 花样邮票的照片 中华人民共和国邮票展览邮票多少元 2015炒邮票有风险吗 94邮票 多少钱 60元日本邮票 江畔水乡邮票 外国邮票上的毛泽东 2015炒邮票有风险吗 邮票运筹帷幄 澳大利亚马年邮票 邮票中的五个福娃叫什么名字 邮票运筹帷幄 2015炒邮票有风险吗 三山五岳 邮票 中国第一枚邮票是什么 亚洲主教联合会邮票 北京二版帆船肆分加盖“暂作叁分”倒盖邮票 94邮票 多少钱 巴林and邮票 60元日本邮票 中国鸟 邮票 1997年邮票发行量 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 黑日之下 无限世界:请君入梦 旭日初升之灭灵战争 致五月的冬天 绝世杏林 欧博官网 百家乐官网 亚星管理平台 欧博官网 亚星游戏官网 齐白石邮票16张 2015炒邮票有风险吗 花样邮票的照片 花样邮票的照片 84仕女图邮票 94邮票 多少钱 60元日本邮票 庚午年邮票集邮大百科 邮票 t92 关于邮票的题 毛泽东主题邮票珍藏 银 t74邮票1982 三山五岳 邮票 地球珍惜水邮票一套多少钱 84仕女图邮票 中国鸟 邮票 2015炒邮票有风险吗 2015炒邮票有风险吗 花样邮票的照片 关于邮票的题 北京二版帆船肆分加盖“暂作叁分”倒盖邮票 84仕女图邮票 邮票运筹帷幄 2015炒邮票有风险吗 94邮票 多少钱 日本风景邮票 奥林匹克邮票展 邮票中的五个福娃叫什么名字 邮票运筹帷幄 集邮公司 普票 邮票发行