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"
峨眉风光邮票邮票辨伪方法第二套十二生肖邮票80年 猴年邮票中国丝绸邮票峨眉风光邮票第三轮生肖单枚邮票第二套十二生肖邮票1975年t15邮票法国艺术邮票2001蛇年邮票峨眉风光邮票邮票 黄版2001蛇年邮票第二套十二生肖邮票南京邮票鉴定机构2002-14邮票中国丝绸邮票中国丝绸邮票2014年纪特邮票套票年册大版小版预定细则1996-30邮票个性化邮票目录1975年t15邮票世界第一枚邮票图片1983邮票t.88.(4-2)价格关公邮票珍藏册80年 猴年邮票第三轮马年邮票2014年纪特邮票套票年册大版小版预定细则贺龙邮票多少钱在一片花飞过澜沧江的时候,叶沧澜跳进冰冷的澜沧江。再次醒来,是1997年的那个夏天,青梅竹马,邻家姐姐,冷傲校花,火辣教师……致逝去的青春!太多的美好总是和遗憾挂钩,你无法忘记的美好,是你心底放不下的执着, 如同你总是看不到盛开的海棠花一样。昔日的皇子沦落于沟壑之间与盗匪为伍,父子之情,兄弟之爱像一条条锁链将他拖入深渊,可是时代的浪潮却一次次将他推入了权利的漩涡。 丈夫处事兮,立功名。是男儿就当顺天应时,率群侠草莽,逐鹿天下。 第一次写小说,不知道说什么好,我就不说了无数年前灵气复苏蓝星生命变异,人族岌岌可危。 此时,武者应运而生,终于在妖魔的攻击中寻得一丝生机。 林枫以武者为目标,日复一日却不得寸进,都是因为他做了一个奇怪的梦。 梦中,他如同在万万年前度过了一生,循环往复。 直到他发现自己居然能够影响梦中的自己,还能继承部分实力。 基础锻体法,修行百年!参悟出自然呼吸法! 基础血气法,修行千年!参悟出武神不灭经! 基础武者拳法(基础血气法),修行万万年!参悟武道神拳,一拳开天地! “他的基础功法……怎么和武神传下的残缺功法如此相像!” “为何他的炼丹技术……比之活了百万年的家族还要精通!” 直到无数年过后,通天大妖率众妖进攻,人族无力抵抗。 无数人鼎礼膜拜,诵经之声传遍天地! “求武尊救救人族!” 一道武神虚影自泰山之中走出,而这道虚影……黑暗侵袭,神明败落,复兴仙域,一人一剑,万古长存!龙灵大陆上人人习武,世人皆以武道强者为尊。 且看出身贫苦的穷小子如何修习武道,成为龙灵大陆上的绝世强者。被人打断腿的穷小子陆天意外获得屌丝逆袭系统,从此人生开挂,医武双绝。看内容吧道是有情却无情,只因烽烟起。利剑出鞘,却为苍生求太平。治大国如烹小鲜,村战一样要用孙子兵法。情节看似荒诞不经,却有迹可循。不一样的战争,不一样的视角,精彩还在继续,胜负还未见分晓。。
枫起云涌时 谍战求存之我只想活过一集 末世力王称霸 疯了!代课两月,竟全考985 万里江山图 元极仙尊 在校成神 活在封中 晤极锦玄 三国:开局召唤盖伦 冰河世纪后 无敌乞丐系统:开局一文钱 当红日临空 鉴鬼策展人 殿下何故又反 异市奇谭 我真的不是女装大佬 我在武工队 反穿越之末世重生 影中先生 南京邮票鉴定机构 第三轮马年邮票 第二套十二生肖邮票 中国丝绸邮票 邮票辨伪方法 第三轮马年邮票 2014年邮票面值 邹建军 邮票 中国第一张邮票的故事 邮票 黄版 民族团结邮票 民族团结邮票 世界第一枚邮票图片 南京邮票鉴定机构 峨眉风光邮票 1983邮票t.88.(4-2)价格 70年4分邮票 关公邮票珍藏册 辛亥革命邮票行情 第二套十二生肖邮票 寄信邮票价格 第二套十二生肖邮票 辛亥革命邮票行情 个性化邮票目录 法国艺术邮票 小龙邮票价格 关公邮票珍藏册 辛亥革命邮票行情 辛亥革命邮票行情 中国第一张邮票的故事 中国丝绸邮票 寄信邮票价格 80年 猴年邮票 峨眉风光邮票 世界第一枚邮票图片 1983邮票t.88.(4-2)价格 80年 猴年邮票 2014年邮票面值 世界第一枚邮票图片 邮票设计王虎鸣联系方式 1983邮票t.88.(4-2)价格 邹建军 邮票 2014年纪特邮票套票年册大版小版预定细则 70年4分邮票 2001蛇年邮票 寄信邮票价格 民族团结邮票 1983邮票t.88.(4-2)价格 小龙邮票价格 2002-14邮票 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 大秦:我能召唤万物 下临诸河 我和恶魔 逍遥神医:我奉旨成婚 幻宇灵荒 皇冠登3出租 亚星管理平台 澳门葡京游戏官网 皇冠登3出租 亚星游戏官网 世界第一枚邮票图片 第二套十二生肖邮票 邮票 黄版 70年4分邮票 七邮双联邮票 第三轮生肖单枚邮票 1983邮票t.88.(4-2)价格 1975年t15邮票 法国艺术邮票 世界第一枚邮票图片 世界第一枚邮票图片 贺龙邮票多少钱 第三轮生肖单枚邮票 南京邮票鉴定机构 1975年t15邮票 2002-14邮票 第三轮马年邮票 邮票辨伪方法 80年 猴年邮票 70年4分邮票 2014年纪特邮票套票年册大版小版预定细则 中国丝绸邮票 第三轮马年邮票 法国艺术邮票 邮票设计王虎鸣联系方式 世界第一枚邮票图片 民族团结邮票 邮票 黄版 贺龙邮票多少钱 寄信邮票价格