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"
中国人民邮政邮票800元最贵的盖章邮票图片英国国内官方税费邮票亚太电信 邮票生肖邮票2008中国人民邮政邮票800元中国邮政邮票80分价格英国国内官方税费邮票关于环保邮票图片大全富贵吉祥贺岁邮票商务印书馆邮票好看吗英国国内官方税费邮票全套文系列邮票价格图片一带一路邮票总共多张邮票1999 14富贵吉祥贺岁邮票梅花邮票小型张发行量司马光砸缸邮票价位司马光砸缸邮票价位生肖邮票 名人讲解中国最贵的五枚邮票司马光砸缸邮票价位关于环保邮票图片大全镀金3o周年马邮票生肖邮票20082017高峰论坛邮票2017年发行的长卷邮票镀金3o周年马邮票生肖邮票 名人讲解全套文系列邮票价格图片在17岁的年纪里,即将开始人生的另一个起点………………李相如意外认主祖传古书,从此踏上了精彩纷呈的修真之旅末世降临,秩序重置,当奢繁的上流社会与朴实的下流社会相碰撞;当异兽横行,死亡如风;当一觉醒来,打工人的心脏里长出一个特殊“媒介”时……人类,似乎遇到了比末世更恐怖的危机。鲛人无意中看到唐敖一行,见他们一个个风度翩翩、举止不凡,心中好生羡慕;又听说唐朝是个繁华富庶之所,心向往之,于是一段艰辛的奇幻之旅便开始了。玩归玩,闹归闹,回到汉末三国还得跟我皇叔混! 昔日屌丝秦耀,自穿越汉末以来,身无所长,心无所居,惶惶度日十载,历经黄巾之乱,成刘备帐下一无名小卒。 大战前夕,上司张飞醉酒发狂,险先误杀秦耀。秦耀大怒:“阉人张飞,安敢放肆!” 【叮,你的外挂已上线!】 得最强打工系统,做最帅打工仔! 助刘备,平蛮夷,灭世家,除军阀,揽群芳于铜雀,招贤臣于麾下,安天下于掌握,扶明主于帝位! 纵横天地间,谁能与之相扛? 秦耀:“在下秦耀,愿助主公成就千秋大业!” 刘备:“我得汉明,大事可期!” 1997年10月20日,印刻着密密麻麻字迹的古卷通过一种特殊的方式来到这个人间,上面不断变换的文字记载的秘密仿佛是是一把枷锁。 ...... 1989年1月20日,一列火车行驶在白雪皑皑的铁路上。 ...... 长着一只巨手酷似传闻雪怪的怪物在这列火车上带走了一条人命,命运的流向开始朝着令人捉摸不透的方向行走。 ...... 民间俗事怪谈调查局,一个神秘的组织...... ...... 在这后背酝酿的是一场阴谋还是一场只为了人心争斗的纷争?谁都不知道......在这个世上活着的人,都有两面,笑脸下藏着恶魔,只是在刹那瞬间的爱也会转换成怨恨,而所有的怨恨会让这个世界血流成河,一寸前是黑暗,回头看也是黑暗,但是这样的黑暗,是谁也没有看到。而我所讲得故事,只是茶余饭后的闲话,您可千万别当真本书一切内容纯属虚构,剧情以小说世界观为准,设定和现实世界有一定差异性。 这是一部战争向的科幻作品,这里描绘了人类的发展历程。 在黑暗的星空之中,在利益与道德之间,人类该作何选择? 面对比自己弱小的原始文明,亦或是强大的奇迹文明。 加入,守护,掠夺,进攻。 联合舰队,启航! 鸽子进化成不那么鸽的鸽子了!尽量一天一更。 本书是原创世界观,世界观很庞大所以需要大量时间来概述。 这本书讲的不是一个人,而是一个世界。一朝穿越,杨轩竟被拉上学校舞台救场。 没想到自己却一曲成名了。 更让他没想到的是,这个世界的文娱发展滞后。 满足不了杨轩的精神世界。 那么,丰富文娱,只好靠我了!宋清书穿越综武世界,成为武当三代首徒宋青书,本应该是一个神仙开局。 然而宋青书已经杀了师叔莫声谷,还背叛丐帮,正在被陈友谅追杀,随时可能丧命。 就在这时,绝世舔狗系统激活。 绝世武库向他敞开,只要赚取积分,就能疯狂买买买。 九阳神功,买! 凌波微步,买! 战神图录,买! 咦,竟然还有八九玄功和草灭剑诀,难道……
曾经,曾经 美漫之绝对掌控 玄武奇侠传 一剑封情 命线 猩红危机 躺平的修仙之路 网游之VR竞技 魔域风云之长刀行 我在诡异世界修武道 玄幻:开局我无视天劫 社恐求生 轩辕圣世 小爷我不是公子 渡死 盖世师姐 九幽剑帝 封魔缘起 无:我也不知道在写什么! 崩坏世界的刑天铠甲 徐悲鸿五骏图500分邮票 猴年纪念邮票发行时间 梅花邮票小型张发行量 生肖邮票2008 徐悲鸿五骏图500分邮票 戊戌年邮票图 梅花邮票小型张发行量 韩国发行世纪回顾邮票 2017高峰论坛邮票 威海邮票市场 关于环保邮票图片大全 关于环保邮票的主题名 中国邮政8分邮票价格表 猴年纪念邮票发行时间 中国人民邮政邮票800元 生肖邮票2008 中国银行邮票册 2017高峰论坛邮票 带邮票的信封多少钱 英国国内官方税费邮票 猴年纪念邮票发行时间 邮票1999 14 最贵的盖章邮票图片 一带一路邮票总共多张 富贵吉祥贺岁邮票 中国邮政8分邮票价格表 2017高峰论坛邮票 最贵的盖章邮票图片 带邮票的信封多少钱 2017高峰论坛邮票 生肖邮票2008 商务印书馆邮票好看吗 亚太电信 邮票 中国人民邮政邮票800元 镀金3o周年马邮票 生肖邮票2008 亚太电信 邮票 梅花邮票小型张发行量 中国邮政8分邮票价格表 邮票1999 14 2017年发行的长卷邮票 威海邮票市场 生肖邮票走向世界 中国银行邮票册 一带一路邮票总共多张 猴年纪念邮票发行时间 关于环保邮票的主题名 2017年发行的长卷邮票 中国邮政8分邮票价格表 中国邮政邮票80分价格 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 异界牛马 香水与星河 吾为万兽之皇 狂浪至尊 直播算命:水友们,要相信科学啊! 欧博官网 亚星官网 万利游戏官网 欧博官网 澳门葡京游戏官网 镀金3o周年马邮票 亚太电信 邮票 徐悲鸿五骏图500分邮票 商务印书馆邮票好看吗 生肖邮票走向世界 中国邮政邮票80分价格 中国邮政邮票80分价格 邮票1999 14 亚太电信 邮票 生肖邮票 名人讲解 商务印书馆邮票好看吗 邮票1999 14 威海邮票市场 中国银行邮票册 生肖邮票 名人讲解 2017年发行的长卷邮票 中国邮政邮票80分价格 中国人民邮政邮票800元 中国最贵的五枚邮票 生肖邮票 名人讲解 中国邮政8分邮票价格表 全套文系列邮票价格图片 全套文系列邮票价格图片 生肖邮票走向世界 中国人民邮政邮票800元 镀金3o周年马邮票 中国邮政8分邮票价格表 英国国内官方税费邮票 亚太电信 邮票 商务印书馆邮票好看吗