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"
老鼠会传染宝宝疾病吗两个月大的宝宝可用紫色水吗宝宝感冒咳嗽半个月没好7个月宝宝不肯喝水怎么办6个月宝宝疾病预防指导老鼠会传染宝宝疾病吗宝宝肺炎要住院多久宝宝感冒咳嗽半个月没好宝宝大衣肩宽宝宝喜欢抓小树玩宝宝唇系带肿块宝宝感冒咳嗽半个月没好三岁半宝宝口臭什么原因宝宝唇系带肿块宝宝长牙疼吃丁细牙疼胶囊好不好宝宝喜欢抓小树玩宝宝痱子抓破还可以用痱子粉吗1周岁宝宝吃了肥皂1周岁宝宝吃了肥皂男宝宝起乳名一岁宝宝拉肚子可以吃哪些菜1周岁宝宝吃了肥皂宝宝大衣肩宽宝宝感冒要吃消炎药吗6个月宝宝疾病预防指导宝宝把糯米饭刚生完宝宝可以吃粥和包子吗宝宝感冒要吃消炎药吗男宝宝起乳名三岁半宝宝口臭什么原因“当时太天真了,以为跟个大哥就有口饭吃,结果……”十三机众人擦擦泪,说:“现在肉都吃撑了,再吃就吃不下去了……大哥别打肉了,再打真吃不完了……什么?晚上还要做肉,老大求你了放我们出去打架吧!” “你们这算啥?”治安署的人一把鼻涕一把泪的说:“以为是两个破小孩拉起个组织要搞事儿,我们都准备好搞了加工资,你这谁想得到我们的治安还更好了……等一下,各位,我先不哭了,好像过了今天我们就是同一个老大了。” 这谁想得到?搞事情的组织还要当头。 这么说,工资的话…… “宣誓了,宣誓了。” 东南三区,并非长久安定;天下之稳,皆因大守门人。 “守门人 李思仁!” “守门人 张耀文!” “守门人 十三机机所有人。” “守门人 春秋战国集团。” …… “还有我还有我,这次我可赶上了。” “张家众人,李达夜和其徒张燚,参上!” 姐姐说过,江湖即人心,一切血雨腥风,不过互相的算计;一切冷暖依舍,不过利益所需; 或许我不应该离开那安逸的小岛,来到这热闹的华武之地,这样的话就不用遇到这么多糟心的事了。可是谁又会甘愿平淡的过完一生呢? ps:收藏越多更新越快哦六界纪实,十方苦难,八荒弥尘,唯道深远……师父说他道心天成,生而近道,是天生的仙人;师兄说要收他做小弟,主角光环罩着他;小师妹让他小心神女龙女魔女妖女圣女,出门在外记得保护好自己;亘古不散的残魂说他是洪荒的幽灵,摊上大事了,别想安生…… 懒鬼师父且不说,洛清尘打定主意是要离大师兄远点的,以免出意外,毕竟大师兄的机缘总是很废队友。至于心怀不轨的小师妹,最应该提防的难道不是她吗? 本欲世外清修做个仙人,奈何大道锁途,万古的残梦未散,终是不得闲。洛清尘入世种因,出世讨债,斩道斩道,剑斩的既是凡尘枷锁,却也是自己的道。 “道友,交易否?童叟无欺,等价交换!”大概没有人比兰宜池更衰了的吧! 毕业找不到工作! 演NPC莫名被密逃室的白影绊倒! 去酒吧喝个小酒还被女鬼搭讪! 无端端的在小区还碰到老头勾引。。。 好不容易欧了一次,捡了100块钱,转手就被忽悠着买了只鸟! 居然还有人说她有什么特殊命格,要一起拯救世界! 苍天啊!世界毁灭吧!二零一一年;陈林生以川渝作家协会委员的身份,保送川渝文理学院。 选择网络与新媒体的传媒系大一(三)班,陈林生邂逅了宝藏女孩沈蕙依,结识了305寝室的一群“沙雕”室友。 宝藏女孩和白月光,初恋女友与朱砂痣?大学果然美女云云;谁说大学很轻松? 兼职军训学生会,论文讲座辩论会? 翠柳湖畔,杨柳依依。 欢迎阅读《20世纪零十一,青春正好》!一座有着历史创伤的繁华都市,一片人心险恶的江湖,一群精明能干的警察,几个盘踞已久的社团,一个曾经大佬的儿子,如何在这波谲云诡、大风大浪中明哲保身?兄弟还是兄弟么?生意还是生意么?爱情还是爱情么?所有的道义、江湖、谋略、情爱,一副关于城市的地下江湖的历史画卷,都在这里慢慢展开......(喜多多,喜多多,熙少就是我) 这是一个近似未来地球的异世界。 名为“黑石”的神秘矿物能将人的情绪与欲望收割转化,为这个世界提供了近乎无穷无尽的能源。 普通人就是被无尽收割的活能源,如同“工具”和“零件”生存。 财团,高官,各种特权者们争权夺利。 而他将颠覆这个世界的规则。高端洪荒 大罗金仙超脱于时间长河之外,不死不灭 圣人全知全能,多元宇宙在其眼里没有任何秘密可言。 这里是诸天最恐怖的位面,是一切穿越者的坟墓。
斜阳且落西 轮回的诅咒 全球武魂:开局觉醒混元道宫 系统正在发育请主人怜惜 仙运再临 来自深渊的威胁 江山弈 虚假的 诡闻悬盗 贰拾玖楼 人之罪Human sin 我有一只大章鱼 永恒圣剑之天之痕 黑色余火 别人修仙我摆烂 网游:纪元征程 寄心生梦 永恒之万界都是我的 我是剑仙 印记契约 两岁宝宝发烧眼睛处有红点 21个月宝宝食谱大全 宝宝痱子抓破还可以用痱子粉吗 6个月宝宝疾病预防指导 两岁宝宝发烧眼睛处有红点 宝宝精神不好查出肺炎 宝宝痱子抓破还可以用痱子粉吗 一岁宝宝反复拉肚子怎么办 宝宝把糯米饭 18个月宝宝积食吃什么药好 两个半月的宝宝可以干什么 两个半月的宝宝可以干什么 宝宝4个月小便细远 21个月宝宝食谱大全 老鼠会传染宝宝疾病吗 6个月宝宝疾病预防指导 怀孕女宝宝初期症状 宝宝把糯米饭 宝宝打球蛋白有风险吗 宝宝感冒咳嗽半个月没好 21个月宝宝食谱大全 宝宝长牙疼吃丁细牙疼胶囊好不好 两个月大的宝宝可用紫色水吗 宝宝唇系带肿块 宝宝喜欢抓小树玩 宝宝4个月小便细远 宝宝把糯米饭 两个月大的宝宝可用紫色水吗 宝宝打球蛋白有风险吗 宝宝把糯米饭 6个月宝宝疾病预防指导 1岁宝宝能吃香菜吗 7个月宝宝不肯喝水怎么办 老鼠会传染宝宝疾病吗 宝宝感冒要吃消炎药吗 6个月宝宝疾病预防指导 7个月宝宝不肯喝水怎么办 宝宝痱子抓破还可以用痱子粉吗 宝宝4个月小便细远 宝宝长牙疼吃丁细牙疼胶囊好不好 刚生完宝宝可以吃粥和包子吗 18个月宝宝积食吃什么药好 20天宝宝胃出血 怀孕女宝宝初期症状 宝宝唇系带肿块 21个月宝宝食谱大全 两个半月的宝宝可以干什么 刚生完宝宝可以吃粥和包子吗 宝宝4个月小便细远 宝宝肺炎要住院多久 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 封闻大陆 散曲 肉蛋宇狗蛋 妖孽小书生 容臭 澳门葡京游戏官网 AG真人 快连下载 澳门葡京游戏官网 欧博游戏官网 6个月宝宝疾病预防指导 宝宝喜欢抓小树玩 宝宝打球蛋白有风险吗 宝宝4个月小便细远 21个月宝宝食谱大全 两岁宝宝发烧眼睛处有红点 四岁宝宝肚子有蛔虫怎么办 20天宝宝胃出血 一岁宝宝拉肚子可以吃哪些菜 1周岁宝宝吃了肥皂 1周岁宝宝吃了肥皂 两岁宝宝发烧眼睛处有红点 两岁宝宝发烧眼睛处有红点 宝宝大衣肩宽 男宝宝起乳名 宝宝精神不好查出肺炎 6个月宝宝疾病预防指导 宝宝长牙疼吃丁细牙疼胶囊好不好 三岁半宝宝口臭什么原因 宝宝感冒要吃消炎药吗 1岁宝宝能吃香菜吗 宝宝肺炎要住院多久 6个月宝宝疾病预防指导 一岁宝宝拉肚子可以吃哪些菜 一岁宝宝反复拉肚子怎么办 6个月宝宝疾病预防指导 宝宝4个月小便细远 两个月大的宝宝可用紫色水吗 两岁宝宝发烧眼睛处有红点 两个半月的宝宝可以干什么