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"
上海天气预报·柬埔寨30天气象l乐东历史天气乐东县城天气预报永昌县30天天气预报上海天气预报·长白山天池未来3o天气l乐东历史天气中国近些年的极端天气宁阳一个月天气永昌最近天气l乐东历史天气台州椒江天气40永昌最近天气海南省 乐东黎族自治县天气宁阳一个月天气长白山11月15天气海南 尖峰岭天气永昌县30天天气预报一周星期天气预报山东淄博天气预报文字版海南 尖峰岭天气中国近些年的极端天气循化6月天气五台山旺季天气金边11月天气预报五台山旺季天气下周金边的天气一周星期天气预报天气预报 冷锋江潮刚穿越古代,发现前身是个好吃懒做的主,家里还有一对苦命姐妹。 眼看断粮要饿死,江潮只能做个勤劳的小蜜蜂。 却不想日子有点盼头,土匪又上门了。 都不想我活是吧?那我就先弄死你,我可是全能特工,先弄几颗土雷轰你娘的。 土雷不怕?枪怕不怕?要不就搞几门炮炸你玩玩!没事,数理化哥全能。你来再多,有的是办法对付你。 朝为田舍郎,暮登天子堂! 从乡野到朝堂,江潮靠着领先这个时代千年的知识,竟渐渐握住了这个强盛王朝的脉搏。无良中介坑骗老人,周铭受到老人恳求举报讨回血汗钱。 周铭:众老放心,不就是要个钱?简单! 三日后。 无良中介团伙被判诈骗罪,十年起步! 孙奶奶:只是让你举报要钱,全给送进去了? 牛爷爷:牛哇!牛哇!比我牛爷爷还牛! 某不知名老人:你缺媳妇不,把我家孙女介绍给你! ...... 父母遭到恶毒亲戚碰瓷...... 周铭:进去反省反省! 女警官遭到键盘侠网暴...... 周铭:你以为隔着屏幕我就抓不到你? 天下不平事太多! 我,周铭! 平定天下不平事!我曾在辉煌中等待灾难,也曾在夜幕中等待黎明!江鸿只是在课堂上看了一会西游记,没想到看着看着 睡着后竟然穿越了! …… 不对,这一群和尚是谁啊! 不对,我的声音怎么变了! “明日玄奘法师就要去求取真经了,可真想跟着啊。” 什么,这旁边和尚说的是什么啊! 江鸿忧愁的摸了摸自己的头,顿时爆了粗口 谁给我头发剃了,我怎么成和尚了。 还有,这桌子上的《西游记》是认真的嘛! ……不良人世界雷霆降世,洗净天下污垢。 乱世之中,平定天下,建立一方净土。 预定世界看评, 林辰用短短三百年时间,成为仙界最年轻的仙帝,却遭三大老牌仙帝联手围攻,同归于尽。 未曾想重生回到少年时的蓝星,这一世他将不再留有遗憾,有怨报怨,有仇报仇! 修仙之路也将更加势不可挡!白氏夫妇的离奇死亡引来江湖上二十余年的争斗不休,逃出生天却散落各地的白氏三兄弟,将要如何解开父母被害的谜团,他们到底是江湖上人人钦佩的有德之士,还是人人得以诛之的欺世盗名之徒,迷雾一层又一层,父母,兄弟,爱人,师长,义父,每一个人都有自己的秘密,每一个人都与三兄弟纠葛不清,江湖之大,三兄弟该何去何从……你相信这个世界上是没有鬼的,都市传说也总是有迹可循,八尺大人是人撑着木偶,灵异公车只是高仿车伪装,猫脸老太用面具拐卖儿童。不过当儿童用伞顶着的帽子被家长收回,在街上的“野公交”被交警罚下,人贩子被判刑7年,谁又能解释这之后的状况呢?是神?是鬼?还是人?魂,乃人之始。 内魂,乃人之本。 一切以魂而生,一切以魂而死。 究竟是奋起直追,还是自甘堕落。 内魂,方可掌控乾坤! 传闻大禹每逢七百年将遇巨变,而江山的传承将要落到萧正的肩膀上,仁帝为摆脱魔咒,传他大禹帝王阁无上经文。而后上青云峰入玲珑观,得‘机缘道人’点拨,心智也变得成熟。待到一切安排就绪,美人在怀,情丝渐深。朝堂和江湖的纷乱也逐渐露出了端倪......
邪灵世界:我以肉身横推此世 名劫 仙路鬼途 人逆流芳 维克托:起源 从我是特种兵开始崛起 万武仙尊 全球震惊!我真不是盗墓贼 逆境修天 王者之共创荣耀 世末之路 乱世争雄之荆楚 毕加索的交流 大梁镇妖司 废体乱仙途 命中之纹 清净世界 洛阳亭 平子寻道 灵气复苏我有幻想置换器 金边11月1日天气 长白山天池未来15天天气预报一周 11月1日长白山天气 永昌县30天天气预报 柬埔寨30天气象 下周金边的天气 11月1日长白山天气 冷锋是什么天气 金边11月天气预报 台州椒江天气40 长白山天池未来15天天气 长白山天池未来15天天气 循化 天气预报 历史 长白山天池未来15天天气预报一周 上海天气预报· 永昌县30天天气预报 新野最新天气预报 金边11月1日天气 11月淄博天气预报 l乐东历史天气 长白山天池未来15天天气预报一周 l乐东历史天气 11月淄博天气预报 海南 尖峰岭天气 宁阳一个月天气 循化 天气预报 历史 金边11月1日天气 11月淄博天气预报 11月淄博天气预报 金边11月天气预报 永昌县30天天气预报 11月10日黄山天气 乐东县城天气预报 上海天气预报· 循化6月天气 五台山旺季天气 乐东县城天气预报 11月1日长白山天气 循化6月天气 海南省 乐东黎族自治县天气 五台山旺季天气 冷锋是什么天气 一周星期天气预报 新野最新天气预报 永昌最近天气 11月10日黄山天气 长白山天池未来15天天气 五台山旺季天气 循化 天气预报 历史 长白山11月15天气 亚星游戏官网 亚星官网 亚星官网 亚星官网 亚星官网 异界最强户口本 绝世双屠 末世之我真不想当潘跑跑啊 契约双刃 虚实元宇宙 百家乐官网 澳门葡京游戏官网 澳门葡京官网 百家乐官网 亚星官网 天气预报 冷锋 山东淄博天气预报文字版 宁阳一个月天气 下周金边的天气 11月1日长白山天气 海南省 乐东黎族自治县天气 海南省 乐东黎族自治县天气 中国近些年的极端天气 山东淄博天气预报文字版 长白山11月15天气 下周金边的天气 11月淄博天气预报 l乐东历史天气 海南 尖峰岭天气 新野最新天气预报 金边11月1日天气 五台山旺季天气 中国近些年的极端天气 长白山天池未来15天天气预报一周 新野最新天气预报 金边11月1日天气 长白山天池未来15天天气预报一周 长白山天池未来15天天气预报一周 循化6月天气 循化 天气预报 历史 柬埔寨30天气象 金边11月1日天气 一周星期天气预报 上海天气预报· 永昌县30天天气预报