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"
同班同学2电影图片卢海鹏电影电影内在美图解单身电影陈坤的垃圾电影同班同学2电影图片《人各有命》法国电影电影内在美图解妈妈有了新男友 电影有红衣女鬼的校园电影美国电影桃色吸引力影评同班同学2电影图片星游记大电影有关农村上吊的电影电影内在美图解有红衣女鬼的校园电影哥本哈根电影剧情上吊自杀的电影上吊自杀的电影寂寞女人电影三人床_hd 电影上吊自杀的电影妈妈有了新男友 电影随心所欲电影影评陈坤的垃圾电影电影孤星血泪单身电影男同电影blue蓝爱的语言 电影星游记大电影我叫牧冬,我的世界存在着一种名叫天劫的怪物,幸好,与此同时,有一群正义的超级英雄们挺身而出,与之对抗...... 直到那天,这个游戏出了BUG,不再自动刷新和删除记忆。 “你已经取得资格,准备好回归了吗?” “不,那外面,才是真正的囚笼!” …… 那一天,有人格缺陷的平凡青年孟渭澄的颓废生活被搅乱,莫名其妙的超自然现象降临在他的身上,最终获得了奇妙的力量——“捷”。他不知道这是福佑还是诅咒,顺着那个也许根本就只是幻觉的指引,踏上了成为“圣者”的旅程。 一阵眩晕竟穿越成了历史上的他,一个集开国君主和战神的合体,一生无败仗。 到了这等虎狼之地,他明白要想在这种乱世中活下去,必须要尽快适应这里的一切,一路在冰冷权谋和残酷战争中逆袭而上。 东晋十六国中统一北方的苻坚站在长安城上举目远眺,形势一片大好。 灭了东晋便能一统江山,然而,他身后是一个强大的民族,慕容鲜卑族的崛起,到底谁能一统江山。一场淝水之战,彻底逆时针改变了华夏历史,最终一代雄主在北方崛起。楚君玄一穿越,就遇到了神仙姐姐被人追杀,本以为会死,却被一块青玉所救…… 夺仙人之躯的楚君玄,随手一掏,就是仙家法宝;入住全是少女的秋水宫;与一众仙子、妖女打得火热;和李靖、秦叔宝、李淳风等大唐英豪们称兄道弟、斩妖除魔…… 妖魔两族来袭,人间经历大劫,七大妖王、八大魔头、九真五佛,高手如云,一场波澜壮阔的妖魔大战开启…… 一洛之海,万丈之深,水是命源,洛海之根世道不靖,民生皆苦。 黑暗里的幽灵,星空中的刺客。 天上地下屠魔弑神,只为创造一个美好的世界! 他是一个来自异世界的灵魂。 不甘心命运被安排,反感这个恶者逍遥自在,善者不得善终的黑暗世界。 为了实现理想,他一路苟着做人,努力积蓄力量,终于改天换日,重塑乾坤!炒股、炒楼?办厂、开公司?太小儿科了。我来告诉你如何逆袭次贷危机,如何打赢气候战争、贸易战、金融战,什么叫能源竞争、科技竞争、大数据时代……一场灾变,让世界沦为秩序崩坏的废土。 有人栖身要塞,有人躲在荒原,还有人在辐射中变成了另外一种生物。 世界分割为两个极端,权贵们掌握着顶尖的科技,用一座座拔地而起的要塞将自己隔绝在乱世之外。 易子而食,危机四伏的流民区内,一名迫于生计的猎人,为了度过即将到来的凛冬,走向了一条披荆斩棘的道路。 在这艰险混乱的世道当中,一群草根出身的生死兄弟,逐渐让世界为之颤抖。“呐,呐,你的异能是什么?” “明明知道自己要付出的代价,为什么还要用,真是个笨蛋!” “指令:控制!” “就算是锋利的东西,也是可以守护好想守护的。” “绽放吧,红莲!” “这次轮到我保护你了。” “接下来就交给姐姐我吧!” “从拿起刀的那一刻起,你已经输了。”古陵穿越仙武世界,成为道宗被废弟子。被打入禁地渊薮,觉醒签到系统。 “叮!签到成功,恭喜宿主获得先天圣体道胎!” “叮!签到成功,恭喜宿主获得元辰精神术!” 一百年后,修行界大乱,在古陵走出禁地的时候,豁然发现,自己举世无敌。
星翰巨企 抗日狙击手 重生85:财富人生 命运:终末回响 我的正经聊天群 锁龙人 穿到女频爽文的我风生水起 我与自己对弈 我在缅北的扫黑生涯 大道无为之梦魇问世 剑战诸天 竹女传奇 排行榜上你的名字 恶龙?不存在! 人在京都,开局宰相之子 大逍遥主宰 死亡通知 外星有我八个妻 熬死所有人,我终于无敌了 苍茫九霄 三人床_hd 电影 美国电影桃色吸引力影评 电影好奇害死猫剧情解析 单身电影 三人床_hd 电影 电影毒妇 轻喜剧欧美电影 香港老电影红衣女鬼猫十二点 电影孤星血泪 星游记大电影 妈妈有了新男友 电影 妈妈有了新男友 电影 随心所欲电影影评 有红衣女鬼的校园电影 毒品 黄色 暴力电影 陈坤的垃圾电影 轻喜剧欧美电影 电影孤星血泪 三人床_hd 电影 同班同学2电影图片 泰迪熊电影的泰迪熊玩具 电影内在美图解 卢海鹏电影 有关农村上吊的电影 有红衣女鬼的校园电影 随心所欲电影影评 电影孤星血泪 卢海鹏电影 三人床_hd 电影 电影孤星血泪 陈坤的垃圾电影 泰迪熊电影的泰迪熊玩具 单身电影 同班同学2电影图片 随心所欲电影影评 陈坤的垃圾电影 舞出我人生4电影在线观看 轻喜剧欧美电影 随心所欲电影影评 舞出我人生4电影在线观看 陈坤的垃圾电影 美女被绑架的电影 寂寞女人电影 黑道新鲜人 电影 有关农村上吊的电影 泰迪熊电影的泰迪熊玩具 妈妈有了新男友 电影 单身电影 爱的语言 电影 《人各有命》法国电影 亚星游戏官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 神仙的自赎 世说阴阳 末日觉醒我在末世躺平了 虚度三十年华 摩天行 万利游戏官网 欧博官网 皇冠登3出租 万利官网 快连下载 同班同学2电影图片 泰迪熊电影的泰迪熊玩具 舞出我人生4电影在线观看 同班同学2电影图片 电影好奇害死猫剧情解析 电影内在美图解 陈坤的垃圾电影 星游记大电影 上吊自杀的电影 电影毒妇 美国电影桃色吸引力影评 电影毒妇 妈妈有了新男友 电影 男同电影blue蓝 香港老电影红衣女鬼猫十二点 寂寞女人电影 香港老电影红衣女鬼猫十二点 妈妈有了新男友 电影 星游记大电影 香港老电影红衣女鬼猫十二点 电影毒妇 美女被绑架的电影 哥本哈根电影剧情 姐妹房间电影讲什么 哥本哈根电影剧情 陈坤的垃圾电影 黑道新鲜人 电影 陈坤的垃圾电影 毒品 黄色 暴力电影 有关农村上吊的电影