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"
帮助宝宝通气的食物羊宝给宝宝吃好不好三个半月的宝宝可以喝米汤吗分享治好宝宝发烧偏方兔子生宝宝会不会叫帮助宝宝通气的食物宝宝背爱出汗后冰凉的三个半月的宝宝可以喝米汤吗宝宝皮肤晒伤涂郁美净可以吗兔宝宝和帅呆呆儿歌宝宝蔬菜汁需要煮熟吗三个半月的宝宝可以喝米汤吗三岁宝宝能吃?y吗宝宝蔬菜汁需要煮熟吗半岁宝宝如何早教兔宝宝和帅呆呆儿歌宝宝感冒要不要给她多穿点宝宝消化不良夜里哭闹宝宝消化不良夜里哭闹一岁宝宝能吃羊肉宝宝乙肝第二针宝宝消化不良夜里哭闹宝宝皮肤晒伤涂郁美净可以吗大人感冒 宝宝腹泻属狗女宝宝取名宝宝大便又硬又黑属狗女宝宝取名大人感冒 宝宝腹泻一岁宝宝能吃羊肉三岁宝宝能吃?y吗这是一个支离破碎的大陆,上古时期无比顶盛,大能无数,却不知一时间无数强者陨落。 天气规则破碎,山河倒塌。叶帆重生在元宇宙刚刚开始的时候。 没有人比他更加清楚元宇宙到底是一个什么样的东西。 这是一个地球文明与高级文明联网的时代。 这是一个地球变异、人类接受各种全新科技、基因突变、生命进化的时代。 这是一个充满了机遇与挑战的时代。 前世的叶帆只能仰望强者,在卑微中走向死亡。 这一世,叶帆要向生命的终极进化迈进!此书算是一个草稿,重新写作,还未发布,敬请期待一次意外的穿越,改变了原本的历史进程,唤醒了北宋之魂,拿起了北宋之兵,灭了北宋之敌!夏魄爆肝一款修仙游戏十五年,通关之时却意外来到游戏的世界,成为了一个家族的杂役。 还好这游戏把通关奖励送给了他,让他得到了长生不死的能力。 在这里付出了十五年青春的他深知这个人心叵测,妖魔横行的世界很危险,于是决定苟起来修炼个几千年再说。 时光流逝的飞快,在熬死了无数强敌之后,他发现自己已经无敌了。李白三入长安,却发觉长安陷入了一场巨大的危机当中。为了长安城步步为营的他,逐渐发现事情正向着更深的一层发展。。。“只要能压过阿海我怎样都行” “我要高铁!” “阿泰你闭嘴,先给我修机场!” “咩啊?” “总有一天全世界都吃切糕!” “青鸟休想跟我争第一!” “东三村要团结~~” 这个世界,从灵气泄露的那一刻起,思想就不止属于人类了,在另一个角度来说,我们只是它们的一部分......天地间有气运万千,每个人生来都背负着属于自己的气运,当一些人不满足于自身的气运之时,争运者便诞生了......大佬虐菜故事刚穿越到文娱世界,杨墨就发现自己身边躺了个一丝不挂的小网红! 外头的女星老婆更是疯狂敲门呵斥。 “杨墨!你给老娘滚出来!“ “有本事偷人,没胆量见我是不是!“ 于是乎,郁闷的杨墨发现,自己成了活生生的冤种! 小网红没碰到,还被高挑的女星老婆摆了一道! 唯一的目的就是离婚! 离婚后,激活了系统的杨墨,无奈成了当下炙手可热的腿精高冷女神林婉璇的私人男助理。 上班第一天,又将女上司看了个精光! 有了系统傍身,杨墨只能在“旧邀社区“注册了自己的ID”久邀秦先生“,从此开始了一发不可收拾的文娱巨擘之路!
七色之心 妄想命运夜 终末序列 他在黑暗看着我 普通人龙神的不普通生活 过山车 无极神医 猎猎西风啸 枢星 星月引力 彼岸8光年,归来 窃盗诸天 末世蜕变者 冥王殿! 大文豪加斯科因 天宇守护神医 酒帝,我凭实力吃软饭 天堑之轮回间 赛博朋克:我在末法时代,证道成神 隐匿的数字 六个月宝宝菜汁怎么做 两岁宝宝能吃生姜红糖大蒜 宝宝感冒要不要给她多穿点 兔子生宝宝会不会叫 六个月宝宝菜汁怎么做 五个半月宝宝能吃什么水果 宝宝感冒要不要给她多穿点 宝宝肩膀磕碰有淤青怎么办 宝宝大便又硬又黑 两岁宝宝着凉发烧怎么办 豆奶土豆泥宝宝吃的 豆奶土豆泥宝宝吃的 1岁宝宝身上很多小红点 两岁宝宝能吃生姜红糖大蒜 帮助宝宝通气的食物 兔子生宝宝会不会叫 宝宝十一个月拉黑屎 宝宝大便又硬又黑 宝宝两岁口臭怎么回事 三个半月的宝宝可以喝米汤吗 两岁宝宝能吃生姜红糖大蒜 半岁宝宝如何早教 羊宝给宝宝吃好不好 宝宝蔬菜汁需要煮熟吗 兔宝宝和帅呆呆儿歌 1岁宝宝身上很多小红点 宝宝大便又硬又黑 羊宝给宝宝吃好不好 宝宝两岁口臭怎么回事 宝宝大便又硬又黑 兔子生宝宝会不会叫 活珠子多大的宝宝能吃吗 分享治好宝宝发烧偏方 帮助宝宝通气的食物 大人感冒 宝宝腹泻 兔子生宝宝会不会叫 分享治好宝宝发烧偏方 宝宝感冒要不要给她多穿点 1岁宝宝身上很多小红点 半岁宝宝如何早教 属狗女宝宝取名 两岁宝宝着凉发烧怎么办 六个月的宝宝可以吃油菜吗 宝宝十一个月拉黑屎 宝宝蔬菜汁需要煮熟吗 活珠子多大的宝宝能吃吗 豆奶土豆泥宝宝吃的 属狗女宝宝取名 1岁宝宝身上很多小红点 宝宝背爱出汗后冰凉的 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 重生神猿,我能掠夺别人气运 重回我的杀马特时代 你管这叫育儿系统? 小总裁老司机 我写的小说,女主跑出来了! 快连下载 亚星游戏官网 亚星官网 快连下载 亚星管理平台 宝宝感冒要不要给她多穿点 三岁宝宝能吃?y吗 豆奶土豆泥宝宝吃的 兔子生宝宝会不会叫 宝宝蔬菜汁需要煮熟吗 宝宝消化不良夜里哭闹 宝宝乙肝第二针 宝宝十一个月拉黑屎 宝宝两岁口臭怎么回事 六个月的宝宝可以吃油菜吗 三个半月的宝宝可以喝米汤吗 宝宝两岁口臭怎么回事 两岁宝宝着凉发烧怎么办 帮助宝宝通气的食物 分享治好宝宝发烧偏方 分享治好宝宝发烧偏方 大人感冒 宝宝腹泻 六个月宝宝菜汁怎么做 宝宝消化不良夜里哭闹 宝宝背爱出汗后冰凉的 豆奶土豆泥宝宝吃的 宝宝感冒要不要给她多穿点 两岁宝宝能吃生姜红糖大蒜 1岁宝宝身上很多小红点 三个半月的宝宝可以喝米汤吗 两岁宝宝能吃生姜红糖大蒜 宝宝肩膀磕碰有淤青怎么办 两岁宝宝能吃生姜红糖大蒜 六个月宝宝菜汁怎么做 兔宝宝和帅呆呆儿歌