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"
基金支持信用卡信用卡可以在哪里刷农村信用社信用卡取现手续费交通银行信用卡账单地址怎么改哪些地方可以刷交通银行信用卡基金支持信用卡信用卡查询密码被锁定怎么办农村信用社信用卡取现手续费华润 潍坊 信用卡 代还泰国用什么信用卡合适大美西藏旅游信用卡农村信用社信用卡取现手续费牡丹江都有什么地方能用信用卡大美西藏旅游信用卡刷信用卡50万买车分期付款泰国用什么信用卡合适信用卡买车24期淘宝商户信用卡手续费哪些地方可以刷交通银行信用卡贷款买车首付可以刷信用卡吗买房定金可以刷信用卡么淘宝商户信用卡手续费华润 潍坊 信用卡 代还日本刷信用卡 手续费拉卡拉能用信用卡吗交通银行信用卡网银支付额度拉卡拉能用信用卡吗日本刷信用卡 手续费贷款买车首付可以刷信用卡吗刷别人的信用卡是不是犯法你做过梦吗?如果有东西可以进入你的梦境,噩梦来临了……一场蓄谋已久的家族风波,让苏骁被关进了世界最为可怕的监狱,无边炼狱当中! 为了复仇,同时也为了将自己的妹妹从那个家族当中拯救出来,苏骁磨灭掉了自己最后一丝理智,化作恶犬,只为争取那一线生机。 却不想,世界晋升战争的出现,打乱了他的全部计划。 心相武器的出现,更是火上浇油。 “即便是世界毁灭!我也一定会找到你的,苏蓉!” 带着拯救妹妹的念想,苏骁带着他的心想武器,开启了他波澜壮阔的一生!无良中介坑骗老人,周铭受到老人恳求举报讨回血汗钱。 周铭:众老放心,不就是要个钱?简单! 三日后。 无良中介团伙被判诈骗罪,十年起步! 孙奶奶:只是让你举报要钱,全给送进去了? 牛爷爷:牛哇!牛哇!比我牛爷爷还牛! 某不知名老人:你缺媳妇不,把我家孙女介绍给你! ...... 父母遭到恶毒亲戚碰瓷...... 周铭:进去反省反省! 女警官遭到键盘侠网暴...... 周铭:你以为隔着屏幕我就抓不到你? 天下不平事太多! 我,周铭! 平定天下不平事!2080年,频繁的战争和资源的枯竭使得诸多国家灭亡,剩余国家为自保开始抱团组成一个新的联合政体。并为了应对天灾,逐渐形成了一个前所未有的超大城市:诺亚市。过于庞大的城市使得联合政府管理有心无力,伴随而来的诸多冲突催生了旺盛的民间安保需求。而主角的故事由此展开意外穿越大秦,成为八公子嬴子夜,觉醒神级阅读系统,只要读书就变强!只要读书就能获得无限奖励,只要读书便可入圣! 为此,嬴子夜终日闭关读书,兢兢业业,不招灾,不惹祸。 终有一日! 始皇重危,意欲东巡求长生。 墨家蠢蠢欲动。 六国余孽准备造反。 赵高意欲篡改遗诏。 …… 嬴子夜知道,这时候不能继续藏了!再藏大秦不复、自己也将被胡亥杀死! “扮猪吃虎十余年,今日本公子不藏了!” “今日,本公子以读书入圣!一剑斩天!” “传令,三千大雪龙骑军出动!” “传令,铁浮屠出动!” “……” 诸天气荡荡,我道日兴隆! 楚风穿越到神秘莫测的世界,悲催的发现自己是个瞎子... 外加没有修炼天赋,只能前往蜀山剑宗的封魔塔,擦拭雕像,却不曾想得到了观像就能得到奖励的系统。 【你成功观像蜀山老祖,获得通天圣体!】 【你成功观像蜀山掌教胜七,获得功法,霸天剑典!】 【你成功观像蜀山长老叶玄,获得顶级道法,一剑定生死!】 …… 三百年后,堕落的正道之首乱天宗,联合曾经毒瞎楚风双眸的拜月神教进攻蜀山剑宗,蜀山剑宗危在旦夕! 楚风持剑,脚踩祥云,俯视妖邪,俾睨天下! “仙人之下,我无敌!” “仙人之上,一换一!”【叮,您的神级搞钱系统已激活!】 伴随着系统的提升声,李凡终于明白了人生的真谛:那就是拼命的搞钱! 李凡借助系统给予的能力,卖配方、开面馆、创业投资一条龙。 秘制水煮肉片,鲜美嫩辣! 天外香炸鸡腿,外酥里嫩! 神级土豆牛腩,酱香浓韵! 除了各种自创顶级菜品外,还有蒸羊羔、蒸熊掌、蒸鹿茸、烧花鸭、烧雏鸡、烧子鹅、卤煮咸鸭、酱鸡、腊肉、松花、小肚儿、晾肉、香肠……等绝味厨艺! 从面馆开始,李凡创业后倚靠着无数神级配方在美食界横行霸道、平步青云的故事拉开序幕…… 观天行,识阴阳,纳五行,万化生乎身,守本性。虽历经万难亦不忘福泽一方。且观天珩烟雨,守己之心,从容而行。虽然南宫基的成长有点慢,但这些都是他必须有的经历,要不如何能在各种经历和磨难中成长,又如何超脱,各位看官请耐心与南宫少爷一起经历,让经历成为财富,成功就在不远的地方等着你。 不知哪个无良老祖立的狗屁祖训,要夺魁才能入世,老子是全能好不?上知天文,下晓地理,琴棋书画样样精通!要不是这几年,看不了师妹们楚楚可怜的目光。会老屈居第二?一尤其那几个老不死的,要不是以后可能成为本少的老丈人,就凭你们老笑我半吊子,不打得你们半身不遂,我配姓隆?!今年比的是武功和医术,看谁能与我争锋?今年我一定要下山,大师姐都下山六年了,要是我找到她,她牵几个小屁孩叫我舅舅,那我找谁哭去?十多年的老书虫,各种类型看了无数,就想写点带脑子的,哪怕爽文、哪怕无敌,也是带脑子的。 有善人、有恶人,但没有什么真正的反派与对错。你一生追求的是什么,是自由,是真情,是家国,是激情,是真理……带着初心,上路吧。
全球进入鬼灵复苏时代 我苟在末世 我!酒剑仙,蜀山签到三百年 江湖豪侠传 前世仇今生报 牧鬼录 对话先贤:开局打造神明禁区 重生之超能力者的复仇 我在末日反杀丧尸 日照银河 剑魂帝国 抗日狙击手 六界圣魔录 贰拾玖楼 做民宿的那几年 灵气复苏:我有个坑爹系统 重生离婚当天,我成了宠妻奶爸 直播手艺大师 北冥真经 神斗大陆:崛起 信用卡最多提现多少 信用卡网上支付原理 信用卡买车24期 哪些地方可以刷交通银行信用卡 信用卡可以在哪里刷 信用卡收费吗? 信用卡买车24期 哪家银行的信用卡最合适 交通银行信用卡网银支付额度 牡丹江都有什么地方能用信用卡 郑州 交电费 刷信用卡 郑州 交电费 刷信用卡 分期费用最少的信用卡 信用卡网上支付原理 基金支持信用卡 哪些地方可以刷交通银行信用卡 在深圳哪里可以刷信用卡 信用卡最多提现多少 用信用卡刷车首付 农村信用社信用卡取现手续费 信用卡网上支付原理 农村信用社信用卡取现手续费 用信用卡刷车首付 淘宝商户信用卡手续费 泰国用什么信用卡合适 分期费用最少的信用卡 信用卡最多提现多少 信用卡可以在哪里刷 用信用卡刷车首付 交通银行信用卡网银支付额度 哪些地方可以刷交通银行信用卡 中国银行信用卡使用规则 交通银行信用卡账单地址怎么改 基金支持信用卡 日本刷信用卡 手续费 拉卡拉能用信用卡吗 交通银行信用卡账单地址怎么改 信用卡买车24期 日本刷信用卡 手续费 刷信用卡50万买车分期付款 拉卡拉能用信用卡吗 哪家银行的信用卡最合适 信用卡如何分期付款买手机 在深圳哪里可以刷信用卡 大美西藏旅游信用卡 中国银行信用卡使用规则 郑州 交电费 刷信用卡 拉卡拉能用信用卡吗 分期费用最少的信用卡 工行信用卡积分换里程 亚星官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 诸天战场:我能无限加点 天道外卖员 重生之超能力者的复仇 白云历险记 超能力者的故事 万利官网 欧博官网 皇冠登3出租 万利官网 欧博官网 泰国用什么信用卡合适 牡丹江都有什么地方能用信用卡 哪家银行的信用卡最合适 交通银行信用卡账单地址怎么改 信用卡可以在哪里刷 日本刷信用卡 手续费 拉卡拉能用信用卡吗 淘宝商户信用卡手续费 拉卡拉能用信用卡吗 在深圳哪里可以刷信用卡 哪些地方可以刷交通银行信用卡 中国银行信用卡使用规则 信用卡买车24期 农村信用社信用卡取现手续费 贷款买车首付可以刷信用卡吗 哪家银行的信用卡最合适 买房定金可以刷信用卡么 信用卡可以在哪里刷 用信用卡刷车首付 刷别人的信用卡是不是犯法 刷信用卡50万买车分期付款 淘宝商户信用卡手续费 信用卡可以在哪里刷 信用卡买车24期 信用卡查询密码被锁定怎么办 贷款买车首付可以刷信用卡吗 工行信用卡积分换里程 华润 潍坊 信用卡 代还 日本刷信用卡 手续费 华润 潍坊 信用卡 代还