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"
郎溪十字振安驾校兰溪保安驾校教练廊坊金阳驾校地图廊坊金阳驾校怎么约考廊坊市明阳驾校郎溪十字振安驾校冷水滩红新驾校怎么样廊坊金阳驾校地图莱芜万通驾校办公电话乐山三禾驾校训练场乐山驾校课二场地视频廊坊金阳驾校地图乐山市交通驾校训练场乐山驾校课二场地视频廊坊金阳驾校地图乐山三禾驾校考场视频冷水滩驾校哪家好乐山吧三禾驾校廊坊市明阳驾校蓝盾驾校是韩陵驾校吗?莱芜万通驾校官网乐山吧三禾驾校莱芜万通驾校办公电话兰州西站驾校学生价格廊坊市名阳驾校兰溪城南驾校电话廊坊市名阳驾校兰州玛雅驾校费用蓝盾驾校是韩陵驾校吗?冷水滩的驾校一个普通人成为星际漫游者,跨越平行世界,追寻命运的轨迹,挣脱命运的束缚,找寻自由的秘密。武道一途,逆命而上! 人欲拦我,屠人! 神欲拦我,斩神! 天欲拦我,灭天! 道欲拦我,伐道! 命运蹉跎又能如何,三尺青锋,一剑斩之!天地有五行,五行可证道......叶辰懂医术,会古武,下山后的他,还在幻想着自己逍遥纵横都市,吊打一切不服! 万万没想到,参加自己婚礼的时候,新郎竟然不是他……[无限流+灵异+悬疑+鬼怪。] 数十年前,袁文锦的爷爷因为一己私欲,与恶鬼做交易。 把自己孙子献祭给它,便保他一生福贵。 在袁文锦出事后他的爷爷便反悔,他要保下袁文锦。他借助黑暗的力量把袁文锦与一个神秘的地方链接起来。 恶鬼恐惧那力量,一怒之下便屠了他满门。只留下袁文锦一人苟活在世。曾为前世顶尖杀手的姜扬,因为人的贪欲转生至异世界,将整个世界带到万劫不复之地,成为‘魔主’主角降生之日,被称为‘魔临之日’! 叶多多一次意外,穿越轮回隧道,成为魔法师。 爹娘之仇,婚姻不遂,迫使他修炼武魂,成为五州大陆上响当当的魔法师。 报仇,雪恨,药物为尊,灵火为荣。 修魂力,展魂气,晋魂环,固魂骨,复仇,是非恩怨,有那不败神话! 灵界中突然出现了不寻常的危机,这让灵界第一人林钧不知如何解决,而灵界之外,无数强者纷纷越界,想踏平灵界。 林钧苦守无果,最终无奈之下,他做出大胆决定,剥离人性,只身前往灵界之外,寻找问题根源,而分离出的人性,将会修炼灵界之中最强神法,重回大陆之巅,寻找救世之法。【全网超火爆的网络小说】掌劈天宫镇日月,剑斩幽冥踏九霄,世间凡人万万亿,修罗成神我最狂! 本天之骄子,被小人陷害,惨遭家族遗弃。落入凡界后,天赋觉醒,我楚枫,誓要杀回九天之上,夺回属于我的一切! 众生视我如修罗,却不知,我以修罗成武神! (想看修罗武神番外,请关注蜜蜂微信公众号:善良的蜜蜂后援会) 明末的事情逐渐终结,马孝全来到了秘境,在这里,他将有什么样的冒险呢......
灵兵时代 星际宝宝 登录真实游戏 随身一个仙境农庄 开局和女神流落荒岛 莽荒至尊行 青莲剑心传 生命之佑 出生的憨憨 司一传 异世手记 往事如离梦 傲曲武神 寂春 我的师傅茅十八 第九国度 在走一遭 灵霄之下 诡倒影 异界神说之圣职传奇 兰溪城南驾校电话 乐山三禾驾校考场视频 冷水滩驾校训练场 廊坊市明阳驾校 兰溪保安驾校教练 兰州玛雅驾校费用 冷水滩驾校训练场 乐山三禾驾校怎么去 兰溪城南驾校在哪里 乐山市交通驾校训练场 莱芜驾校学车几点去 莱芜驾校学车几点去 兰州西站驾校学生价格 乐山三禾驾校考场视频 郎溪十字振安驾校 廊坊市名阳驾校 冷水滩猎鹰驾校 兰溪城南驾校电话 兰陵荣庆驾校客服电话 廊坊金阳驾校地图 乐山三禾驾校考场视频 廊坊金阳驾校地图 兰陵荣庆驾校客服电话 乐山吧三禾驾校 乐山三禾驾校训练场 蓝盾驾校考场图 兰溪城南驾校电话 兰陵荣庆驾校客服电话 兰陵荣庆驾校客服电话 兰溪城南驾校在哪里 廊坊市明阳驾校 乐山三禾驾校场地图片 廊坊金阳驾校怎么约考 郎溪十字振安驾校 兰州西站驾校学生价格 廊坊市名阳驾校 廊坊金阳驾校怎么约考 冷水滩驾校训练场 兰州西站驾校学生价格 廊坊金阳驾校地址 廊坊市名阳驾校 乐山三禾驾校怎么去 蓝盾驾校是韩陵驾校吗? 冷水滩猎鹰驾校 乐山驾校课二场地视频 乐山三禾驾校场地图片 莱芜驾校学车几点去 廊坊市名阳驾校 蓝盾驾校考场图 冷水滩驾校哪家好 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 维度之上 阳春暮雪 都成圣主了,让我回地球? 我在地下修真 异世界中的反派 亚星官网 欧博游戏官网 欧博官网 亚星官网 AG真人 廊坊金阳驾校怎么约考 廊坊市明阳驾校 乐山三禾驾校训练场 兰陵荣庆驾校客服电话 蓝盾驾校考场图 冷水滩猎鹰驾校 兰溪城南驾校电话 冷水滩红新驾校怎么样 蓝天驾校莱芜 莱芜万通驾校官网 乐山吧三禾驾校 乐山吧三禾驾校 廊坊金阳驾校地图 廊坊金阳驾校地图 蓝盾驾校考场图 蓝盾驾校是韩陵驾校吗? 兰州玛雅驾校费用 廊坊市明阳驾校 乐山三禾驾校训练场 兰陵荣庆驾校客服电话 廊坊金阳驾校怎么约考 冷水滩驾校哪家好 郎溪十字振安驾校 莱芜万通驾校官网 廊坊市明阳驾校 兰州西站驾校学生价格 乐山市交通驾校训练场 乐山市交通驾校训练场 蓝天驾校莱芜 郎溪十字振安驾校