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"
航空信用卡 多久金穗卡信用卡注销信用卡还款超过七天泰国信用卡可以取现吗工行信用卡如何做分期航空信用卡 多久建设银行信用卡积分能干嘛信用卡还款超过七天信用卡分期有宽限期吗平安银行信用卡 广发银行信用卡信用卡分期最佳期数信用卡还款超过七天交通银行信用卡积分能干什么信用卡分期最佳期数建设银行 信用卡 注销平安银行信用卡 广发银行信用卡交通银行信用卡+分期+下个月招商银行信用卡做分期工行信用卡如何做分期招行信用卡积分能干嘛京东光大信用卡分期手续费招商银行信用卡做分期信用卡分期有宽限期吗信用卡打印流水信用卡取现对提额有帮助吗招商银行信用卡账单打印信用卡取现对提额有帮助吗信用卡打印明细盖章招行信用卡积分能干嘛建行信用卡积分能干什么?镇物,也叫镇邪之物。在民间,镇物用于镇墓、镇宅等。 镇物用得好可以救人,而被心术不正的人利用,也能杀人于无形。林田获得随身空间种田,春花秋月,悠然南山,坐吃山不空。 他只想过好自己的小日子,实力却不允许他低调。 什么是钱?什么是美女?呵。 当灵果风靡全世界,人人求之不得之时,灵果制造商躺在摇椅上悠然撸猫,岁月静好。 然而,当危机降临到他在乎的人身上,要战,便战! 一身绝世传承,妙手回春! 可悬壶济世却受人白眼,惨遭诬陷? 但,是龙,当遨游九天! 一朝出水,必踏血而归! 每天稳定两更,点点收藏不迷路!我叫祝无双,原本是地府的一名鬼差,因为某些操蛋的理由,我被阎王派到阳间,去做一名高中女生的监护人。【天才,穿越,扮猪吃虎】在一个需要武魂才能修炼的世界,穿越而来的周庆却获得签到修仙系统,走上一条和这个世界所有人都不同的一条路:修仙。 恭喜获得体质:无瑕仙体,仙帝功法《轮回帝经》,伴生法宝:天帝剑。依靠签到修仙系统,周庆镇压一个时代,再强的天骄都被踩在脚下。 随着实力越来越强,周庆发现,自己的来历,貌似并不简单。 原来自己前世就已经无敌了吗?“我可是要成为主神的男人!”获得从天而降的系统李辛地说道。 “等我升个级再去招小弟” “就让主神的威名,从蓝星开始响彻星空吧!”操吴戈兮被犀甲,车错毂兮短兵接!个人奋斗史诗! 本该过着平静生活的楚云墨却在开学前夕收到一所神秘学院的邀请,在命运与好奇的驱使下,他毅然选择加入,开启了修真之旅,在这里他认识了来自世界各地的同学,老师。剑道学,炼金学,阵法学,占卜学等等颠覆了他的认知。在此期间,楚云墨无意间得知了妖神笔录的秘密,同时也明白了自己真正的使命,一场延续了千年的战局也终于迎来了它的终章。命运弄人,天地造化。不论前路有多么的不如意,皆要砥砺前行!【江湖+鉴宝+盗墓】我从小没上过学,跟着一位漂亮女人学了十年手艺。十年时间,她锻造了我一对“鬼眼”,辨识天下奇珍异宝。练就了我一双“佛手”,破局下套横行无忌。教会我一身“神技”,从容玩转江湖乾坤。 我用多年来在古玩江湖摸爬滚打的亲身经历,告诉大家一个颠扑不破的真理:古玩不是玩古,而是玩人!
天罗神功 空天猎 灵异:我与我的废物系统 牧羊记 山海凶猛 太阳帝国英雄传 科学应劫手册 网文大学笔记 梦魇时录 放牛之世 白棋?黑棋! 晴姐,等我的江山如画 世俗不可医 真相?真相! 告白与邂逅 综武:开局黑了小昭当店小二 大王狗子 三国:砍我!拼团秒杀刘备! 万族之帝 元世界:异度空间 信用卡为什么会还不清 民生通宝分期信用卡取现 交通银行信用卡+分期+下个月 工行信用卡如何做分期 金穗卡信用卡注销 信用卡打印明细盖章 交通银行信用卡+分期+下个月 中信信用卡怎么查积分 招商银行信用卡账单打印 交通银行信用卡积分能干什么 信用卡分期后晚还了两天罚多少钱 信用卡分期后晚还了两天罚多少钱 交行信用卡流水打印 民生通宝分期信用卡取现 航空信用卡 多久 工行信用卡如何做分期 为什么信用卡分期后没有钱取 信用卡为什么会还不清 光大银行信用卡申请被拒 信用卡还款超过七天 民生通宝分期信用卡取现 信用卡还款超过七天 光大银行信用卡申请被拒 招商银行信用卡做分期 平安银行信用卡 广发银行信用卡 交行信用卡流水打印 信用卡为什么会还不清 光大银行信用卡申请被拒 光大银行信用卡申请被拒 招商银行信用卡账单打印 工行信用卡如何做分期 不激活的信用卡有什么影响吗 泰国信用卡可以取现吗 航空信用卡 多久 信用卡打印流水 信用卡取现对提额有帮助吗 泰国信用卡可以取现吗 交通银行信用卡+分期+下个月 信用卡打印流水 建设银行 信用卡 注销 信用卡取现对提额有帮助吗 中信信用卡怎么查积分 招行信用卡积分能干嘛 为什么信用卡分期后没有钱取 信用卡分期最佳期数 不激活的信用卡有什么影响吗 信用卡分期后晚还了两天罚多少钱 信用卡取现对提额有帮助吗 交行信用卡流水打印 信用卡分期付款还可以刷卡吗 亚星官网 亚星游戏官网 亚星游戏官网 亚星官网 亚星官网 时之暗影 青蛙的呓语 道士别闹 请,停止进化 元宇宙之自由 亚星游戏官网 万利官网 欧博游戏官网 亚星游戏官网 万利游戏官网 光大银行信用卡申请被拒 信用卡为什么会还不清 招行信用卡积分能干嘛 民生通宝分期信用卡取现 信用卡分期付款还可以刷卡吗 信用卡取现对提额有帮助吗 中信信用卡怎么查积分 信用卡还款超过七天 交通银行信用卡+分期+下个月 信用卡分期最佳期数 信用卡为什么会还不清 信用卡为什么会还不清 信用卡分期后晚还了两天罚多少钱 信用卡分期有宽限期吗 建设银行信用卡积分能干嘛 交通银行信用卡+分期+下个月 交通银行信用卡积分能干什么 金穗卡信用卡注销 交行信用卡流水打印 不激活的信用卡有什么影响吗 建设银行信用卡积分能干嘛 信用卡打印明细盖章 平安银行信用卡 广发银行信用卡 航空信用卡 多久 交通银行信用卡+分期+下个月 信用卡分期最佳期数 信用卡为什么会还不清 信用卡为什么会还不清 民生通宝分期信用卡取现 平安银行信用卡 广发银行信用卡