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"
信用卡申请资料遗失信用卡 卡号信用卡机票延误信用卡还进去多久可以又刷出来信用卡有欠款可以贷款买车吗信用卡申请资料遗失信用卡宾馆开房可以用吗收利息吗信用卡机票延误信用卡逾期分期买车公务员信用卡逾期有信用卡就可以手机贷信用卡机票延误以前信用卡有逾期能贷款买房吗有信用卡就可以手机贷招商信用卡买梦幻号公务员信用卡逾期光大信用卡可以用几年只凭身份证能办什么样的信用卡信用卡有欠款可以贷款买车吗中信淘宝网联名信用卡v版额度农行信用卡 机票只凭身份证能办什么样的信用卡信用卡逾期分期买车交行信用卡的有效期是多久建设银行信用卡逾期3次光大信用卡金卡一般额度是多少建设银行信用卡逾期3次交行信用卡的有效期是多久中信淘宝网联名信用卡v版额度以前信用卡有逾期能贷款买房吗在这个世界里,跨界石,是一种神奇的东西。相传上古时期,轩辕姬得之,拥有掌控南北两极之能,所以控磁场,造司南。大禹得之,拥有排山倒海之势,所以治江海。? ?...... 而觉醒职业和灵器,是这里每人都渴望的事。 雪擎,一个被祝福和诅咒同时缠上的少年,即将开启一段传奇之旅...... ?因救人死亡的江文重生回高中时代,起初想在自己的青春大搞一场,成为众人瞩目的那个最靓的仔,当异世界的经历让他懂得了珍惜眼前人才是最重要的..............(建议从15章开始看,小白到来,前期感觉不到位,写的有点无趣,后来渐入佳境,请书友不要轻易放弃,给点支持!) “宿主,你不是说你是以蝼蚁之躯游历红尘的巨龙吗?怎么被人捕捉到地牢内受刑了?” 浑身邋遢的君临仙无奈摇头“唉!巨龙也会有打盹的时候,别想以此逼我修炼呀!” 离火宗大殿内,“逆子!这就是你干的好事!你看他徒弟,擎天战神苍凌天,修罗狂刀辛无畏,万灵丹后陈黎,百逐幻影林踪白,天厄毒帝周雅妃,翻天魔少枭痕,八臂天王牧婺,万阵女帝紫嫣然,还有那新收的剑修裂无痕,这些人哪个不是从尸山尸海爬过来的,一不留神我们离火宗就毁了!”十年前,杀星江峰横空出世,枪挑修道世家,剑夺美人娇妻,娶了13个老婆。 后来被雷劈死了。 子嗣江川,拥有超凡能力却无法修行,百年岁月就要沦为黄土… 仰天长啸,苍茫星海,如何走出长生路? 山村少年,一朝变故,成了僵尸族最后的族人。 僵尸诞生于世,天下大乱开始。在这个武力值决定一切的世界里,送货小子偶遇大小姐,一些啼笑皆非的故事在两个人之间展开,慢慢的一些黑暗势力也都展现出来,看送货小子是怎样一步步逆袭的。方源穿越到异界,发现自己身处牢狱,即将命不久矣。 幸好有着伴随他穿越而来的玄幻模拟器,让方源能够将意识投入到模拟器世界中模拟人生,获得超凡力量。 武道世界、巫师世界、诡异世界、修仙世界... 在无数个画风迥异的模拟世界中,方源意识投射诸界,在诸世界中漫步、横行…… 2025年,本来一派和平的地球突然发生了一件大事。 在8月20号时,几个国家的城市中有流光降落。 这些流光带来了极其可怕的黑山羊,将城市变成了人间炼狱。 此后,陆续有流光降临了其它的城市。这些城市无一例外,都生灵涂炭。 面对强大的黑山羊,一名少年,在稀里糊涂的情况下,走入了红华大学中。 他,和一群战士,将会成为黑山羊的噩梦……一个异世界,一个造物主,一段拯救与浪客的传说虽然高杰米的年龄只有九岁,但是聪明伶俐。在经历案子的过程中,高杰米与犯人斗智斗勇,并且帮助四川警局抓住犯人,从此名扬四海。
我的穿越门 江南名片,片片有名 迷失裁决 大道同启 我不是花心盗贼 皇朝争霸,建造最强神朝 虚拟狩猎 魔法修行与魔法学院 不科学宇宙巅峰 诸神听命 善良之神与邪恶之神 成召唤师的我初始召唤精灵 被命运选中的人 击鼓其镗 这个卡师绝对有问题 缆镇语录 残阳起风雷 潜生 迷迷糊糊做三清传人 维克托:失忆 如何对付信用卡催款部 广发信用卡最多分几期 招商信用卡买梦幻号 中信信用卡淘宝v卡 信用卡欠款太多买车 中行信用卡贷款怎么贷 招商信用卡买梦幻号 广发国航信用卡年费 公务员信用卡逾期 中信淘宝网联名信用卡v版额度 建设银行信用卡逾期3次 建设银行信用卡逾期3次 以前信用卡有逾期能贷款买房吗 广发信用卡最多分几期 光大信用卡可以用几年 中信信用卡淘宝v卡 信用卡还进去多久可以又刷出来 如何对付信用卡催款部 有信用卡就可以手机贷 信用卡逾期9次能贷款买车吗 广发信用卡最多分几期 信用卡逾期9次能贷款买车吗 有信用卡就可以手机贷 信用卡 卡号 交行信用卡的有效期是多久 以前信用卡有逾期能贷款买房吗 如何对付信用卡催款部 有信用卡就可以手机贷 有信用卡就可以手机贷 公务员信用卡逾期 中信信用卡淘宝v卡 信用卡欠款太多买车 信用卡还进去多久可以又刷出来 信用卡申请资料遗失 交行信用卡的有效期是多久 建设银行信用卡逾期3次 信用卡还进去多久可以又刷出来 光大信用卡可以用几年 交行信用卡的有效期是多久 招商信用卡买梦幻号 建设银行信用卡逾期3次 中行信用卡贷款怎么贷 交通银行信用卡沃尔玛银联金卡 信用卡逾期9次能贷款买车吗 有信用卡就可以手机贷 信用卡欠款太多买车 信用卡被停能贷款吗? 建设银行信用卡逾期3次 广发国航信用卡年费 信用卡欠款能贷款买房吗 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 签约被拒100次,硬刚到底 仙垂死,我的妖父不容我 屹立高墙之下 入道苍生 我的穿越鉴宝之旅 亚星官网 欧博游戏官网 欧博官网 亚星官网 AG真人 个人信用卡货款 信用卡还进去多久可以又刷出来 信用卡逾期分期买车 信用卡逾期分期买车 只凭身份证能办什么样的信用卡 只凭身份证能办什么样的信用卡 招商信用卡买梦幻号 中行信用卡贷款怎么贷 有信用卡就可以手机贷 信用卡被停能贷款吗? 信用卡还欠钱贷款能下来麽? 广发信用卡最多分几期 信用卡机票延误 个人信用卡货款 广发国航信用卡年费 信用卡逾期9次能贷款买车吗 广发信用卡最多分几期 光大信用卡金卡一般额度是多少 公务员信用卡逾期 公务员信用卡逾期 交行信用卡的有效期是多久 广发国航信用卡年费 信用卡还欠钱贷款能下来麽? 光大信用卡金卡一般额度是多少 中信淘宝网联名信用卡v版额度 信用卡申请资料遗失 信用卡有欠款可以贷款买车吗 光大信用卡可以用几年 信用卡 卡号 个人信用卡货款