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"
描述泉州1500字的作文名家写花的作文描述泉州1500字的作文绿色上网的英语作文美丽的夏天二年级作文漫画类的英语作文描写初一校园的作文描写校园友谊的作文600字描写开门见山的作文开头磨炼成就人生作文马云高考作文0分描述泉州1500字的作文母亲的呼唤200字 作文描写夏天的美景作文100字描写校园友谊的作文600字磨炼成就人生作文面对困难为题作文描写开门见山的作文描写开门见山的作文满分作文第一人描写校园友谊的作文600字作文开头描写开门见山的作文描写开门见山的作文开头卖报作文PPT美丽的夏天二年级作文考完试不敢对答案作文绿色上网的英语作文卖报作文PPT满分作文第一人母亲的呼唤200字 作文 封林是一个在北京潘家园旧货市场开旧物店的小老板,一次在给店里的老房屋装修的机会,竟然在家里墙壁地下暗格发现一个密室,不太大的密室角落里有着一口上了锁的红色的木箱子,盒子打开后里面有着几样东西,一块巴掌大纯金的腰牌。 一本非常破旧的遁甲巫术古书, 还有着一本记录了很多秘事的明朝古书,还有一张残缺不全的地图,箱子里面藏着很多的秘密,让他知道了自己的家族竟然是一个传奇盗墓家族的后人 从古至今的家族秘密缓缓的被揭开,父亲的突然消失,也与此事有关,是为了寻找哪些传说中的东西。 自己兄弟的回归,退役特种兵赵雷,去追寻着父亲的脚步去寻找那传说中的古遗迹,不得不踏入那些恐怖之地。 入活人的禁区,与僵尸斗法,与活人斗智,有一张尸面的鬼狐仙,荒冢野坟墓里的媚女,害人的白皮千年老狸子,披着美女人皮的行尸走肉,几十年难得一见沉没在海里的幽灵鬼船。 一张残破不全的地图,一截刻满符文的龙骨,到底藏着什么秘密? 现在还有多少人知道“满城尽白发,不敢忘大唐”的安西军,仅仅一万多人,他们在内无粮草、外无援军的情况下孤守西域四十多年,哪怕面对人数几十倍的敌军,誓死守护每寸河山 裴松之注下“行法严而国人悦服,用民尽其力而下不怨。及其兵出入如宾,行不寇,刍荛者不列,如在国中。其用兵也,止如山,进退如风,兵出之日,天下震动而人心不忧”,被魏书中记载“若此人不亡,终其志意,连年思运,刻日兴谋,则凉雍不解甲,中国不释鞍”的诸葛武侯,被人说只是个政治家,不配武庙十哲 历史上唯四的百人斩之一的杨再兴,我们都知道岳飞精忠报国,项羽神勇无双,又有几人记得杨再兴小商河一战,三百对阵十二万,阵斩两千! 对正史上唯一一名被单独列传的女将军 秦良玉,几乎没有人知道,远没有基于部分人物原型改编的戏剧、小说人物穆桂英、花木兰为人铭记,人家秦良玉才是真正的巾帼英雄! 诗仙李白的出生地碎叶城位于现在的吉尔吉斯斯坦境内,难不成李白不是中国人吗! 诸子百家,以身正道。入众生以正道,出红尘已修心。贵以身为天下,乃可寄天下;爱以身为天下,乃可托天下。两个月气走三个班主任。 面对有着教师修罗场,学渣游乐园之称的学渣特长班——七班。 即使教导主任开出极高的待遇,一群老教师们也是一个个坐如泰山,无人肯领命。 恰在这时,作为实习教师的陈楚激活最强教学系统。 于是毛遂自荐,成为七班新的班主任,从零开始打造世界最强特长班。 体育特长生:“我奥数竞赛全国第一。” 绘画特长生:“我科研竞赛全国第一。” 舞蹈特长生:“我知识竞赛全国第一。” 升学在即,领导视察,全懵了。 “让你代管特长班,怎么全保送了!?”男主一家是代代相传的除妖世家,更有神仙,阎王给的金字牌坊,自唐代以来,出了不少斩妖除魔的天才,但是到了21世纪,妖怪基本上斩的差不多了,委托越来越少,天庭地府不断裁员,家族越来越衰落破败,到了男主这一代,只剩下爸爸和他一起,家里更是穷的揭不开锅,这时,好不容易收集齐山海经,却被无名小妖偷走,圣上大怒,委托男主和其他除妖师找回遗失的山海经……那一天,我从梦中醒来发现自己躺在一个全然陌生的环境,破旧的家具,不知从何处散发的腐烂气味和白天无法打开的大门......这个地方处处散发着诡异的气息,令我没想到的是,到了晚上才是真正的噩梦,当黄昏降临,窗外竟挤满了血红的眼睛,白天坚硬如铁的大门悄然开了一条缝,透过缝隙隐约能看见外面似乎......站了个人?【无毒+不圣母+不送女】 宁凡穿越仙侠世界,觉醒分身养成系统。 开局创建四大分身。 只要把分身培养成大佬,他就能获得奖励。 分身的实力越强,奖励就越丰厚。 于是... 太上宗:我宗道子先天道体,有大帝之姿。 宁凡:对不起,他是我的分身。 紫斗仙宗:我宗圣子摘草可斩尽日月星辰。 宁凡:对不起,他也是我分身。 合欢宗:我宗圣女总该不是你的分身了吧! 宁凡:对不起,她是… 罗刹魔宗:除了这句你还能说点其他的吗? 宁凡:其实你们宗主… … 异族女帝:人族的大佬都是同一个人?笑死朕了! 宁凡:你笑啥?你刚过门的相公,也是我的分身。 异族女帝:???狗贼,啥也别说了,拔刀吧!杨鑫生活在现代社会,但是有一天一场意外让他穿越到了平行时空的古代社会成为太子…… 李昱穿越十年,用仅记得的十几首歌送给妻子。   没想到就此捧红,一飞冲天成为天后。   李昱也成为天后背后的男人。   可是当他出不了歌,妻子事业正当红时突然提出离婚,并表示事业比他更重要。   也在这时触发神级人气系统。   李昱表示,不装了,摊牌了。   我是天王巨星! 民国时期,我是拉洋车的,牛A的黑狗子探长刘麻子想强睡我的媳妇,被我制止。他带着大批的黑狗子对我用刑把我整死。阴间,我遇见大诗仙,向他诉说冤情,然后到冤魂村走一趟,才知道比我冤的人太多了。之后他把我变成了文化人,然后又把我穿越到了人间南粤市,让我抑恶扬善努力去做正能量的牛A人。此时的南粤市已是八十年代末期,我从打工做起,经历了开放大潮,凭着自己的能力为公司做出了很大的贡献,同时也收获了爱情。几年后,到处都在办报纸,我凭着自己的文笔混进报社当上了记者,通过采访工作,结识很多企业老板,在一次采访中,意外发现我生前认识的那个黑狗子探长刘麻子也被穿越到了这座城市,而且是下海经商混成了道貌岸然的董事长,被认为是红极一时的牛A人物。我悄悄跟踪,在我女友的配合帮助下,发现了他的一系列违法犯罪活动和伤天害理的事情,在掌握了大量的证据后,我凭着一腔正气,成功举报最终将其绳之以法。我终于成了正能量的牛A人!
都市之医神下山 网游三国:开局获得神级建村令 我在异世召唤同班同学 医武风流 山海之诡异修仙录 北境之地 魔法作道 青阳斩神录 夺夜之光 耀世陨星 都市奇门怪医 假装破产后,老婆跟别人跑了 古神林昊天 魂穿之竟然是个废柴 宿命与初心 大千真主 自然之武神2 夺魂追凶 太古第一神王 头七当天,我被校花借尸还魂 妈妈写给孩子的作文600字 马云高考作文零分 面对困难为题作文 美丽的夏天二年级作文 妈妈写给孩子的作文600字 梦想作文优美开头结尾 描写益虫的童话作文 慢下来我想.作文青春 考完试不敢对答案作文 母亲的呼唤200字 作文 描写开门见山的作文开头 明星素颜作文 满分作文微笑的魅力 马云高考作文零分 漫画类的英语作文 美丽的夏天二年级作文 描写益虫的童话作文 考完试不敢对答案作文 描写校园友谊的作文600字作文开头 描述泉州1500字的作文 马云高考作文零分 描写校园友谊的作文600字 名家写花的作文 描写夏天的美景作文100字 磨炼成就人生作文 满分作文微笑的魅力 考完试不敢对答案作文 名家写花的作文 描写校园友谊的作文600字作文开头 考完试不敢对答案作文 美丽的夏天二年级作文 马云高考作文零分 绿色上网作文开头 漫画类的英语作文 卖报作文PPT 美丽的夏天二年级作文 绿色上网作文开头 面对困难为题作文 满分作文微笑的魅力 描写校园友谊的作文600字 绿色上网的英语作文 漫画类的英语作文模板 梅花作文600字写景抒情 明星素颜作文 描写夏天的美景作文100字 马云高考作文零分 明星素颜作文 绿色上网的英语作文 满分作文微笑的魅力 描写初一校园的作文 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 嘘,你背后有鬼神 超级智能修仙系统 幕府医师 穿越!第五人格 开局被雷公喷嚏劈死 澳门葡京官网 快连下载 欧博官网 澳门葡京官网 欧博官网 马云高考作文零分 梦想作文优美开头结尾 梦想作文优美开头结尾 漫画类的英语作文模板 漫画类的英语作文模板 马云高考作文0分 马云高考作文零分 美国人口英语作文 面对困难为题作文 描写校园友谊的作文600字作文开头 描写校园友谊的作文600字 描写夏天的美景作文100字 满分作文微笑的魅力 绿色上网的英语作文 考完试不敢对答案作文 马云高考作文零分 漫画类的英语作文 面对困难为题作文 面对困难为题作文 慢下来我想.作文青春 马云高考作文0分 绿色上网作文开头 美丽的夏天二年级作文 描述泉州1500字的作文 慢下来我想.作文青春 面对困难为题作文 满分作文微笑的魅力 绿色上网作文开头 名家写花的作文 梅花作文600字写景抒情