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"
恶搞的头像瑞文萌头像饥荒麦头像m字母头像女头像丝袜恶搞的头像范晓萱头像饥荒麦头像锋字头像郑元熙头像死神魂头像饥荒麦头像饼头像死神魂头像兽人头像郑元熙头像宅头像手工头像女头像丝袜武术头像球衣头像手工头像锋字头像头像红酒吉他的头像金素贤头像吉他的头像嘶喊头像武术头像竖锯头像男主的父亲长弓穹在15年前为了保护家族不被吞并,便与妖精一族签订了一笔契约,条件是妖精一族将会帮助长弓家渡过难关但代价是,妖精一族要带走他任意的一名子嗣,与长弓家再无半点瓜葛。 15年后当我们的男主再次醒来时,已然被妖精们带到了他们的大本营里百妖神录,在妖精一族狐女的要求下,签订了一份新的妖精契约,至此成为了他们的首领。 正当男主准备接受这样的命运时,面对着都市当中涌现大量鬼怪与几大家族丑恶的嘴脸,一个个可怕的阴谋围绕着自己展开,而长弓子初也将率领着自己的东方妖精一族与岛国的百鬼夜行和西方的恶魔撒旦组织展开了一场成王败寇的较量,也是从这个时候开始,一段过往的秘辛就此掀开。 “无胚种计划”,维斯帝国于十二年前开展的计划,“与其让战士们练习如何使用剑,还不如让孩子们从一开始就练习。”在这样的政策下诞生的少年少女们,被称为“心无”。 他们在十七岁登上战场,在惨烈的战场中摸爬滚打三年之久,最后幸存的七人在新生的维斯联合王国中生活,他们的命运又将如何?游玉山是个普通的鞋厂低层员工, 一次外出游玩吃了一种野果中毒昏迷, 醒来后不但没事…… 却发现自己有超强记忆力。 只要看过一遍的事物都能记住。 为了小时候梦想,游玉山喜欢研究各种飞行器。 为了能够有天开着飞行器遨游未知的宇宙看看。 15年后,在无数次的失败和成功后,历经艰辛、实现梦想。此后到达了一个修真大陆,从此走上修真…… 呐,说话要讲证据! 我区区一个宗门杂役,怎么会是全能大师呢? 还有,我只是武气六段的菜鸡,怎么可能把师兄指点成首席弟子呢? 至于那些神兽、武皇、魔教……都听命于我?我不是我没有别瞎说。 最过分的是,我一个怂包,你们竟然怀疑第一美女师姐喜欢我? 好吧,就算这些都是真的,难道我想当一条咸鱼也有错吗?后金铁骑灭宋,历史拐弯进入刘氏文朝。文昭帝五十二年,内忧外患,左相专权当道,宗室萧墙。腐朽将倾,灭国亡种露端倪。 懦弱书呆子杨继业在荆蛮楚地意外转性,文武并行,带领蛮族军一路前行。破山贼、剿倭寇、东控海贸、北撼蒙匈;内权肃奸、强兵兴武,皇权进村,国富民安,成就权相伟业,华夏一族登临世界之巅。 架空历史+商战+官场+战争+崛起当气温骤降,末日是否即将到来? 直到人们发现,这一切的一切才开始救赎。智慧的头脑与冷静的心,是面对这一切的最好决策。现代科技不断更新迭代,那厚厚的冰墙却还是亘古不变。为什么? 冰的另一端是什么?这没有人知道。或许是另一个国度,又像是真理的尽头。虚无缥缈的希望与能砍破一切的破冰刀,在人们的手中,又有多少的绝望? 破冰者,这个时代的荣耀,但谁又知,成就之困难。唯有在绝望中诞生的,或许可以借助这一切,去往之真理的圣地。 “所及之处,处处是路,处处是光明,还有先辈们的脚印与他(她)们的热血_”大荒之地的鬼王夜在与鬼帝争执后,被鬼帝打伤,拖着伤穿越时空来到另一个世界,意外进入向往的生活节目组,成为了一名明星,并靠着粉丝的喜欢、仰慕值,由鬼道改修了仙道,最终成就了一代传奇。意外穿越来到平行世界。 陈宇绑定了“究极治愈游戏系统。”开启了新的人生。 只不过.... 这治愈游戏好像有些不同。 303公交往事的护士女鬼姐姐来治愈你。 青峰精神病院的慈祥老奶奶来治愈你。 寂静中学的柴刀学妹告诉你沉默是金。 牛角村的小嫂子告诉你要相信唯物主义。 一个个游戏被陈宇发布出来,而他家里的刀片已经堆积如山。 所有玩家都在拼命地寻找着他的住处,纷纷表示想要“友好拜访。” 这是一部通过讲述男主人公千万富豪李四,从离婚前发生的婚外情和婚外恋,到再也无法忍受家中的河东狮吼而选择离婚,再到离婚后追寻理想化爱情、不断相亲,再到历经一番又一番的波折后,再次走向婚姻这一过程中发生的系列不可思议得、啼笑皆非的无厘头婚恋故事。从而借此反思当代人极其扭曲的爱情观及婚恋观,是一部语言流畅优美,可读性极强的现实题材小说。由于核战争的爆发,大量的能量,摧毁了地表许多的城市但是一直在各种动植物体内沉睡的基因苏醒了。各种各位出现过的神奇动植物都出现。人类的生存空间越来越小……
诡秘游戏:开局获得德古拉血灵! 大明:我爹是朱元璋 关于重生后的老婆嫌弃我是个穷鬼这件事 重生之大帝奶爸 姐姐请自重:我可是小说家! 定世不朽 浩瀚大世界 我有超能力之通天炎武 特种兵之从炊事员开始崛起 仙鹤大人,爱上我 玄冥榜 剑世凡尘 足球引路人 弃子成龙 宠物店主不想拯救世界 都市:我有一个时空邮箱 我的狐妖小娇妻 鸿冥重临 帝谕龙章 哲学家与冒险家 头像拼贴 玄霄头像 宅头像 女头像丝袜 瑞文萌头像 嘶喊头像 宅头像 山鸡头像 金素贤头像 饼头像 蛮吉头像 蛮吉头像 秋人头像 玄霄头像 恶搞的头像 女头像丝袜 噶萌头像 头像拼贴 张家辉头像 饥荒麦头像 玄霄头像 饥荒麦头像 张家辉头像 手工头像 郑元熙头像 秋人头像 头像拼贴 张家辉头像 张家辉头像 金素贤头像 女头像丝袜 全绿头像 m字母头像 恶搞的头像 头像红酒 吉他的头像 m字母头像 宅头像 头像红酒 兽人头像 吉他的头像 山鸡头像 武术头像 噶萌头像 死神魂头像 全绿头像 蛮吉头像 吉他的头像 秋人头像 cc猫头像 亚星游戏官网 亚星官网 亚星官网 亚星官网 亚星官网 九魔圣墟 飞升红尘 俗世录 凰烬传 我的一米书屋 亚星游戏官网 万利官网 欧博游戏官网 亚星游戏官网 葡京官网 金素贤头像 死神魂头像 宅头像 蛮吉头像 噶萌头像 郑元熙头像 武术头像 兽人头像 郑元熙头像 饼头像 郑元熙头像 金素贤头像 山鸡头像 cc猫头像 瑞文萌头像 死神魂头像 吉他的头像 噶萌头像 头像红酒 兰头像 武术头像 球衣头像 全绿头像 饼头像 兰头像 瑞文萌头像 球衣头像 吉他的头像 瑞文萌头像 嘶喊头像