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"
求职信英语作文模版你我师生情作文800字人物的故事作文如何看待寂寞作文素材企盼信任的作文400字求职信英语作文模版陇海中路小学作文人物的故事作文捏泥人作文250诺贝尔的科学精神作文前方的路初中作文求职信英语作文模版七夕的英语作文前方的路初中作文人物的故事作文奇葩的高考作文题目宁波历年中考作文企盼信任的作文400字企盼信任的作文400字清明节扫墓大全作文捏泥人作文二百字前几年高考作文题目捏泥人作文250难忘的一堂课作文评语亲人的爱中考作文宁夏历年高考作文题目如何看待寂寞作文素材青海历年高考作文题目清明节扫墓大全作文批判作文的评语一介神偷无意落入百年阴谋大局,在阴谋中成长,站在世界之巅。夏归凡一觉醒来发现自己成为了一宗之主,解决了宗门危机之后,修为倒退,这时脑海中出现了一部法决《噬典圣诀》,能够吞噬记录法决、武技等的载体(书籍、竹简等),并对该法决或武技的熟练度即刻达到百分百圆满之境,那么这世间,万般武技和秘法没有什么是我夏归凡无法立即熟练的。 令夏归凡头疼的是,他这宗主收了七名女徒弟,个个人间绝色,但个个都不是省油的灯...... 本小说又名《穿越成为宗主》、《我名下都是女徒弟》、《女徒弟带着我无敌》、《我带着女徒弟无双》。这是两个世界的两个人,一起改变三个世界的故事。何谓妖邪鬼怪外道邪魔?答曰:人之假造为妖,物之性灵为精,人魂不散为鬼,天地乖气,忽有非常为怪,神灵不正为邪,人心癫迷为魔,偏向异端为外道。 灵气复苏,邪祟动荡,钱尘手持三尺龙泉剑,立于酒馆门前,剑指魑魅魍魉:”诸位莫走,请君饮上一杯。”一场生死遭遇,让罗三变成夜来,得知有双生子,从此便走上寻子之路,走入江湖,但见不公,必出手,如与子相关一切不公,将满城腥风血雨,江湖人称“夜来风雨声,鬼魅片不流” 一段爱恨情仇,一代精神领袖,横跨三界,携美女畅游九州,奋战疆场,金戈铁马,策马奔腾,穿越万里河山,与夏王开华夏一统,与褒姒调丝竹之情,领勇士救刘邦,出入汉宫,霓裳羽衣,再现华夏文明,助太宗杀兄泡嫂,与李治共享武媚,环肥燕瘦,皆出其手,他,是英雄、是败类、是奸雄、还是淫贼,上下五千年,皆无定数,一切皆有后人评说……【第二世界】职业极其不平衡,魔法师的数量和实力远不如武者。然而何冰却执着当一个魔法师,并要掀起一场魔法狂潮。“这才是魔法师真正的力量!” ——何冰正义也许会迟到,但是绝对不会缺席! 男人都要学会自己长大,面对所有荆棘坎坷,只有奋不顾身,勇往直前!能拯救你的,只有你自己! 抖音同号:秋风听雨时代变迁、科技发展,当蓝星已经越来越无法满足人类发展的需求时,宇宙大航海时代呼之欲出。 大学生刘传无意之间获得了超级文明种子,从此带领天河文明走出蓝星,探索星辰大海!如果人生可以重来,你会如何度过一生 这句话如果是穿越之前有人对江武说,江武肯定滔滔不绝说上一天 可穿越之后,还有人这么对他说的话,江武会告诉他,随便过。 因为江武的人生可以重来无数次……
这个捕快太行了 带着仓库去三国 逆天改命后我封神了 我是大主祭 末世之军团帝国复兴 玄幻:华夏玄学院继承人 人间奇缘 库格修斯 起航时代 绝世杏林 武灵霸主东方晋 全民偷师我创造的功法 屁民传说 无限世界:请君入梦 齐天凶残 江湖锦衣卫 冒牌神语者 当神话出现 最后人类 看,那是我为你编织的梦 宁夏历年高考作文题目 奇葩的高考作文题目 爬山真有趣作文四年级 企盼信任的作文400字 你我师生情作文800字 青海历年高考作文题目 爬山真有趣作文四年级 普陀2017语文一模作文 请不要浪费水英语作文 七夕的英语作文 逆境的高考作文 逆境的高考作文 难忘的一堂课作文评语 奇葩的高考作文题目 求职信英语作文模版 亲人的爱中考作文 难忘的感动的事作文开头结尾 宁夏历年高考作文题目 七年级700字叙事作文 人物的故事作文 母爱是无私的作文300 人物的故事作文 七年级700字叙事作文 前几年高考作文题目 诺贝尔的科学精神作文 清明节纪祖三年级作文 宁夏历年高考作文题目 七年级700字叙事作文 七年级700字叙事作文 请不要浪费水英语作文 企盼信任的作文400字 母爱是无私的作文300 如何看待寂寞作文素材 求职信英语作文模版 难忘的一堂课作文评语 亲人的爱中考作文 如何看待寂寞作文素材 爬山真有趣作文四年级 难忘的一堂课作文评语 寝室有什么矛盾英语作文 亲人的爱中考作文 普陀2017语文一模作文 清明节扫墓大全作文 难忘的感动的事作文开头结尾 前方的路初中作文 母爱是无私的作文300 逆境的高考作文 亲人的爱中考作文 清明节纪祖三年级作文 宁波历年中考作文 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 归墟世界 逃避世俗带着小丽回宋朝 创世异能少年 全球灾变:我的武功自动修炼 天灾 2035 澳门葡京游戏官网 葡京官网 AG真人 欧博官网 亚星管理平台 捏泥人作文250 企盼信任的作文400字 前几年高考作文题目 人物的故事作文 普陀2017语文一模作文 前方的路初中作文 难忘的感动的事作文开头结尾 你我师生情作文800字 如何看待寂寞作文素材 奇葩的高考作文题目 七年级700字叙事作文 企盼信任的作文400字 青海历年高考作文题目 如何看待寂寞作文素材 寝室有什么矛盾英语作文 逆境的高考作文 逆境的高考作文 企盼信任的作文400字 企盼信任的作文400字 人物的故事作文 寝室有什么矛盾英语作文 前几年高考作文题目 奇葩的高考作文题目 陇海中路小学作文 请不要浪费水英语作文 求职信英语作文模版 捏泥人作文二百字 难忘的一堂课作文评语 难忘的感动的事作文开头结尾 寝室有什么矛盾英语作文