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"
厦门驾校有女教练吗厦门集美嘉骑驾校厦门驾校预约厦门市和胜驾校怎么样咸宁金轮驾校具体位置厦门驾校有女教练吗威宁草海驾校报名费b2厦门驾校预约犀浦驾校考场在哪里咸阳驾校最大的咸阳驾校科目一考试厦门驾校预约湘潭三桥附近的驾校咸阳驾校科目一考试厦门启帆驾校林教练咸阳驾校最大的西宁驾校执勤咸阳驾校考科目四咸宁金轮驾校具体位置厦门驾校网上预约犀浦最好的驾校是咸阳驾校考科目四犀浦驾校考场在哪里厦门驾校科目一预约电话厦门外教场驾校厦门驾校考场地图厦门外教场驾校厦门驾校科目一预约厦门驾校网上预约小龙驾校信念之甲世界观下不同平行世界部分故事合集,主要是一些中短篇故事。人在善恶的取舍中,并没有旁观者。 孟子曰:“恻隐之心,仁之端也”。 我们称之为人性的东西,就是我们的同情心。 你温暖,这个世界便因你而温暖;你冷漠,这个世界便因你而冷漠。我秦飞,这辈子,有刀,有守护之人,足以。山寨,是一门艺术,尤其是重生之后。 赵子川带着十三年年的山寨经验,重活了……放眼望去,遍地是黄金。 从潮牌开始缔造。 他赞助女足,女足奥运夺冠。 他签下15岁的大姚,18岁,大姚就在NBA篮下称霸! 他拉低钩子价格,引来ad围剿,却淡淡一笑,“你们以为,我在做潮牌,实际上,我在投资这个时代。” “西兰,是神话。” “我也是。”一段七代传承中医人的故事,一首普通人的悲欢喜乐2403年,世界资源枯竭。各国形成整体,组成联合政府。联合政府统一了各国年代,各国的政府。因此,2403年又被称为2403时代。星空五年,人们发现了一个有生命的行星,这个行星上的人们任然是小农经济,没有步入工业时代。但他们其中却有奇怪的职业——武士。武士们会超艺,超艺能发出像幻觉、迅速等技能,让联合政府的科技无法匹敌。由此,一个充满危机的时代诞生了。明朝末年吏治败坏,山西、陕西、河南等地重大自然灾害不断,民大饥不能活,关外女真崛起,多次入关劫掠。 大明境内狼烟四起,明失其鹿,天下共擒之,一个医生穿越到明末成为庶子,庶子也风流,张景开始他精彩的擒鹿之旅。 【热血奶爸+超级神豪系统+幽默沙雕】   “张昊,我生了你的宝宝,三胞胎!”   “啥?”   看着眼前的美女校花,张昊满脸震惊!   这时……   “叮~恭喜宿主激活超级奶爸系统!”   “叮~给宝宝做饭,奖励超级厨艺!”   “叮~给宝宝唱哥,奖励超级音乐天赋!”   “叮~跟老婆造娃,奖励一百亿!”   张昊:什么情况?我咋蒙圈了呢???【我可以回家吗?】 【我让人找过了,提瓦特大陆不在这个世界,也就是说,你可能回不去了。】 【我需要回去,那里有我的朋友、战友……】 【我帮你,不过,你可能需要在这里呆一会儿,巴尔泽布,或者说,雷电将军小姐】 邹锦辉看着面前的女孩,露出了一丝微笑。 雷电将军想了想,点了点头。 因为 是这个人,在自己受伤和虚弱的时候,救了自己。 【那么,你想要什么东西报答呢?】雷电将军笑着问对方。 【以后再说吧】 邹锦辉看着她,笑了笑。皇帝倒台后,各地军阀割据,民不聊生。货郎一家五兄弟各自走上不同的道路,老大小货郎一步步逐渐做成大生意,开的分号遍及周边。鼎盛时期竟然可以自己发行小区域流通货币。 老二在家务农种田。老三更是成为一代当地名医。老四和老五分别参加了不同的对立双方,直至把枪互相。怎样抉择?敬请阅读本书
逍遥小王爷 元:师 都市医神狂婿 那些年的诡异事件 乡村公子 曼陀罗旅人 太阳黑雨 灵感随记 原来知识真是力量 穿到女频爽文的我风生水起 战婿狂医 手能伸进小说?我拿出了十 信鸿战纪 卡牌:我的纸片人新娘养成计划 奔向生命终结 亿万星辰,虚空寂灭 神之末代 当集体穿越之后 短篇小说集:一八 轩傲九天 厦门集美旺角驾校 咸阳驾校提档案吗 西苑到龙泉驾校 咸宁金轮驾校具体位置 厦门集美嘉骑驾校 厦门驾校科目一预约 西苑到龙泉驾校 咸运驾校提档案 厦门驾校考场地图 湘潭三桥附近的驾校 犀浦驾校考场地址 犀浦驾校考场地址 厦门驾校女教练 咸阳驾校提档案吗 厦门驾校有女教练吗 咸宁金轮驾校具体位置 息县扶贫驾校电话 厦门集美旺角驾校 厦门集美和胜驾校 厦门驾校预约 咸阳驾校提档案吗 厦门驾校预约 厦门集美和胜驾校 咸阳驾校考科目四 咸阳驾校最大的 厦门驾校女教练 厦门集美旺角驾校 厦门集美和胜驾校 厦门集美和胜驾校 厦门驾校考场地图 咸宁金轮驾校具体位置 咸阳驾校科目一考试预约 厦门市和胜驾校怎么样 厦门驾校有女教练吗 厦门驾校科目一预约电话 厦门外教场驾校 厦门市和胜驾校怎么样 西苑到龙泉驾校 厦门驾校科目一预约电话 厦门启帆驾校林教练 厦门外教场驾校 咸运驾校提档案 厦门驾校网上预约 息县扶贫驾校电话 咸阳驾校科目一考试 咸阳驾校科目一考试预约 犀浦驾校考场地址 厦门外教场驾校 厦门驾校女教练 西宁驾校执勤 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 烽火魔临 殉道之人 鹤云九天 我用卫生纸拯救世界 带系统重生走向世界巅峰 亚星官网 万利游戏官网 万利官网 亚星游戏官网 澳门葡京官网 厦门驾校科目一预约 咸阳驾校科目一考试预约 息县扶贫驾校电话 犀浦最好的驾校是 犀浦驾校考场地址 咸运驾校提档案 厦门驾校网上预约系统 厦门市和胜驾校怎么样 咸运驾校提档案 小龙驾校 咸运驾校提档案 厦门驾校科目一预约 小龙驾校 西苑到龙泉驾校 厦门集美旺角驾校 咸阳驾校科目一考试预约 咸阳驾校考科目四 犀浦驾校考场地址 厦门驾校女教练 厦门驾校有女教练吗 厦门驾校网上预约系统 厦门集美和胜驾校 咸阳驾校提档案吗 小龙驾校 厦门驾校有女教练吗 厦门集美旺角驾校 厦门集美和胜驾校 咸宁金轮驾校具体位置 厦门集美旺角驾校 厦门驾校科目一预约电话