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"
大清国邮政飞雁邮票绿色环保邮票山西邮票上人物丹顶鹤邮票 大版德国不干胶邮票大清国邮政飞雁邮票03古桥邮票小版价格山西邮票上人物特1到特9邮票最值钱的8分邮票西藏电报邮票大清国邮政飞雁邮票2003羊邮票图片价格表庚辰年 邮票山西邮票上人物最值钱的8分邮票一套民居邮票多少钱乙酉年大吉邮票乙酉年大吉邮票南靖土楼邮票图片邮票4分值多少钱乙酉年大吉邮票特1到特9邮票2013发行邮票价格德国不干胶邮票邮票 特48 盖销丹顶鹤邮票 大版春秋翰缚邮票2017年发行邮票预订2003羊邮票图片价格表我们原本只是想尝试,但我们的思想在说不。女同桌重生了,说她未来是我老婆。 因为嫌弃未来的我穷苦潦倒,她决定用重生的buff帮我走上人生巅峰!清末民初是个动荡不安的年代,同样也是英雄辈出的年代。李氏家族由无到有,由兴盛再到衰落,时间鉴证了这一切。他们不屈不挠,拼搏奋斗的精神,将永远激励我们不断前行。威武华夏!恐惧被刻在了血脉深处,人类永远记住了这一天!骑着青牛的高傲御姐自称‘老子出关’,喋喋不休,婷婷身段的唐三藏名副其实‘秀色可餐’、还有那蚩尤和黄帝为了谁是霸道女王在涿鹿大战三百场。 纵观山海经,西游记和封神榜的神仙们各个都变成美人国色天香。 别说了,悟空妹妹,赶快借我金箍棒。稀里糊涂,不明不白地进了大狱,被判四年有期徒刑。第二年的时候,他提前出狱了,他患了肺癌。从此,他的生活跌宕起伏,夺人眼目。他是人群中的另类,人们眼中的奇人,他是快乐的代名词…… 在一个夜黑风高的晚上,大燕帝国的镇国将军府竟惨遭灭门,全家上下仅剩一个躲在地窖的婴儿幸免。 幸亏镇国将军的好友,天下第一剑神顾长风来访,这才救下了这个婴儿,之后顾长风带着婴儿上山修炼。 ……… 时间一转就是十几年,当初那婴儿也长大成人。 顾长风见时机成熟,便派他下山寻找当年惨遭灭门的真相。 圣灵村的每个人都可以与一种生物进行交流,被称为通灵。而男主顾清则天生具有通灵之魂,能够与万物沟通。为了觉醒通灵之力,顾清被神医师傅赶下山。下山后认识了清纯女神易瑶,凭借医术救下了未婚妻欧阳晴,还被校花冷紫溪倒追。 纯爽文! 时代在变,世界的格局在变。 多少人在看着脚下的土地,是否有变化。 当世界的土地,能源,人发生异变,获得能力后,能改变这个枯燥无味的世界吗? 虽出身白丁,但可与鸿儒比肩; 虽家境贫寒,但举手可赚钱万贯; 虽手无缚鸡之力,但弹指万军灰飞烟灭; 我虽布衣,可做公卿。
神探王爷 超能力的我才不会被她威胁 杂乱无章之红斑 世上只有我一个人类吗 溟渊邪神 剑耀行 月落山河无君名 穿越之元素战争 梦回大宋之我是宋太祖 残骸上的文明 寰宇帝族 古代做奸商是怎么练成的 女校那点事儿 当局者清 太祖降临:我在地府当差 缘曦 无敌十亿纪元,我随心所欲 我居然成了盖世全才 幽冥话本:太史令 洛阳亭 向硬骨头邮票 特8大版邮票价格表 一套民居邮票多少钱 乙酉年大吉邮票 向硬骨头邮票 邮票版本介绍 羊年生肖银邮票多少钱 珍贵邮票图片及价格 邮票 特48 盖销 2003羊邮票图片价格表 特1到特9邮票 美丽中国邮票网 2013发行邮票价格 最值钱的8分邮票 猪年邮票值多少钱 德国不干胶邮票 羊年生肖银邮票多少钱 邮票 特48 盖销 邮票4分值多少钱 大清国邮政飞雁邮票 特8大版邮票价格表 山西邮票上人物 绿色环保邮票 庚辰年 邮票 最值钱的8分邮票 2013发行邮票价格 邮票 特48 盖销 绿色环保邮票 邮票4分值多少钱 邮票 特48 盖销 德国不干胶邮票 特8大版邮票价格表 丹顶鹤邮票 大版 大清国邮政飞雁邮票 春秋翰缚邮票 德国不干胶邮票 日本到中国的邮票价格是多少钱 羊年生肖银邮票多少钱 2013发行邮票价格 日本到中国的邮票价格是多少钱 德国不干胶邮票 中国发行了多少种邮票 南靖土楼邮票图片 美丽中国邮票网 庚辰年 邮票 特8大版邮票价格表 特1到特9邮票 丹顶鹤邮票 大版 2017年发行邮票预订 03古桥邮票小版价格 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 猛龙出狱 向世界说你好 大秦:开局向祖龙索要太子位 白鲸之梦 武极瀚虚 欧博官网 亚星游戏官网 亚星官网 快连下载 亚星管理平台 中国发行了多少种邮票 日本到中国的邮票价格是多少钱 特1到特9邮票 特1到特9邮票 乙酉年大吉邮票 庚辰年 邮票 山西邮票上人物 中国发行了多少种邮票 美丽中国邮票网 2017年发行邮票预订 日本到中国的邮票价格是多少钱 103m 邮票 如何预订2017年邮票 山西邮票上人物 一套民居邮票多少钱 乙酉年大吉邮票 103m 邮票 2003羊邮票图片价格表 南靖土楼邮票图片 南靖土楼邮票图片 一套民居邮票多少钱 一套民居邮票多少钱 中国发行了多少种邮票 2003羊邮票图片价格表 羊年生肖银邮票多少钱 如何预订2017年邮票 邮票版本介绍 德国不干胶邮票 珍贵邮票图片及价格 大清国邮政飞雁邮票