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"
办了二张平安信用卡办信用卡怎么办不下来了办信用卡回扣百分之八办信用卡可以分期还款吗办信用卡老是人行不良办了二张平安信用卡办信用卡要公司的电话号码办信用卡回扣百分之八办信用卡银行查社保吗办信用卡收费吗办信用卡领礼品陷阱办信用卡回扣百分之八办信用卡信息怎么写办信用卡领礼品陷阱办信用卡可以分期还款办信用卡收费吗办信用卡要公司的电话号码是多少办信用卡领礼品办信用卡领礼品办两张同行信用卡办信用卡银行排名办信用卡领礼品办信用卡银行查社保吗办一张信用卡能用多久办信用卡来单位办办信用卡赠品办信用卡来单位办办一张信用卡能用多久办两张同行信用卡办信用卡信息怎么写永安不安!白焰不白!一团苟延残喘的青焰,一个没落门派的弟子,一段埋葬在时间长河的秘史,千年的和平似乎让人们忘记了曾经的威胁,在这诸天星海,万界之族中,苦而弥坚的人族、据高临下的妖族、作壁上观的神族以及……在这万类霜天竞自由中,谁为棋子?谁为棋手?赵风穿越秦朝成为了始皇帝的第七子,嬴子歌! 原以为远离咸阳便能躲避灾祸,但赵高却找上门,好在系统如愿开启。 【神选一:接受始皇召令,卸下兵权,立即启程返回咸阳。】 【神选二:拒接始皇召令,立刻起兵,自立为王!】 【神选三:接受始皇召令,立刻回都,向始皇索要太子位!】 面对选择,嬴子歌选择了去向嬴政要太子之位。 至此,暴揍胡亥、疯斩徐福、莽破匈奴、凶伏百越..... 蒙恬:报始皇帝陛下,太子殿下率兵诛杀了匈奴二十万。 嬴政:...... 章邯:报始皇帝陛下,太子殿下已经诛杀了六国叛徒,这是刘邦与项羽的人头。 嬴政:...... 本作品已经废除,特此告知书友天选降临,蓝星各国分为不同文明,每个文明抽取一百人进入天选空间,以神话底蕴为力量源泉,展开竞争! 西方天使、希腊众神、克苏鲁神话、埃及法老、樱花国八百万神…… 唯独,没有炎黄神话! 蓝星之上,炎黄经历文明断层,举头三尺无神明。 直到云泽穿越而来。 云泽:“我炎黄乃上古文明!上有盘古开天辟地,下有仙神护国安民!” 蓝星诸国:“别搞笑了,炎黄无神,众所周知!” 半年后…… “这天选不公平!炎黄本就是高级文明,随便挑个神就能碾压我们,这还怎么玩!”都市玄幻异能小说。因为一个绝色女人,黑客和黑帮势不两立。 键盘侠如何跟舞枪弄棒的黑帮一决高低? ······ 中国版《教父》,脑洞大开,令人耳目一新!    那一年,横推八百无对手,轩辕重出武圣人但是无敌! 那一年,飞天魔女龙云凤还没出现! 那一年,细脖大头鬼的鼻子还在! 那一年,九尾妖狐陆素珍已经变坏! 那一年,玉面小达摩还没,浪起来! 这是一个男主立志要成为神一般的骑士的故事,故事中寒怆与女主李雅丹等一行人去寻找七色之心,最初的目的只是为了寻父而已,最后竟发现......宋帝都临安府爱国人士:吴俊振,与用时光机穿越过来的现代大学生:马维,两人一起被龙卷风漩涡黑洞带着,穿越到了明崇祯十六年公元1643年兴都留守司显陵卫境内,在机缘巧合之下他们俩主动应征入伍参军,从此开启一段帮助大明帝国收复失地的旅程,本文群号799968110怪异的神明不断的从睡梦中苏醒,伴随着不知名的恐怖……世界就这样归于寂静。 但是就算这样人类还是不甘寂静,试图在虚无中苟活……
神将:铁人军玄虎 致命舞蹈 网游重生之剑神 所得与所失 疯子笔记 培新之翼 大唐江湖笑红尘 铁血狂徒之周姐是我妻 众神偏爱我们兄妹 我的世界:无畏 斩彦 四颗丸子的未知世界 末世荡漾 校园学霸风云之路 七煌的刻印使 创世仙皇 君临于天 魂穿之竟然是个废柴 苍玄神典 未来归零 办信用卡怎么领礼品 办信用卡申请已受理是什么意思 办信用卡要公司的电话号码是多少 办信用卡老是人行不良 办信用卡怎么领礼品 办信用卡咋知道通过没 办信用卡要公司的电话号码是多少 办信用卡透支多少钱啊 办信用卡赠品 办信用卡先存钱才发卡 办信用卡要什么资质 办信用卡要什么资质 办一张信用卡能用多久时间 办信用卡申请已受理是什么意思 办了二张平安信用卡 办信用卡老是人行不良 办信用卡要哪些手续费 办信用卡赠品 办信用卡有啥用 办信用卡回扣百分之八 办信用卡申请已受理是什么意思 办信用卡可以分期还款 办信用卡怎么办不下来了 办信用卡领礼品陷阱 办信用卡收费吗 办一张信用卡能用多久时间 办信用卡赠品 办信用卡怎么办不下来了 办信用卡有啥用 办信用卡赠品 办信用卡老是人行不良 办信用卡内部渠道 办信用卡可以分期还款吗 办了二张平安信用卡 办一张信用卡能用多久 办信用卡老是人行不良 办信用卡可以分期还款吗 办信用卡要公司的电话号码是多少 办一张信用卡能用多久时间 办信用卡可以分期还款 办信用卡来单位办 办信用卡先存钱才发卡 办两张同行信用卡额度 办信用卡要哪些手续费 办信用卡领礼品陷阱 办信用卡内部渠道 办信用卡要什么资质 办信用卡来单位办 办一张信用卡能用多久时间 办信用卡要公司的电话号码 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 我以气血入道 百妖物语之山海经 无编军人 异界牛马 九魂乱世 亚星管理平台 葡京官网 AG真人 亚星管理平台 万利官网 办信用卡要公司的电话号码 办信用卡收费吗 办信用卡收费吗 办信用卡领礼品 办信用卡领礼品陷阱 办信用卡来单位办 办信用卡需要什么资格 办信用卡银行查社保吗 办了二张平安信用卡 办信用卡老是人行不良 办信用卡咋知道通过没 办信用卡可以分期还款 办信用卡怎么办不下来了 办信用卡领礼品陷阱 办两张同行信用卡 办信用卡需要什么资格 办信用卡需要什么资格 办信用卡回扣百分之八 办信用卡可以分期还款 办一张信用卡能用多久时间 办信用卡领礼品陷阱 办信用卡可以分期还款吗 办信用卡信息怎么写 办信用卡收费吗 办两张同行信用卡额度 办信用卡老是人行不良 办信用卡要公司的电话号码是多少 办信用卡回扣百分之八 办信用卡信息怎么写 办两张同行信用卡额度