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"
二一班头像空间头像古装动漫图片最炫酷头像微头像素描敬礼头像女二一班头像金陈武头像最炫酷头像炫酷卡通微信头像女生头像图片大全精头像闺密头像酷二一班头像梦瑶头像闺密头像酷最炫酷头像精头像黄了的头像鞠婧?头像鞠婧?头像大狗的头像2017国庆节头像鞠婧?头像炫酷卡通微信头像女生头像图片大全头像戴耳机敬礼头像女qq头像可爱情侣一对微头像素描头像影视头像男系列梦瑶头像三年学艺天师归来,从此纵横古玩界,玩转都市,鉴珍宝、砸赝品、造就盛世乾坤! 生意不好?看我风水局逆转乾坤! 珍宝难辨?看我金手摸宝定真伪! 老婆多年不孕,看我……非典型的轻玄幻武侠载体。素不相识的两人,共同走入面对血狱幽冥傀儡的故事中,历经九洲大地,看遍风起云涌,知天下疾苦,晓人间冷暖,从出西秦始,至返蜀中止,在神州大地划了个大圈,圈尽世间百态。真红之血的互相共融,相识,相助,相知,相爱,志向共同的江湖儿女,同行,同心,同德,同力,共同营造出了一个激荡写意的家国江湖。余跃从2022年穿越会了玛雅文明时代,发现这居然是个可以修炼成神的时代……在这个世界。 各种诡异生物和幽影,随时都能将生命轻松剥夺。 人们都活在惶惶不安中,提起精神保住小命。 唯恐陷入阴影,消失在世界上。 “这个世界没救了。” “没人能扭转这个世界死亡的结局。” “除了我。” “系统,给我抽!” 紫金大陆,李文浩,由于母亲是婢女出身,从小被大房欺辱,养成了他坚毅果敢的性格,在一次采药途中巧合救下了一名炼药师,从此开始了不一样的人生,开启了追逐紫金巅峰之旅途……韩彬穿越三国,意外觉醒震惊系统。 据说只要能震惊到曹操,就能开启金手指,走上人生巅峰。于是韩彬开始在曹操面前花式秀操作,企图震惊曹操。 结果却出乎意料…… 曹操:我得韩浩庭,如鱼得水也! 关羽:遇到韩彬这贼子,是我今生的痛! 刘备:要不是韩彬从中作梗,朕都要中兴大汉了! 诸葛亮:可悲啊!可叹啊!苍天何其不公,既生亮,何生彬! 糜夫人:可怜命运捉弄,不然我非韩郎不嫁! 韩彬:我真的只想开启系统啊! 菩萨低眉,所以慈悲六道! 撒旦低头,所以血流成河! 以撒旦之名,专职杀戮,他要当最强的那个男人! 最燃的都市,且看一个男人如何成就霸业,成为傲立巅峰的一代传奇!   【七少出品,铁血霸气】 撒旦军团群:198247503 生活在茅县明月轩小区的业主,跟物业公司一直矛盾不停。业主几番轮换成立业委会,被物业公司从中作梗,迟迟成立不起来。陈平勇决定站出来成立业主委员会,没想到,从他牵头那一刻,认识了一帮稀奇古怪的热心业主,一起跟物业公司斗智斗勇……如果可以的话,我愿意陪你再来一次 意外穿越,王腾穿越到了龙珠超世界,而且还到达了全王宫殿! 全王对王腾特别赏识,直接让他成为神界的监察官! 激活签到系统,开局奖励超级赛亚人五……… “叮,恭喜宿主在全王宫殿签到,奖励自在极意功!” …… 比鲁斯:“什么?监察官大人驾到了,赶紧出迎!” 芭朵斯:“王腾大人好帅啊,真希望能够跟着大人,成为他的贴身天使……”
诸天之铁匠也疯狂 重生:最强推销员 破神之途 元宇宙:大敌当前 大话圌山 兽灵时代 全民国主:朕率大秦横扫八荒 公转 我一生中佼人 腹黑领主的奋斗日记 小农民阿斗 全能者之双生者 满级开始的异世界生活 剑道圣师 秦武风云起 这个捕快太行了 绿茵之开局解锁大罗体验卡 京都之最帅修行者 天将巨富2 这个傻子有点帅 可爱的公主头像画 街拍女头像 黄了的头像 鞠婧?头像 可爱的公主头像画 结头像女 qq蓝色炫酷头像 兰花做头像 qq头像可爱情侣一对 梦瑶头像 炫酷卡通微信头像女生头像图片大全 炫酷卡通微信头像女生头像图片大全 头像戴耳机 精头像 两个女头像 敬礼头像女 qq蓝色炫酷头像 qq头像可爱情侣一对 2017国庆节头像 二一班头像 街拍女头像 最炫酷头像 空间头像古装动漫图片 第一名头像 兰花做头像 头像戴耳机 qq头像可爱情侣一对 空间头像古装动漫图片 2017国庆节头像 qq头像可爱情侣一对 鞠婧?头像 街拍女头像 微头像素描 二一班头像 头像戴耳机 敬礼头像女 经纪头像 qq蓝色炫酷头像 头像戴耳机 经纪头像 敬礼头像女 女帝的头像 大狗的头像 唯美古风白衣男生头像 第一名头像 街拍女头像 炫酷卡通微信头像女生头像图片大全 微头像素描 头像男系列 金陈武头像 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 元宇宙:眼镜开启无限世界 苍山妖狼 长生卷宗 去蛇口的路 大荒祖龙诀 欧博官网 百家乐官网 亚星管理平台 欧博官网 亚星管理平台 唯美古风白衣男生头像 两个女头像 街拍女头像 女帝的头像 兰花做头像 经纪头像 2017国庆节头像 结头像女 微头像素描 敬礼头像女 微头像素描 qq蓝色炫酷头像 敬礼头像女 闺密头像酷 闺密头像酷 二一班头像 头像男系列 兰花做头像 一男一女同框头像卡通 空间头像古装动漫图片 2017国庆节头像 梦瑶头像 最炫酷头像 鞠婧?头像 吃很多头像 黄了的头像 吃很多头像 头像戴耳机 金陈武头像 唯美古风白衣男生头像