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"
广发信用卡手机套现关闭境外支付的信用卡广发信用卡天天打电话广发信用卡一次提额多少钱广发信用卡指定还款广发信用卡手机套现光大菁英信用卡额度一般多少广发信用卡天天打电话光大精英信用卡额度是多少负债高好申请的信用卡吗广东省如何信用卡加油广发信用卡手机套现光大京东小白天信用卡广东省如何信用卡加油广发信用卡天天打电话负债高好申请的信用卡吗光大菁英信用卡额度一般是多少广发信用卡指定还款广发信用卡指定还款光大新版阳光白金信用卡白金卡额度光大精英信用卡额度是多少钱广发信用卡指定还款可以吗光大精英信用卡额度是多少光大小黄鸭信用卡年广发信用卡溢缴款异地光大香水信用卡年费广发信用卡一次提额多少钱光大小黄鸭信用卡酷黑光大新版阳光白金信用卡白金卡额度光大菁英信用卡额度多少傀儡挣不脱手的操控,风鸢扯不断线的束缚。但你是否甘心? ...... “执吾契约,为吾使徒!天地常在,子亦长存。愿否?” “终为始,始亦终。化身尘土,还灵天地!愿否?” ...... 苍老的声音在雾海中翻腾,沉默等待那意料之中的答案...... ...... 前科幻频道《星徒》作者,日更连载1076天无断更。 地图设定、3D人设、作者信息尽在公众号,搜索“游云之语”或者“cloud-whisper”一朝穿越成为不学无术、荒淫无度的纨绔太子。 为了重塑自己的形象,得经得住诱惑、耐得住寂寞。 面对手下宦官的谄媚,朝中大臣的冷眼,一众弟弟的虎视眈眈,朱永笑了。 有母后临终前给的九十九道免死金牌,根本不慌好吧。 我就当着你的面捅了你,你能咋地?隔壁星球突然被点燃,自己的星球又被彻底隔绝联络,到底发生了什么事?我们该如何抉择?文明的归途到底在何方? 生存在茫茫浩宇之中,生命存续的意义何在?也许你能从本书中找到答案。社畜石源,闲暇之余,最爱好看免费小说。 他甚至还有一个美好的梦想,躺在家里什么工作都不用做,光靠看免费小说就能迎娶白富美、走上人生巅峰...直到有一天,他看的免费小说里,突然出现一个闪烁着光泽的宝箱,石源下意识便点开。 “你寻到青铜宝箱*1,获得地摊大力丸*5。” “叮..检测到你当日当周阅读时长达标,符合看免费小说就变强系统激活条件,恭喜你获得现金奖励10000,特殊技能过目不忘*1..” “书中自有颜如玉,书中自有黄金屋,看免费小说就变强,拒绝一切套路!” “你寻到黄金宝箱*1,获得可控核聚变技术*1..寻到暗金宝箱*1,获得完整修仙功法*1...” 那一日,一个自称女反派的绝美女人从书中跳出,痛哭流涕告诉石源,战神XX率十万虎贲回归血洗她全家,寻求石源帮助。 石源:“战神是吧?十万虎贲是吧?统统镇压丢进X院照顾战神他全家的生意...” 本故事纯属扯淡虚构,如有雷同,不胜荣幸。“如炼狱般暗无天日,如深渊般深不见底,我该如何度过这一切啊...” “雷远鸿...在这宿命与劫难的交织中...你究竟能缔造出什么样的故事呢..” “就如我所见,我来到了过去的世界,完全与我原来的超时代建筑不一样,虽无了科技感,却让我倍感轻松!这便是自然吗...不..这是!” 当雷远鸿从裂缝中降临到世界时,便已然决定了他的命运... “不!我的命运只能在我的手中!” 《神御灵轮:龙神九鳞之首》 雷远鸿:没错,不用想了,这就是为本大爷准备的爽文。 作者:去你丫的!我乃李青,今日人族之守护神。若有妖魔残害人族,吾定不饶。本是菩提老祖众多菩提中混入的一粒蝴蝶兰种子,被幻化成人的瑶池王母种植的一株柳树机缘偶得,下凡修道。 九天玄女弄丢了自己万年不曾离身的蝴蝶兰种子,寻而不得,下到凡间历劫,成为了王母与菩提斗法的变数。 且看他撼天威,趟地劫,修一念,劈开枷锁,修一念,守一人,偏不信这天道弄人,偏不信这天生棋子,誓要成为自己的主宰。起源灾星下凡,经历古寨成长,于混乱的大陆披荆斩棘,行走于天地之间,历劫不弃,善恶之间,斗地之恶,战天之锁,诡异奇术,不改正心,无惧生死,修逆天一念,只为守护。洪武十二年,大明初创。 蒙元余孽依旧在虎视眈眈,逐渐走出黑暗中世纪的西方也开始文艺复兴。 就在这个古老民族即将被世界抛弃的关键节点。 一个穿越的灵魂降临大明,附身到了一个十五岁的少年身上。 “有一人。 他文可订币制,育良种,办大学,开科学为天下先! 武可发明蒸汽机,造枪炮,扬帆七海,让凶残的草原蛮子为朕歌舞助兴!” “他,就是我朱元璋的孙子,朱肇辉!”又名:乌云下的岛 我的前半生虽未结束,但我却时时不在缅怀。我的前半生是孤独的,也是有光的。我是一个矛盾的人,是一个病人,我渴望着温暖与救赎,却也享受着时常出现的孤独寂寞。青春不是某一瞬间结束的,而是在无数个悲痛的日夜中渐渐不再那么光彩照人,它会随着时间隐没在我生命的某个角落,在记忆中留下印记,陪伴我一生。 一个三无男青年和都市靓女们的平凡爱情故事
浔城英雄传 黄梁元年 元宇宙:明日之战 太泽界 海岛生存游戏 宅家百年,出门已成剑神 乱世虎将 九州有烽火 全球诡异:我的技能有亿点多 在异界的一二三事 太岁:不良少年到待业青年 仙道圣尊 于乐不太成功的自传 武神星空 我有九十九道免死金牌 末世炽焰 大唐:开局曝光私生子身份 灭尸运动, 穿越诸天从梦幻西游开始 启星录 光大菁英信用卡额度一般是多少 广发信用卡天天打电话 广东省如何信用卡加油 光大新版阳光白金信用卡白金卡 光大菁英信用卡额度一般多少 光大菁英信用卡首刷 负债高好申请的信用卡 广发信用卡一次提额多少钱 光大菁英信用卡年费多少 广发信用卡溢缴款异地 附带的境外信用卡年费 附带的境外信用卡年费 光大精英信用卡额度 广发信用卡天天打电话 关闭境外支付的信用卡 光大小黄鸭信用卡年 负债高好申请的信用卡吗 光大菁英信用卡额度一般是多少 光大菁英信用卡额度多少 光大香水信用卡年费 广发信用卡手机套现 光大香水信用卡年费 光大菁英信用卡额度多少 光大新版阳光白金信用卡白金卡额度 广发信用卡下期还款日 光大精英信用卡额度是多少 光大菁英信用卡额度一般是多少 光大菁英信用卡额度多少 光大京东小白天信用卡 光大菁英信用卡额度一般是多少 光大新版阳光白金信用卡白金卡 广发信用卡手机套现 光大小黄鸭信用卡酷黑 关闭境外支付的信用卡 光大精英信用卡额度 光大小黄鸭信用卡年 光大小黄鸭信用卡酷黑 光大菁英信用卡年费多少 光大小黄鸭信用卡年 广发信用卡下期还款日 广发信用卡溢缴款异地 服务员怎么能办信用卡 光大新版阳光白金信用卡白金卡额度 光大菁英信用卡首刷 广东省如何信用卡加油 负债高好申请的信用卡 光大精英信用卡额度 广发信用卡溢缴款异地 光大新版阳光白金信用卡白金卡 光大菁英信用卡额度一般多少 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 命理的回忆录 基因吞噬纪元 穿成神兽饕餮,被软萌校花召唤了 群英缪传 荒山战纪 AG真人 欧博官网 亚星游戏官网 AG真人 百家乐官网 广东省如何信用卡加油 负债高好申请的信用卡 广发信用卡一次提额多少钱 广发信用卡指定还款 广发信用卡天天打电话 服务员怎么能办信用卡 光大菁英信用卡年费多少 光大新版阳光白金信用卡白金卡 广发信用卡一次提额多少钱 关闭境外支付的信用卡 光大新版阳光白金信用卡白金卡额度多少 光大精英信用卡额度是多少 广发信用卡溢缴款异地 光大小黄鸭信用卡年 光大京东小白天信用卡 光大京东小白天信用卡 光大新版阳光白金信用卡白金卡额度 光大新版阳光白金信用卡白金卡额度多少 光大小白卡是信用卡吗? 广发信用卡溢缴款异地 广发信用卡手机套现 附带的境外信用卡年费 广东省如何信用卡加油 光大小黄鸭信用卡年 广发信用卡下期还款日 光大菁英信用卡额度一般多少 光大新版阳光白金信用卡白金卡额度 附带的境外信用卡年费 光大小黄鸭信用卡年 光大小黄鸭信用卡酷黑