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"
有手机贷款可以房贷吗有什么贷款是分期还款有谁在手机贷款不还的有公积金想贷款怎么办手续有结婚证异地能贷款吗有手机贷款可以房贷吗有哪些类似乐贷款的APP有谁在手机贷款不还的有房贷的房子贷款有没有可以贷款的app有两辆车办贷款有谁在手机贷款不还的有哪些贷款途径有两辆车办贷款有公积金想贷款怎么办理信用卡有没有可以贷款的app有其它贷款华夏易达金有借贷款利息怎么算的有结婚证异地能贷款吗有什么可以贷款信用卡提额有什么12个月的贷款有借贷款利息怎么算的有房贷的房子贷款有什么可以贷款信用卡有过小额贷款首套有什么好的大学生贷款软件有哪些方面有过小额贷款首套有什么好的大学生贷款软件有哪些问题有什么可以贷款信用卡提额有哪些方式可以贷款在艺校之中的人情世故公元2077年,龙华一中的一名高三学生陈与年,在一次偶然的巧合下,接触到了往生乡与堕落王室,还知道在不久的将来,这个世界将会面临一次大洗牌,但是他明白 ,无论往生乡胜,或亦是堕落王室胜,人民还是处于苦难,都不是理想世界 ,所以,他和志同道合的朋友, 向外寻找, 传说中的“天&amp;quot;!究竟他能不能找到“天&amp;quot;!世界真的会被往生乡或者堕落王室所统治吗?理想世界又是什么样子的昵? 苏陌,白慕雅两人因王者荣耀而相遇相识,会碰撞出怎么样的火花呢?让我们拭目以待吧。窝囊废赘婿冯一洵,无意中得到天师传承,成为最后一名天师。 面对出轨的妻子,无情的岳母,比自己更窝囊的岳父。 冯一洵从此开启了不一样的人生。 妻子:老公,其实那是个误会。 岳母:一洵,妈妈真的知道错了。 岳父:哥,咱俩以后就当兄弟处!当屌丝手握系统,身居皇位,又将给天下局势带来何种变化! 为尊恩师遗命,名震海外的暗夜君王李辰南龙隐都市;本以为娶个既漂亮又有钱的老婆,可以从此吃着软饭过上幸福平凡的生活,却不料红颜祸水,自此麻烦不断...... 本书又名《天脉至尊》,作者千万字人品保障,欢迎入坑!这是黑与白、善与恶的故事,这世间善恶、黑白的定义,又是怎样的定义。”市委副书记、市长尤施纲开讲:“今天高朋云集绘淇集团,我们西坛市可谓蓬荜生辉。 “我也即兴作一首诗,献给赵红都先生和绘淇集团: “一声龙吟震尘寰, “侠名远播美少年。 “携手英雄创大业, “空活白头当汗颜。”陈铁柱小时候是一个弃婴,被师父捡到抚养长大。 20岁那一年,师父告诉他,让他去下沙村做一名上门女婿。 师令难违,他一连做了5年的上门女婿,受尽了无数人的白眼,冷言冷语。 终于这一天,他爆发了.......剑未妥,江湖早,纵使不懂,也不默,少年啊,不归呀,吾辈皆是英雄! 鸟惊忽现白马,飘飘锦衣落梨花,少年呀,归来呀,千年谁复重生?一剑动京华!
超光速逆流 黑黯 御临十方:十珏 异变灵界 无敌神婿 携宗门逃亡 问仙赋 天罡童子举世无敌 剑仙养成录 寻神器记 西游:我,金钱豹,重金买下凌霄宝殿! 送货小子的逆袭之路 玩家还是玩具? 唯境 穿越之我的系统不对劲 玉京封神战 记忆废墟 系统大战老爷爷 白雪下的蓝天 少年吸血鬼与女勇者 有什么贷款是分期还款方式 友利贷款客服电话 有其它贷款华夏易达金 有结婚证异地能贷款吗 有什么贷款是分期还款 有什么好的大学生贷款软件有哪些问题 有其它贷款华夏易达金 有贷款 影响买房贷款 有什么好的大学生贷款软件有哪些方面 有哪些贷款途径 有二手客车贷款公司吗 有二手客车贷款公司吗 有什么可以贷款信用卡吗 友利贷款客服电话 有手机贷款可以房贷吗 有结婚证异地能贷款吗 有多少个贷款app 有什么贷款是分期还款方式 有什么12个月的贷款利率 有谁在手机贷款不还的 友利贷款客服电话 有谁在手机贷款不还的 有什么12个月的贷款利率 有借贷款利息怎么算的 有没有可以贷款的app 有什么可以贷款信用卡吗 有什么贷款是分期还款方式 有什么12个月的贷款利率 有什么12个月的贷款利率 有什么好的大学生贷款软件有哪些方面 有结婚证异地能贷款吗 有没有app贷款不还的 有公积金想贷款怎么办手续 有手机贷款可以房贷吗 有什么可以贷款信用卡 有过小额贷款首套 有公积金想贷款怎么办手续 有其它贷款华夏易达金 有什么可以贷款信用卡 有公积金想贷款怎么办理信用卡 有过小额贷款首套 有贷款 影响买房贷款 有什么可以贷款信用卡提额 有多少个贷款app 有两辆车办贷款 有没有app贷款不还的 有二手客车贷款公司吗 有过小额贷款首套 有什么可以贷款信用卡吗 邮政银行小额贷款担保 亚星官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 我与神明为伴 大齐商人 重生之我们来自地球 谋主天下 弑烬武煞 澳门葡京游戏官网 葡京官网 AG真人 澳门葡京游戏官网 欧博游戏官网 有房贷的房子贷款 有其它贷款华夏易达金 有什么可以贷款信用卡 有什么贷款是分期还款方式 有哪些贷款途径 有二手客车贷款公司吗 有房贷的房子贷款买车 有哪些类似乐贷款的APP 有什么可以贷款信用卡 有贷款 影响买房贷款 有没有可以贷款的app 有什么可以贷款信用卡吗 有二手客车贷款公司吗 有哪些方式可以贷款 有哪些类似乐贷款的APP 友利贷款客服电话 有贷款 影响买房贷款 邮政银行小额贷款担保 有多少个贷款app 有什么贷款是分期还款 有公积金想贷款怎么办手续 友利贷款客服电话 有什么可以贷款信用卡提额 有结婚证异地能贷款吗 有什么好的大学生贷款软件有哪些问题 有贷款 影响买房贷款 有公积金想贷款怎么办理信用卡 有二手客车贷款公司吗 有二手客车贷款公司吗 有哪些贷款途径