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"
猴子邮票画涂色首枚邮票金最新行情2005年邮票面值2001年澳门邮票2015年中国邮票目录(全)猴子邮票画涂色徐悲鸿奔马邮票24k度金2005年邮票面值文4邮票价格是多少钱60年的外国邮票2014最佳邮票评选结果2005年邮票面值20l6年邮票出了吗是2014最佳邮票评选结果上海能收集台湾邮票商60年的外国邮票邮票什么单位北方邮票交易中心2015年中国邮票目录(全)刘海粟邮票升值空间2016邮票年册价格多少北方邮票交易中心文4邮票价格是多少钱鸳鸯邮票多少普31中国鸟邮票大版2016年邮票图案普31中国鸟邮票大版2016年邮票行情怎么样刘海粟邮票升值空间1963年儿童邮票听老人讲民间故事奇闻杂谈惊悚传说还有最终结果知识就是财富。想看看老知识分子是怎么发财的吗? 这是一本能给你带来阅读愉悦感的书,一本能让你精神世界更丰富的书,一本能让你在轻松和快乐中增长知识与见识的书,一本脑洞大开的书。 如果拥有别人没有的知识也是一种异能的话,这应该是一篇社会异能小说。宋卫星在机缘巧合下一步一步走向人生的成功之巅。 善良是他的盔甲,知识是他的武器;脑洞大开的情节,不落俗套的故事,缜密的逻辑,真实的细节,虚构的小说,一篇用人物和故事写成的科学论文。 少年紫宸用一命认清兄弟,机缘遇雷元复生,得炼体法诀,踏上强者之路。 雷电淬圣体,造化铸天途!以坚韧之心,踏雷武巅峰! 新书《万道神帝》已经上传。流水线工人意外穿越至异界,开启了他的一段传奇人生。 梦里的你再强大也是真的,少年意外进入梦中世界现实里菜鸡的他在梦里体会到了力量的强大,于是在梦中世界迎娶白富美走向人生巅峰。转瞬即逝的红月出现后,林墨的家里竟然出现了一个身材高挑的大美女。   “小姐姐劫财还是劫色啊,要是劫色的的话我很乐意配合。”   “少废话,将你家里所有的食物交出来。”   林墨:???   从那天起林墨和她的同居日常开始了。   关键词:日常,恋爱,同居一个高中毕业的学生,带着一个幸运的锦鲤穿越各种平行世界,在各种平行世界中,他都是最强大的那个人...千万年薪的明星级青年才俊陆宇飞意外猝亡,其大脑失踪引发惊天悬案。是神秘邪医集团作祟?还是外星人意外停靠地球盗取?人类文明灵长地球之地位岌岌可危!一轮又一轮的奋力抗争与自我救赎,人类能否渡过史无前例的劫难?是自强不息,还是等待敌人的慈悲为怀?本书将带你穿梭于微观视界与宏观世界,经历灵魂之拷问与挣扎,一起探索人类之前途命运。一个村庄发生了一件骇人听闻的大事,年少无知的孩子捅破了天机,本以为事情过后会平淡一生,没想到…… 人生只不过是我们死之前的一点回忆。能否改变人生,不是从回忆里去改,而是从现在去改变。决定你未来命运的不是过去做过什么,而是你现在正在做什么。摆脱宿命的安排,挣脱命运的枷锁,打破这一切的双手长在我们自己身上。 天尊轮回,一个懵懂少年入踏入修仙路,不求长生,只为真我,寻找前世爱妻,解开前世之谜,打破今世枷锁,成就今世威名,改变天地法则,重塑未来。一步步成长为天地至尊回归真我。 当站在修炼之巅,蓦然回首,才懂得,上天注定的是一个结果而不是过程,由你做主的那部分是上天赋予你的权力,但最终谁也改变不了那个结果,人生只是一个自我认识,追求真我的过程,一场我们自己主宰的梦而已…………更多精彩请持续关注本书。
人类实是动物 普通修炼 校花女神别脑补,我们双向暗恋了 救赎的傀儡 月光猎人 朕要做千古一帝 觉醒白毛少女画风开始变了 堕神的契约 崩坏世界的刑天铠甲 故楚忆歌 电竞之路:昂狮 平常的人生 带着老滚的代码穿越异世界 大恶人系统 世界的面人旅行者 异常瞭望者 咸鱼少年也有征服梦 绝地求生之夺冠之路 北宋纨绔:开局狗头铡,包大人饶命 再去西游 文4邮票价格是多少钱 2015年中国邮票目录(全) 20l6年邮票出了吗是 2005年邮票面值 文4邮票价格是多少钱 反法西斯70邮票价格 20l6年邮票出了吗是 2014最佳邮票评选结果 2016邮票年册价格多少 猴年邮票金2016多少钱 徐悲鸿奔马邮票24k度金 徐悲鸿奔马邮票24k度金 2016年邮票年册 订购价 2015年中国邮票目录(全) 猴子邮票画涂色 2015年中国邮票目录(全) 2017邮票发行图稿 2016年邮票年册 订购价 反法西斯70邮票价格 2005年邮票面值 2016丙申猴年金邮票 2005年邮票面值 反法西斯70邮票价格 北方邮票交易中心 60年的外国邮票 邮票紫竹价格 2016年邮票年册 订购价 反法西斯70邮票价格 反法西斯70邮票价格 2016年邮票图案 2015年中国邮票目录(全) 猴年邮票金2016多少钱 2001年澳门邮票 猴子邮票画涂色 鸳鸯邮票多少 普31中国鸟邮票大版 2001年澳门邮票 邮票什么单位 鸳鸯邮票多少 上海能收集台湾邮票商 普31中国鸟邮票大版 2016年邮票价格表 刘海粟邮票升值空间 2017邮票发行图稿 2014最佳邮票评选结果 猴年邮票金2016多少钱 文15邮票价格查询 普31中国鸟邮票大版 邮票紫竹价格 文13邮票新票价格 亚星官网 亚星官网 亚星官网 亚星官网 亚星游戏官网 不可饶恕之罪 洪荒:家兄冥河,我稳健成圣! 世间至强师徒 我不是神父 孤枪点将台 AG真人 欧博官网 亚星管理平台 AG真人 百家乐官网 猴年邮票金2016多少钱 2015年中国邮票目录(全) 60年的外国邮票 邮票紫竹价格 1985年全国运动会邮票 刘海粟邮票升值空间 20l6年邮票出了吗是 2016丙申猴年金邮票 1963年儿童邮票 反法西斯70邮票价格 2016年邮票年册 订购价 1963年儿童邮票 普31中国鸟邮票大版 首枚邮票金最新行情 2016年邮票行情怎么样 2016年邮票行情怎么样 文15邮票价格查询 文13邮票新票价格 刘海粟邮票升值空间 2014最佳邮票评选结果 2016丙申猴年金邮票 猴年邮票金2016多少钱 猴子邮票画涂色 文4邮票价格是多少钱 邮票紫竹价格 2015年中国邮票目录(全) 2014最佳邮票评选结果 2015年中国邮票目录(全) 文15邮票价格查询 北方邮票交易中心