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"
大学生用信用卡吗?担保办理大额信用卡是真的吗大学生怎么开信用卡大学生做包装办信用卡大学生信用卡代款大学生怎么开信用卡吗盗刷信用卡英文怎么说大学生做包装办信用卡单芯片信用卡普卡滴滴支付 信用卡积分电脑支付宝怎么申请信用卡大学生做包装办信用卡到银行怎么办理信用卡电脑支付宝怎么申请信用卡贷款的车还不上怎么办理信用卡滴滴支付 信用卡积分盗用身份证网申信用卡大额贷款 信用卡是真的吗大额贷款 信用卡是真的吗大学生用信用卡吗?担保办理大额信用卡是真的吗大额贷款 信用卡是真的吗单芯片信用卡普卡到期的信用卡大学生信用卡申请额度到农行去查信用卡额度吗大学生信用卡申请额度到期的信用卡大学生用信用卡吗?到银行怎么办理信用卡自人族开灵智以来,修神道,锻神器,创体系,撰写功法,御外敌,击域外生灵,人族得以生存繁衍万载,而今乱世将至,万族争锋,域外生灵再临,看人族再造辉煌。 一颗天地初开时,第一缕鸿蒙紫气孕育的神秘源种。 一部被尊为万法之源,大道之纲的逆天功法。 一把替天罚神、屠戮万界神魔的残破古剑。 一个死而复生,天资妖孽的热血少年。 一段逆天改命,横扫万界天骄,镇压亿万神魔的狂暴之旅。 我名楚天辰,这是我的传奇,我为众神之主!陆冲穿越到与母星似是而非的高武蓝星,觉醒武功自动修炼系统。 纳气诀三百六十五天不间断修炼,修为没有瓶颈; 开碑手知耻后勇,修炼速度翻倍,突破到大成; 金钟罩觉得自己还能抢救,自行推演成为神级武学…… 全球进化,异兽复苏,都是我的菜; 外星文明即将入侵,倒计时十年,请准备迎接; 神明百年后降临,届时将奴役蓝星…… 蓝星只是一级文明? 外星异族:谁说的,站出来试试! 万族入侵,华夏禁行!  灵气复苏居然靠写小说就能具现功法,当别人为一部罗汉拳而大打出手的时候,我已经获得了九阳神功。 当众人有一部功法的时候,不好意思,我已经获得了全部的七十二绝技。 明明靠写小说就能获得功法,为什么还要打生打死呢? 王腾对此不太理解!堂堂华夏后裔刘镇宇一觉醒来,却发觉已置身异界:我的妈,我的个爹,好多狮子!还有斑马,哦,这是大象,犀牛,还有河马!…… 不!一一我要回家……侠客,了平生事,却心中念便是一个出身贫寒的人 ,进入警局有多大的用处李明远是一个洞庭湖边上工艺品店的老板因为抢了恶霸,刘建成的生意。店内被人砸了从此生意一蹶不振但是有一天他的大学同学给他介绍一庄生意说是去寻宝。抱著好奇和一颗想见世面的心,他硬是跟上他同学及一群盗墓高手的盗墓之旅,。在这个过程中他遇见了北冥和邓鸿飞。在途中,很多他一辈子都没见过的东西,或是连想都没想过的东西,一个接着一个出现。遭遇的每件事,越来越离奇。 悲欢世界是一个以捉鬼盗墓为明线,实则以讽刺权贵揭露人心,为暗线的作品杨成林是一名矿工,7年前因为母亲反对,眼睁睁的看着自己的心上人另嫁他人,年轻气盛且心灰意冷的杨成林果断娶了外乡来的戏班女子——一个颇有争议的秦腔坤生演员。原本,杨成林此举是为了恶心反对她婚事的母亲,但殊不知这居然是他噩梦的开始,这个名叫李桂芝的女子带给他的一生无尽的折磨,他拼命挣脱,试图改变、阻止这一切,但发现一切都不是自己力所能及的。直到有一天好兄弟潘江龙也搅和在自己的家庭当中,事态似乎又朝着另一个完全失控的方向发展......此文是麻辣女兵续文,之前一直在别的地方有更新,现在搬到这里是因为17k是我写文章的起点。此文为虐文,是5年前想出来的大纲,之所以写出来是觉得里面有的情节还不错,希望大家喜欢。文章我确实是按照麻辣女兵之前的性格人物来写的,所以读者有质疑欢迎提出来我们做探讨!
云海沉浮 著名的影帝演技 大楚府兵, 仙键奇缘 辉光之界 幻日 朔夜微茫 我在魔法世界练九阳! 书童凶猛 寄心生梦 系统:打造最强神兵 一拳侠 Revenge the end 卦灵路 修个长生大道 赢得天下薄幸名 精灵世纪:王者归来 重生之王爷难当 傲娇师尊爱上我 逍遥小家丁 香水与星河 但没有信用卡吗 电脑支付宝怎么申请信用卡 盗刷别人信用卡500 大学生信用卡代款 但没有信用卡吗 到农行去查信用卡额度 盗刷信用卡英文怎么说 抵押办信用卡 到国外用信用卡方便吗 滴滴支付 信用卡积分 单币信用卡 还款 盗用身份证网申信用卡 到农行去查信用卡吗 电脑支付宝怎么申请信用卡 大学生用信用卡吗? 大学生信用卡代款 盗刷信用卡英文怎么说 到国外用信用卡方便吗 单芯片信用卡普卡 大学生怎么开信用卡 电脑支付宝怎么申请信用卡 大学生怎么开信用卡吗 担保办理大额信用卡是真的吗 大额贷款 信用卡吗 电脑支付宝怎么申请信用卡吗 到农行去查信用卡吗 到国外用信用卡方便吗 担保办理大额信用卡是真的吗 单芯片信用卡普卡 到国外用信用卡方便吗 大学生信用卡代款 电脑支付宝怎么申请信用卡 大学生做包装办信用卡 大学生用信用卡吗? 到农行去查信用卡额度吗 大学生信用卡代款 大学生做包装办信用卡 盗刷别人信用卡500 到农行去查信用卡吗 大学生怎么开信用卡吗 贷款的车还不上怎么办理信用卡 滴滴支付 信用卡积分 贷款还大额怎么办理信用卡 盗刷信用卡英文怎么说 大额贷款 信用卡吗 电脑支付宝怎么申请信用卡 盗用身份证网申信用卡 贷款的车还不上怎么办理信用卡 到农行去查信用卡吗 到银行怎么办理信用卡 亚星官网 亚星官网 亚星官网 亚星官网 亚星游戏官网 若世:星启混沌 少年仙尊 神作?这种游戏我有一堆 风之律者 梦尽星河 AG真人 亚星管理平台 亚星游戏官网 AG真人 百家乐官网 但没有信用卡吗 贷款的车还不上怎么办理信用卡 抵押办信用卡 大学生怎么开信用卡 盗刷信用卡英文怎么说 大额贷款 信用卡是真的吗 大学生怎么开信用卡吗 到国外用信用卡方便吗 盗用身份证网申信用卡 单币信用卡 还款 鼎雅白金信用卡 活动 盗刷别人信用卡500 滴滴支付 信用卡积分 担保办理大额信用卡是真的吗 到农行去查信用卡吗 大额贷款 信用卡是真的吗 鼎雅白金信用卡 活动 贷款的车还不上怎么办理信用卡 电脑支付宝怎么申请信用卡吗 大学生怎么开信用卡 盗刷别人信用卡500 大额贷款 信用卡吗 但没有信用卡吗 但没有信用卡吗 电脑支付宝怎么申请信用卡吗 电脑支付宝怎么申请信用卡吗 大学生信用卡申请额度 到银行怎么办理信用卡 抵押办信用卡 担保办理大额信用卡是真的吗