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"
彩虹是哪部电视剧全集犯罪启示录电视剧林京来都拍过哪些电视剧吴尊的电视剧大全二十四道拐电视剧演员表彩虹是哪部电视剧全集电视剧花千骨第59集林京来都拍过哪些电视剧车晓演的电视剧最新杨舒主演的电视剧翻译官电视剧未删减彩虹是哪部电视剧全集电视剧戈壁剿匪记演员翻译官电视剧未删减林京来都拍过哪些电视剧最新军事片电视剧大全2015电视剧盲约汪萍的剧照二十四道拐电视剧演员表二十四道拐电视剧演员表蒋心是什么电视剧电视剧一发千钧冯妙莲电视剧车晓演的电视剧风车电视剧全集爱奇艺2015年云开头电视剧电视剧抗战片最电视播的两个字吴尊的电视剧大全有富贵的电视剧蒋心是什么电视剧电视剧海鸥第十三集一介神偷无意落入百年阴谋大局,在阴谋中成长,站在世界之巅。【模拟器系统】+【幕后大佬】+【密室逃脱】+【诙谐文风】。 这是一个既惊悚又搞笑的故事。 他永远能让玩家知道,什么叫生得自由,死得随机。 他也永远能让对手明白,什么叫以德服人,殡至如归。 他叫薛东! 在这个平行世界里,他就是神一般的存在。 因为斜刘海,永远遮不住他右眼的哀伤,更挡不住他锋芒四射的魅力。 然而,他却更喜欢隐于幕后,默默操纵着他人的命运……梦里明六道,觉后了大千。 她穿越万载而来,只为改变他的命运,这或许只是他的一个梦,但却是她的所有。 本书写的是帝国权谋,看的是儿女情长、兄弟情义。 讲述了我自己的真实故事,希望大家喜欢“真遗憾啊洛黎,快走吧,不要回头,不要留恋,平淡的过完这一生吧” 洛黎回到十一年前那个初见的时间,短发的永雨拉开玻璃门,仿佛又拉开了命运的门。 就算时间的长河会将你遗落,我也会渡着破旧的小船,将你寻回。 洛黎手握长刀再次挥向无尽的黑夜。阳城三名初中生秉承不同的恋爱观,走向了三种人生。古神大陆自诞生以来便流传着一个传说,命运之门会在一个时代结束时降临,得见命运之门者,可以登临神境,进入命运之门者,可获永生。 …… 杨凡天生道骨,却被家主算计和爱人偷袭,落了个修为全失,道骨被夺的下场,正当奄奄一息时,遇到了曾经见过命运之门的鬼圣阴无虚,并夺了对方的一身机缘…… 境界划分:炼体、苦海、神宫、仙台、破虚、同体、大圣、大帝、半神、神……乱世穿越,各种风云人物涌现 呵呵,我有系统! 还有谁?! 不服单挑啊! 我徐缺!张悬!陈北玄!李七夜!……… 没错,是我们单挑你一个 诶…你有本事别跑啊....欲望带我走进那片森林,却从未想让我逃离浩瀚的星空之上有何物?
灵戾 重生之财色我都要 一剑葬墟 仙界异事 医圣下山:开局打脸未婚妻! 帝剑:问天 埋骨何须桑梓地 战龙墟 戮黎明 一剑神仙 逍遥王破山河 师叔亿点强,师侄们全是气运之子! 三国,想成仙,被曹操赐婚 神独在世 KPL王者争霸 小人物阿云 青春无怨季落情 麟溪传 地下玄界 军中情报人 电视剧抗战片最电视播的两个字 最新军事片电视剧大全2015 电视剧娘妻第= 八集 二十四道拐电视剧演员表 犯罪启示录电视剧 有富贵的电视剧 电视剧娘妻第= 八集 最火穿越版韩国电视剧全集下载 金相中全部电视剧 电视剧戈壁剿匪记演员 电视剧小情人的插曲 电视剧小情人的插曲 风车电视剧全集爱奇艺 最新军事片电视剧大全2015 彩虹是哪部电视剧全集 2015年云开头电视剧 电视剧拍摄机器 电视剧抗战片最电视播的两个字 七年电视剧 林京来都拍过哪些电视剧 慈航转世电视剧 林京来都拍过哪些电视剧 七年电视剧 冯妙莲电视剧 最新杨舒主演的电视剧 电视剧革命事业 电视剧抗战片最电视播的两个字 七年电视剧 七年电视剧 金相中全部电视剧 二十四道拐电视剧演员表 慈航转世电视剧 吴尊的电视剧大全 彩虹是哪部电视剧全集 风车电视剧全集爱奇艺 2015年云开头电视剧 吴尊的电视剧大全 电视剧娘妻第= 八集 风车电视剧全集爱奇艺 不良人2电视剧第一集 2015年云开头电视剧 最火穿越版韩国电视剧全集下载 蒋心是什么电视剧 电视剧拍摄机器 翻译官电视剧未删减 慈航转世电视剧 电视剧小情人的插曲 2015年云开头电视剧 电视剧革命事业 电视剧盲约汪萍的剧照 亚星官网 亚星游戏官网 亚星游戏官网 亚星官网 亚星官网 渡元 领主:我的子民过于中二 绝代股王 穿越之活不过十年 第九国度 欧博官网 百家乐官网 亚星管理平台 欧博官网 亚星管理平台 不良人2电视剧第一集 电视剧抗战片最电视播的两个字 最新军事片电视剧大全2015 最新军事片电视剧大全2015 风车电视剧全集爱奇艺 风车电视剧全集爱奇艺 犯罪启示录电视剧 林京来都拍过哪些电视剧 电视剧革命事业 翻译官电视剧未删减 电视剧戈壁剿匪记演员 电视剧抗战片最电视播的两个字 范冰冰扮演的古装电视剧被强奸 最火穿越版韩国电视剧全集下载 有富贵的电视剧 电视剧花千骨第59集 七年电视剧 电视剧一发千钧 冯妙莲电视剧 冯妙莲电视剧 电视剧抗战片最电视播的两个字 金相中全部电视剧 车晓演的电视剧 电视剧一发千钧 有富贵的电视剧 电视剧革命事业 不良人2电视剧第一集 电视剧海鸥第十三集 车晓演的电视剧 慈航转世电视剧