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"
建行猴年金邮票82猴邮票价格中国银行猴年纪念邮票西厢记型张邮票关于狗年邮票建行猴年金邮票濮阳邮票多少中国银行猴年纪念邮票清代/蟠龙邮票918邮票90周年邮票发行量建行猴年金邮票2017邮票整顿最新消息邮票2016-15中国银行猴年纪念邮票918邮票南昌邮票公司96年生肖邮票多少钱96年生肖邮票多少钱青贵邮票交易1996年红旗轿车邮票96年生肖邮票多少钱清代/蟠龙邮票邮票价格查询 2O15-2关于狗年邮票2001兰花邮票市场价格西厢记型张邮票邮票行情列支敦士登 邮票196482年8分邮票价格2017邮票整顿最新消息隐藏在人类社会之下的非人生物,他们不受人类道德和法律的约束,凭借自己超凡的力量肆意妄为,制造混乱和恐慌,面对这种情况,一些大能们成立了灵异局来节制这股力量… 紧急通知!紧急通知!各位同修们,现人妖两界出现了严重的漏洞,妖界封印松动,二十年前的阵法威力正在不断的减弱,人间即将大乱! 各派宗门、各位同修们,请暂且放下各自的恩怨,团结起来,认真守护自己所在的城市和普通群众们,以谨慎面对妖族大军的侵略…… —— 凌霄殿 齐罗年 十二月 二十八日 乱世即将来临,作为一个普通人,苏云感到无比的艰难,他的任务除了保护自己的妹妹外,也要调查自己的不明身世。 就这样,这种过程虽然艰难困苦,但苏云也逐渐得找到了一些有用、却奇怪的线索。 知道真相最后,苏云才知道,自己做法真的太可笑了。只可惜,以前的事,他再也想不起来了……圆梦自此开启 因为系统出现故障,陈己辉没有成功穿越到自己想去的修仙世界,反而来到了万国争霸的世界,成为大炎王朝的皇帝。 从此开始,陈己辉便开始任意妄为。 后宫参政。 重用外戚。 宠信太监。 流放重臣。 陈己辉在努力的做好一个昏君,但是事情却逐渐超过了他的预料。 “恭喜陛下,梁国大军已经溃不成军!” “陛下圣明!国内粮食产量已经翻倍!” “喜讯!刘国请求纳入炎国版图!” 喜欢本书的读者,欢迎加入扣群:二零,二五零,久久七零。 李太平穿越修真世界,以为自己是个凡人,苟在新手村过清净生活,殊不知自己养的鸡是凤凰,宠物二哈是妖界狼皇,做饭的菜刀是上古神器,几个不出世的老怪物踏破虚空只为看他打拳,九天圣女自愿来当侍女……李太平蒙了,只见十方武帝跪在门前大喊:前辈!请收我为徒。 李江,一个不是这个世界的人来到了这个世界。他没有比别人更多的本事,唯一的长处就是他有别人永远都没有的经验。经验这个东西,可以让一个平凡的人成为神,不是神话里面的神。 李江,觉得自己不是神。他只是多了一点别人没有的记忆,这是老天爷的恩赐;或者是上帝的奖励。总之,他来了,带着神一样的能力,来到了这个世界。他不是来改变这个世界的,但是世界却要注定因他而改变! 哥不是神!但哥却可以成为神话!一个只处理监管之外事情的部门,不管是灵体,科技怪物,还是超人类都在其管辖范围。 我已经存在很久,很久了。 许歌穿越来到蓝星,这个异能者、武者纵横的世界。 毫无修炼天赋怎么办? 【实力选择系统激活】 许歌开启了另类变强的方法:御兽。 你是异能者中的至强者? 看我会冰火全能的神犬哈士奇,被咬记得打狂犬疫苗! 你是武破虚空的武者? 看我由草鸡进化成的凤凰,翱翔九天! …… 许歌看着敌人冷笑道:“你以为我有了神兽就开躺?不,我发奋图强成为武者,就为了你在和我家神兽打架时更好的欺负你!” 敌人:“所以这就是你打架还额外收费的理由?” 一个御兽的时代拉开了帷幕。 “御兽的开创者是谁?” “虚哥,不,是许歌!”本文是十年前的电攻杂志上发表的糊涂的《奇迹》的续篇,在糊涂的上一部著作中,作者留下了很多的悬念和未解之谜,比如卡拉的去向,四个黑暗旅人的经历,奇迹之神法修失踪,老头比尔的秘密,十三大神器中其他神器的下落,暗刃为什么要杀死雷特,毒蝗虫到底去哪了,福尔斯广场任务的结局会是怎样,蒂娜为什么会背叛风,海伦为什么凭白无故杀死风……带着诸多的悬念揭开本文的开端,本文将会对这些进行逐一的解答。 主角风,即将开始新的旅程,希望这本小说会给大家带来一个全新的感受,感谢大家对本文的关注。阳城三名初中生秉承不同的恋爱观,走向了三种人生。
三国利刃 网游之绝世剑尊1 网游之我真的只想搬砖 弦引 末世求生:开局到账1000亿 不灭神枪 修个锤子仙老子是来搞笑的 我在台资厂的那些年 轨迹留下的痕迹 天巡圣戒 不灭之万古仙帝 探索未知第一部 深空之灾 末日新生之林落 东周策 修仙从继承灵兽铺开始 时空公园 再生世界 修仙:从躺平开始 这所高中有古怪 重大事件发行哪些邮票 彩灯邮票图片 南昌邮票公司 96年生肖邮票多少钱 重大事件发行哪些邮票 台湾古代钱币邮票 2000年奥运邮票价格 2017年凤文物邮票图片 2001兰花邮票市场价格 2017邮票整顿最新消息 清代/蟠龙邮票 j169邮票的来由 邮票价格查询 2O15-2 918邮票 中国梅花邮票 关于狗年邮票 2000年奥运邮票价格 2001兰花邮票市场价格 1996年红旗轿车邮票 建行猴年金邮票 彩灯邮票图片 中国银行猴年纪念邮票 82猴邮票价格 邮票2016-15 918邮票 邮票价格查询 2O15-2 2001兰花邮票市场价格 82猴邮票价格 1996年红旗轿车邮票 2001兰花邮票市场价格 关于狗年邮票 彩灯邮票图片 西厢记型张邮票 建行猴年金邮票 邮票行情列支敦士登 邮票1964 关于狗年邮票 世界第一枚国旗邮票 2000年奥运邮票价格 邮票价格查询 2O15-2 世界第一枚国旗邮票 关于狗年邮票 澳门银行邮票价格表 青贵邮票交易 j169邮票的来由 邮票2016-15 彩灯邮票图片 清代/蟠龙邮票 西厢记型张邮票 82年8分邮票价格 濮阳邮票多少 亚星官网 亚星游戏官网 亚星游戏官网 亚星官网 亚星官网 万噬龙皇 离乡三千里 手能伸进动漫?拿出至尊骨 灵山有个人参娃 世界之罪!? 亚星官网 欧博游戏官网 欧博官网 万利游戏官网 AG真人 邮票价格查询 2O15-2 918邮票 清代/蟠龙邮票 1996年红旗轿车邮票 方寸邮票也能体现一个国家 澳门银行邮票价格表 建行猴年金邮票 关于狗年邮票 2017邮票整顿最新消息 濮阳邮票多少 2017邮票整顿最新消息 邮票价格查询 2O15-2 濮阳邮票多少 j169邮票的来由 2000年奥运邮票价格 918邮票 90周年邮票发行量 方寸邮票也能体现一个国家 中国梅花邮票 中国银行猴年纪念邮票 建行猴年金邮票 重大事件发行哪些邮票 澳门银行邮票价格表 南昌邮票公司 2001兰花邮票市场价格 邮票行情列支敦士登 邮票1964 2001兰花邮票市场价格 邮票2016-15 台湾古代钱币邮票 82年8分邮票价格