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"
难过假开心图片大全动漫头像女生萝莉头像图片大全图片脸上挠伤图片大全扣扣头像欧美情侣头像背影图片大全唯美风侯图片大全难过假开心图片大全农村少女骑摩托车图片大全图片大全图片大全脸上挠伤图片大全动漫伤感黑白情侣头像带字图片大全集悲伤非主流女生图片唯美图片大全女子打屁屁漫画图片大全图片欣赏脸上挠伤图片大全鸟动图片大全大图女子打屁屁漫画图片大全图片欣赏恋爱回忆图片大全悲伤非主流女生图片唯美图片大全动漫情侣看海背影图片唯美图片大全带圆眼镜的男生图片大全图片大全图片大全图片风侯图片大全男同帅哥生活图片大全动漫帅哥裸全身图片大全图片大全带圆眼镜的男生图片大全图片大全图片大全图片动漫伤感黑白情侣头像带字图片大全集男生心型脸图片大全动漫女生日本名字大全图片大全图片大全图片大全图片大全戴眼镜搞笑动态图片大全动漫女生日本名字大全图片大全图片大全图片大全图片大全男生心型脸图片大全男同帅哥生活图片大全农村少女骑摩托车图片大全图片大全从城市回老家的青年,通过自身的经历,揭开现实下的真相,原来我们本就生活在科幻般的世界。过了许久,才想起…..原来我们只是活在梦里, 我不会说什么情话 但如果你坚定选择我 我只能告诉你 我真的不会让你输前世,寂灭剑神陈夜一人对抗着吞天魔龙,他看着大陆被摧毁,他悲伤无比,他怒吼道:“寂灭归元,同归于尽吧!老怪物!”说罢,他燃尽生命发出宇宙中最强一剑,这时,一颗石头发出了强烈的光芒,将陈夜轮回道3000年前。他一路提升实力,能否打败吞天魔龙?双日凌空,神秘再现,在科技崩溃的废墟中,万物迎来了无限进化! 穿越而来的沈凌,激活了自己的无限世界模拟器。 只要是花费足够的能量,就能够获得在模拟世界中得到的修为、武功和物品! 于是,在小李飞刀的世界中,沈凌获得了小李飞刀! 在大唐双龙的世界中,沈凌修成了剑心通明! 在蜀山的世界中,沈凌拿到了化血神刀! 在洪荒的世界中,他夺取了诛仙四剑……生命是什么?那或是一场奔赴尘世的旅行,每个人都身处荒野,仰望着星空。渺小的一切,终将化为黄土,随风消逝。可一切存在过的,都将成为被传颂的一首赞歌。我乃李青,今日人族之守护神。若有妖魔残害人族,吾定不饶。“什么是灵气?”冷瑞提出了疑问。学化学的他穷尽天地之秘,纵横诸天万界,横扫仙鬼神魔。伏尸千里,白骨成山,他站在山巅俯视众生…… 为朋友他可散尽家财,为道义他愿舍弃荣华,为国家能南征北战,为爱人他敢血洗黄沙…… 让我们追随旷世战神甄开心的步伐,一起斗恶霸、杀贪官、斩尸鬼、灭厉魂……我们原本只是想尝试,但我们的思想在说不。从今天开始,莫天竹的生活也彻底改变....
由黄昏到黎明 兽界起源 人工智能拯救末世 无念剑魂 穿越都市被倒追 九天界限 强明往事 重生异形君王 巅峰之武道无双 雾镜夕阳 全球觉醒:开局鬼焰降临 也人间 大周风起 战神联盟穿越了之哥哥 神魔守护者 战鬼吕布 也许是蝼蚁平凡的一生 猴国编年史 浩淼大陆之万年太岁王 帝国时空之修订版 动漫图片风景大图片大全大图 爆走绝望图片大全 动漫情侣看海背影图片唯美图片大全 风侯图片大全 动漫图片风景大图片大全大图 男生校服图片大全 动漫情侣看海背影图片唯美图片大全 悲伤非主流女生图片唯美图片带字图片大全 戴眼镜搞笑动态图片大全 鸟动图片大全大图 动漫人物衣服图案大全图片大全 动漫人物衣服图案大全图片大全 男生指甲白色的是什么东西图片大全 爆走绝望图片大全 难过假开心图片大全 风侯图片大全 动漫全身动作图片大全 动漫图片风景大图片大全大图 离开走了伤感说说图片大全 脸上挠伤图片大全 爆走绝望图片大全 脸上挠伤图片大全 离开走了伤感说说图片大全 带圆眼镜的男生图片大全图片大全图片大全图片 悲伤非主流女生图片唯美图片大全 男生指甲白色的是什么东西图片大全 动漫图片风景大图片大全大图 动漫头像女生萝莉头像图片大全图片 离开走了伤感说说图片大全 戴眼镜搞笑动态图片大全 风侯图片大全 女子篮球动漫图片大全图片大全图片唯美 扣扣头像欧美情侣头像背影图片大全唯美 难过假开心图片大全 男生心型脸图片大全 动漫女生日本名字大全图片大全图片大全图片大全图片大全 扣扣头像欧美情侣头像背影图片大全唯美 动漫情侣看海背影图片唯美图片大全 男生心型脸图片大全 恋爱回忆图片大全 动漫女生日本名字大全图片大全图片大全图片大全图片大全 悲伤非主流女生图片唯美图片带字图片大全 男性动漫发型大全图片大全图片大全图片欣赏 动漫全身动作图片大全 女子打屁屁漫画图片大全图片欣赏 女子篮球动漫图片大全图片大全图片唯美 动漫人物衣服图案大全图片大全 动漫女生日本名字大全图片大全图片大全图片大全图片大全 男生指甲白色的是什么东西图片大全 女孩吃美食图片大全图片 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 DNF之邪神傲世 偷天成仙 滲透者 跨时间长河 诡异密匙 亚星游戏官网 万利官网 欧博游戏官网 亚星游戏官网 葡京官网 风侯图片大全 男同帅哥生活图片大全 男生心型脸图片大全 悲伤非主流女生图片唯美图片大全 男同帅哥生活图片大全 脸上挠伤图片大全 女子篮球动漫图片大全图片大全图片唯美 脸上挠伤图片大全 离开走了伤感说说图片大全 扣扣头像欧美情侣头像背影图片大全唯美 动漫帅哥裸全身图片大全图片大全 女孩吃美食图片大全图片 动漫头像女生萝莉头像图片大全图片 带圆眼镜的男生图片大全图片大全图片大全图片 男生校服图片大全 带圆眼镜的男生图片大全图片大全图片大全图片 女孩吃美食图片大全图片 女子篮球动漫图片大全图片大全图片唯美 女子打屁屁漫画图片大全图片欣赏 动漫帅哥裸全身图片大全图片大全 女子篮球动漫图片大全图片大全图片唯美 悲伤非主流女生图片唯美图片带字图片大全 动漫伤感黑白情侣头像带字图片大全集 鸟动图片大全大图 爆走绝望图片大全 农村少女骑摩托车图片大全图片大全图片大全 脸上挠伤图片大全 男生校服图片大全 恋爱回忆图片大全 动漫情侣看海背影图片唯美图片大全