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"
浦发信用卡补卡信用卡 签别人的名字浦发信用卡补卡信用卡钱看病了算恶意透支吗建设银行信用卡有效期怎样盗去别人信用卡的钱收拾兴业信用卡中心提额短信信用卡取现与刷卡哪种方法更好平安信用卡取消百度外卖信用卡支付郑州光大银行信用卡业务员电话浦发信用卡补卡信用卡签名擦了重写国外能通过吗信用卡背面两个签名信用卡取现与刷卡哪种方法更好百度外卖信用卡支付兴业新动力信用卡招商银行信用卡反面图片招商银行信用卡反面图片交通银行信用卡签名在哪信用卡背面签字被撕掉了招商银行信用卡反面图片平安信用卡取消工商信用卡安全码建设银行信用卡有效期3元信用卡每月的短信提醒有用吗信用卡钱看病了算恶意透支吗工商信用卡安全码交通银行信用卡签名在哪信用卡签名擦了重写国外能通过吗大梦一场,穿越到1987年; 一次车祸,梦魇中喝了忘忧水; 一只修罗手套,重生到五百年前; 古墓中激活了古龙珠,唤醒七色混沌葫芦,开启系统传奇之路; 十五万铁甲齐上阵,竟无一是男儿身; 心念起,万水千山~ 心念灭,沧海桑田~ 一念~可成众生~ 一念~可成天神~ 红尘砺剑心,沧海一笑间, 乾坤一剑平,万古啸青天, 笑傲宇宙巅,星空化自在~~在一个强者林立的世界,万亿物种生灵衍生,不断地突破自身,打破天理禁锢,追寻命运之根本,长生之久视! 一个平凡普通的人族少年,从一个小村落走出,搅动风云,气吞山河,开启一个新时代!我是个反派,并且我本来就是反派,无重生穿越,闭关20载,重出江湖,世人将为我颤抖,我就爱滥杀无辜,你管的着? 大侠?死去吧你身处寒舍不自贫,心有亭阁自逍遥。家父亡故,家母病逝,唯遗一屋,一青衣,看苏翎如何乐在其中,自在逍遥。他,虽是庶子,但却是王国八大贵族之一格林家族内定继承人,长相虽平凡,但他的心不甘于平凡。虽然被人陷害、不得不被流放追杀,但天降系统,助他成神。且看一个小领主如何借助系统和奇遇,一步步崛起,最终称霸大陆.....繁华的都市表面,总有下水道的耗子在黑影中与狼共舞,即便是白天也有阳光照射不到的地方,我也要做城市中最后的光芒,亮起夜港中最亮的那盏灯,焚尽黑暗。复仇并回归混沌凶兽,千古一佛,妖祸魔灾,圣佛救世。 渡天之劫,逆天之行;乱世风云涌,妖祸兴魔灾。 顺天之命,应天之道;邪魅鬼鲛行,不改诛魔志。其实每个人的心中都有遗憾简介:光明与黑暗,烈火与寒冰,在这个混沌的世界之中。 一个无名少年的出世,搅动乾坤,颠覆世界。 亲情、友情、爱情、勇气、冒险。 在少年的身上逐渐显现,直到冰与火的对决。
柒夜百物语 诡异密匙 唐律凶猛 侠骨天娇 我被鬼养大 超能力者的故事 归墟世界 阿达卡之令 神作?这种游戏我有一堆 一半为魔一半仙 自后天形成的怪物 仁簧 帝剑:问天 我吞噬无双 刷怪录 紫薇大帝龙辉 丧尸危机:我重生在末日 活死人围城 神探5118 穿越二十年又双叒叕穿越了 光大到信用卡签名栏在哪 信用卡+签名+拼音 兴业新动力信用卡 招商银行信用卡反面图片 光大到信用卡签名栏在哪 平安信用卡刷卡消费密码怎么设置 0755网申上海银行信用卡要多久 建行信用卡上签名吗 3元信用卡每月的短信提醒有用吗 信用卡签名擦了重写国外能通过吗 平安信用卡取消 建设银行信用卡还款代扣 交通银行信用卡背面用什么笔签字 信用卡+签名+拼音 怎样盗去别人信用卡的钱 建设银行信用卡有效期 0755网申上海银行信用卡要多久 3元信用卡每月的短信提醒有用吗 信用卡背面签字被撕掉了 浦发信用卡补卡 信用卡+签名+拼音 信用卡取现与刷卡哪种方法更好 信用卡 签别人的名字 信用卡背面两个签名 百度外卖信用卡支付 交通银行信用卡背面用什么笔签字 3元信用卡每月的短信提醒有用吗 信用卡 签别人的名字 信用卡背面签字被撕掉了 3元信用卡每月的短信提醒有用吗 建设银行信用卡有效期 信用卡+签名+拼音 信用卡可以要求不带4吗 怎样盗去别人信用卡的钱 工商信用卡安全码 建设银行信用卡有效期 信用卡可以要求不带4吗 兴业新动力信用卡 交通银行信用卡背面用什么笔签字 信用卡取现与刷卡哪种方法更好 信用卡钱看病了算恶意透支吗 信用卡怎么会影响信用 兴业银行信用卡签名怎么看 建设银行信用卡还款代扣 信用卡背面两个签名 信用卡+签名+拼音 建设银行信用卡还款代扣 信用卡钱看病了算恶意透支吗 交通银行信用卡背面用什么笔签字 收拾兴业信用卡中心提额短信 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 命归虚隐 赏金异闻录 张骞 长岁劫预告版 异梦怪谈 万利官网 欧博官网 皇冠登3出租 万利官网 欧博官网 信用卡钱看病了算恶意透支吗 0755网申上海银行信用卡要多久 工商信用卡安全码 交通银行信用卡签名在哪 交通银行信用卡背面用什么笔签字 平安信用卡取消 郑州光大银行信用卡业务员电话 信用卡怎么会影响信用 信用卡签名模糊 国外 信用卡 签别人的名字 信用卡签名模糊 国外 信用卡可以要求不带4吗 信用卡背面签字被撕掉了 3元信用卡每月的短信提醒有用吗 信用卡取现与刷卡哪种方法更好 0755网申上海银行信用卡要多久 兴业银行信用卡商户 交通银行信用卡背面用什么笔签字 招商银行信用卡反面图片 郑州光大银行信用卡业务员电话 信用卡背面两个签名 兴业银行信用卡签名怎么看 建设银行信用卡还款代扣 信用卡 签别人的名字 郑州光大银行信用卡业务员电话 信用卡取现与刷卡哪种方法更好 怎样盗去别人信用卡的钱 信用卡签名擦了重写国外能通过吗 浦发信用卡补卡 信用卡钱看病了算恶意透支吗