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"
宝宝病毒感染发烧不退怎么办宝宝出麻疹后体温很低宝宝病毒高什么原因宝宝吃西花的做法大全宝宝吃蒸苹又喝奶宝宝病毒感染发烧不退怎么办宝宝超标了怎么办呢宝宝病毒高什么原因宝宝爸爸宝宝名字大全宝宝2岁牙齿有白斑宝宝15斤多大的衣服宝宝病毒感染发烧不退怎么办宝宝菜普大全带图片宝宝15斤多大的衣服宝宝病毒高什么原因宝宝2岁开始体重没长宝宝橙子中毒宝宝吃蒸苹又喝奶宝宝吃蒸苹又喝奶宝宝板机指住院多久啊宝宝长六颗牙齿图片宝宝虫子牙怎么办宝宝爸爸宝宝名字大全爸爸属狗宝宝属鸡好不宝宝吃西蓝花会过敏吗宝宝出生手特别大怎么回事怎么办宝宝吃西花的做法大全宝宝出月子剪什么发型宝宝板机指住院多久啊宝宝长牙发烧如何护理一身绝世传承,妙手回春! 可悬壶济世却受人白眼,惨遭诬陷? 但,是龙,当遨游九天! 一朝出水,必踏血而归! 每天稳定两更,点点收藏不迷路!“我是上古的神。” 上海,16年的夏天,陆贺遇见的那个在酒吧里喝醉酒的少女如是说。 陆贺没有理会她,准确点说,陆贺把少女当作是一个中二病患者。 18年,陆贺生意失败,回到高鹤市和父母同住,楼上每天晚上都很吵,像是在开派对,“忍忍吧!这几个星期都这样,我们都习惯了。”父母都是很懦弱的人。 陆贺忍不了,他不是不敢出头的乌龟,终于是在一天夜里,陆贺穿着睡衣就冲到楼上去敲门,开门的是一个少女。 “有什么事吗?”少女问。 “你能不能安静一点?你不睡觉,别人也要睡觉的!”陆贺没好气地说。 “我认识你,好像是16年,我和你见过。”少女若有所思地点点头,“进来坐,我有事情让你帮忙。” “你听不听得懂我的意思啊?”陆贺感觉面前的少女简直是在侮辱他。 “帮点忙而已。”少女说着走回房间,留下陆贺一个人在门口吹凉风。“应该没什么大事吧?她总不能绑了我”陆贺想了想,还是走了进去……挺讽刺的,这改变了他无聊的人生。 以此铭记那段时光。世界是被异常的嗜睡症击中,并出现大量人员昏迷。蔡苏宇陷入异常的嗜睡症,被转移到次元战场。一次机遇之下少年重获再活一世的机会来到了一处崭新的世界,这里没有花俏绚丽的魔法,人人却都崇尚修炼魂力,修行极其艰难却不断有人前仆后继,因为命运的安排少年同样踏上了这条永无止境的道路那他又会到达怎样的地步?这其中又会有多少命运的羁绊?又会有多少的艰难与辛酸...... &amp;lt;万界魂破&amp;gt;是我的第一本书,所以希望承蒙各位读者的关心 懒得介绍秦风被迫从游戏界龙头企业辞职后,加入了一家只有几个人的小公司。 制作游戏,我秦风还没服过谁。 看不起小游戏?《开心消消乐》《神庙逃亡》教你做人。 单机游戏没落了?仙剑系列,魂系游戏,剧情或难度,总有一款玩哭你。 网游模式单一?LOL,绝地求生,自走棋,这回不是打怪升级了吧? 就凭做游戏,也能做首富! 不信?做给你看!天道俯视众生,凝聚世间万法打造九重天阙,与之共鸣者可获天赐命魂,踏上修行登天之路。 顾铭,大楚史上第一个获赐七品命魂之天才,然成年之日,父母被杀、家族被灭、命魂被夺,临死之前侥幸踏入剑冢,铸造鸿蒙剑体,修行无上剑道。两年之后,顾铭离开剑冢重返世间,踏上剑道至尊之路,一剑可斩仇敌、可破九天、可镇诸天万域。一个宅男穿越到日本战国时代,逢凶化险,不断适应成长的历险故事。进入这家书店时,摆在面前的只有两条路:是选择甘于现状,过着后悔不已的生活;还是选择把自己的故事讲出,换取截然不同的结局。你将如何抉择?孤烟灼,大漠凉, 千绝弃吾伤,无人伴身旁。 万物若寒光,无处暖心房。 纵有心头怀热血, 不抵寒夜浸魂霜。
冰霜长流 文学杂记 我的一米书屋 曙光之壤 秃头电竞菜女的日常 玄幻:开局我无视天劫 异界之我的科技帝国 Revenge the end 鹏破九天 良程之一路相随 爷爷:你真带着地府打天堂 黟山传 从海贼开始诸天签到 灵气再现 超级神瞳鉴宝师 翻山记 朽魂万骨枯 弑涉 十方:是你们逼我称帝的! 罪恶城下星净土 宝宝爸爸宝宝名字大全 宝宝吃蒸苹又喝奶 宝宝菜普大全带图片 宝宝病毒高什么原因 宝宝爸爸宝宝名字大全 宝宝肠胃不好会攒肚吗 宝宝菜普大全带图片 宝宝15斤多大的衣服 宝宝长六颗牙齿图片 宝宝24个月体检有杂音 宝宝超标了怎么办呢 宝宝超标了怎么办呢 宝宝出生手特别大怎么回事怎么办 宝宝吃蒸苹又喝奶 爸爸属狗宝宝属鸡好不 宝宝病毒高什么原因 宝宝长牙发烧如何护理 宝宝长六颗牙齿图片 宝宝9个月不喜欢吃辅食怎么办 20个月宝宝突然说腿疼 宝宝吃蒸苹又喝奶 20个月宝宝突然说腿疼 宝宝9个月不喜欢吃辅食怎么办 宝宝吃铁锈了怎么办 宝宝虫子牙怎么办 宝宝出生手特别大怎么回事怎么办 宝宝爸爸宝宝名字大全 宝宝dadada什么意思 宝宝9个月不喜欢吃辅食怎么办 宝宝长六颗牙齿图片 宝宝病毒高什么原因 宝宝吃西蓝花会过敏吗 宝宝鼻尖一点一点点 爸爸属狗宝宝属鸡好不 宝宝出麻疹后体温很低 宝宝病毒感染发烧不退怎么办 宝宝鼻尖一点一点点 宝宝8天肚子叫 爸爸属狗宝宝属鸡好不 宝宝吃铁锈了怎么办 宝宝吃西蓝花会过敏吗 宝宝才长出一颗牙 宝宝板机指住院多久啊 宝宝9个月不喜欢吃辅食怎么办 宝宝15斤多大的衣服 宝宝24个月体检有杂音 宝宝dadada什么意思 宝宝吃西蓝花会过敏吗 20个月宝宝突然说腿疼 宝宝橙子中毒 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 诸天:开局忽悠李白开饭店 末日终结之废土求生 御兽:宝可梦纵横世界 归璞 东华大帝传 欧博游戏官网 百家乐官网 亚星管理平台 欧博游戏官网 亚星管理平台 宝宝长牙发烧如何护理 宝宝病毒高什么原因 宝宝吃西蓝花会过敏吗 宝宝菜普大全带图片 宝宝吃蒸苹又喝奶 宝宝吃铁锈了怎么办 宝宝15斤多大的衣服 宝宝出生头发多后变少 宝宝爸爸宝宝名字大全 宝宝出月子剪什么发型 宝宝2岁牙齿有白斑 宝宝虫子牙怎么办 宝宝2岁牙齿有白斑 宝宝dadada什么意思 宝宝菜普大全带图片 宝宝2岁牙齿有白斑 宝宝吃铁锈了怎么办 宝宝菜普大全带图片 宝宝橙子中毒 宝宝出麻疹后体温很低 宝宝橙子中毒 宝宝长牙发烧如何护理 宝宝9个月不喜欢吃辅食怎么办 宝宝吃西蓝花会过敏吗 宝宝15斤多大的衣服 宝宝虫子牙怎么办 宝宝长六颗牙齿图片 宝宝8天肚子叫 宝宝长六颗牙齿图片 宝宝鼻尖一点一点点