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"
初中生打游戏初中的课外游戏大全集触摸美女全身小游戏抽屁股的小游戏臭鼬娘游戏初中生打游戏橙光完结的经典游戏触摸美女全身小游戏冲冲冲小游戏吃小球撞方块的游戏叫什么穿越的橙光游戏免费触摸美女全身小游戏痴汉电车主题的游戏穿越的橙光游戏免费宠物鹦鹉小游戏吃小球撞方块的游戏叫什么赤影战士苹果游戏出轨小游戏大全臭鼬娘游戏出轨小游戏灰姑娘虫虫大作战 网页游戏出轨小游戏大全冲冲冲小游戏宠物天堂游戏版抽烟的游戏虫子有关的游戏下载抽烟的游戏宠物天堂游戏版出轨小游戏灰姑娘痴汉电车主题的游戏讲述主角程仙在现实世界因救人发身意外来到一个修仙大陆,本以为可以像其他小说主角一样开挂,奈何毛都没有………一代绝世天才意外死亡,魂穿地球,凭独门功法,纵横都市……城市套路深,我要回农村,农村路太滑,人人都狡猾。 村医张小飞何德何能,让美女蜂拥而至?财富接踵而来? “这小丫头,又在作死了……”方若缓缓叹道……在末世中,所谓的生存,终归会是个笑话?15岁的少女欧阳墨含在高中前最后一个暑假得知了有关她的父亲和母亲的消息,原来他们在墨含六岁的时候被一个组织杀害了。墨含决定潜入组织为父母报仇。进入高中,她遇到了同样潜入组织的上官华杉,两人有着一定的关系。与此同时,他们还遇到另外三个少年,大家都因为不同的原因独自对抗组织。于是,一个秘密小组成立了......世人虽渺小,可是每个人都想挣脱束缚。 诸神虽伟大,可是神也总有陨落的一天。 仙侠恩怨,王朝争霸,爱恨情仇。 且看他们演绎一场不朽传奇。 天赋不足,仇人就是对自己尽心付出的师父,想报仇却无法达到师父的高度,还有无法无视师父的关爱。这是一个必须洗心换骨才能迎来成功的故事。蓝色的星球外,一群上古宫殿群乍现。 蓝色的星球上,一株通天建木雷龙盘绕。 树顶一对核桃果熠熠生辉 《山海经》究竟是虚撰还是纪实! 远古神话究竟是传说还是被时间长河淹没! 涂南因“核桃”穿越山海大陆。 操纵木偶身上引线的手终将浮现 阿公留言:当你试图寻找幕后巨手时,途难! 当你试图阻止命运时,徒拦! 涂南道“阿公,既然那样, 吾当以吾身为柴, 吾当以吾道为火, 引燃自身! 烧了那线! 焚了那手!”有着一群不为我们所知的人,他们被称为玄元者,他们生活在这个世界,却不与我们现同,他们的故事也鲜为人知。
人生模拟系统 科研大佬从相亲走错桌开始 轩辕圣世 黄昏街道 不开挂的末世生存 恐怖游戏之天堂鸟乐园 特工传奇之重明 空间无限法 孤岛惊魂365天 末世,全能战神 都市高手生存记 灭世荒主 万妖归位 奇怪校园 墓谈诡局 都市奇缘之最强修仙者 一品香妃 末日:最强能力者 舌尖上的神诡游戏 八目玉 虫子有关的游戏 吃小球撞方块的游戏 赤影战士苹果游戏 臭鼬娘游戏 虫子有关的游戏 宠妃进化法则第二章游戏攻略 赤影战士苹果游戏 吃小球撞方块的游戏叫什么名字 虫子有关的游戏下载 吃小球撞方块的游戏叫什么意思 出租车小游戏下载 出租车小游戏下载 出轨小游戏大全集 吃小球撞方块的游戏 初中生打游戏 臭鼬娘游戏 出去野游小游戏 虫子有关的游戏 初中的课外游戏大全 触摸美女全身小游戏 吃小球撞方块的游戏 触摸美女全身小游戏 初中的课外游戏大全 出轨小游戏大全 吃小球撞方块的游戏叫什么 出轨小游戏大全集 虫子有关的游戏 初中的课外游戏大全集 初中的课外游戏大全 虫子有关的游戏下载 臭鼬娘游戏 吃人的僵尸游戏大全 抽屁股的小游戏 初中生打游戏 宠物天堂游戏版 抽烟的游戏 抽屁股的小游戏 赤影战士苹果游戏 宠物天堂游戏版 宠物鹦鹉小游戏 抽烟的游戏 吃小球撞方块的游戏叫什么名字 初音未来邪恶游戏手游 出去野游小游戏 穿越的橙光游戏免费 吃人的僵尸游戏大全 出租车小游戏下载 抽烟的游戏 出轨小游戏大全集 赤影战士 在线游戏 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 从零开始当宗主 剑道师的传说 末法封魔人 末世之我重生当丧尸 夜雨香 AG真人 欧博官网 亚星游戏官网 AG真人 百家乐官网 出轨小游戏大全集 抽屁股的小游戏 虫子有关的游戏下载 吃小球撞方块的游戏 初中生打游戏 虫子有关的游戏下载 赤影战士苹果游戏 吃小球撞方块的游戏叫什么名字 吃小球撞方块的游戏叫什么名字 穿越的橙光游戏免费 吃人的僵尸游戏大全 抽烟的游戏 赤影战士 在线游戏 虫虫大作战 网页游戏 初中生打游戏 出轨小游戏大全 宠物天堂游戏版 宠物鹦鹉小游戏 虫子有关的游戏 吃人的僵尸游戏大全 初音未来邪恶游戏手游 赤影战士 在线游戏 赤影战士 在线游戏 宠物鹦鹉小游戏 宠物鹦鹉小游戏 出轨小游戏灰姑娘 穿越的橙光游戏免费 抽烟的游戏 橙光完结的经典游戏 冲冲冲小游戏