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"
亚特兰大1996纯金邮票劳斯莱斯邮票杭州出售邮票难萧山博物馆邮票作品展长城邮票60分亚特兰大1996纯金邮票温哥华2010冬奥会 邮票杭州出售邮票难丝绸之路邮票怎样画狗年邮票绘画图片大全小学生画长征邮票图片亚特兰大1996纯金邮票邮票怎么收藏才有价值孔子学院 熊猫邮票杭州出售邮票难狗年邮票绘画图片大全两会邮票2017简易月季邮票图片简易月季邮票图片丝绸邮票造假大龙邮票来了历简易月季邮票图片丝绸之路邮票怎样画今年有邮票展览吗长城邮票60分印度支那邮票萧山博物馆邮票作品展邮票庄家开盘封跌停世界邮政记念日邮票邮票怎么收藏才有价值一场场阴谋下,所隐藏的画卷,那些在光明与黑暗中轮回不止的灵魂。   在人与人之中交际,在雾里看山,在云里望天,在田野里追逐星辰,在星辰里瞭望太阳,在太阳里触摸苍穹,在科技中懵懂前行,在魔法里点亮无知。 2035年地球被黑雾笼罩,进化因子席卷全球,异兽觉醒丧尸横行,穿越者重生者系统携带者纷纷出现,且看陆羽如何在众多挂哥面前逆天崛起!混迹于政治场上长大的皇子,立誓要做一位明君。奈何寒来暑往物换星移,登上龙椅执掌天下时,才知皇帝的不易。酒池肉林夜夜笙歌,使其明君之路步履维艰,最终成为了要美人不要江山的快活皇帝。平平无奇的打工人王虎穿越了?还穿越到了一个天赋渣渣实力菜鸡的人身上?怎么办?还好我自带系统,不说别的,爷钱多!想入最好的云海书院但天赋不行?没关系砸钱!想学习功法没办法理解?没关系砸钱洗髓丹可以拥有!有人想群攻?不好意思,已经砸钱开宗门了呢! 你我本无缘,就靠我砸钱! 漫天风沙,我于中独站有那么一类人天生就是王侯将相的命,他们一人之下万人之上,享受着翻云覆雨的快感,殊不知,在他们头顶,还有一顶帽子将他们死死扣着,这顶帽子上面就只有一个字:皇。 红尘俗世,纸醉金迷,当一位潜心修道的少年踏入其中时,又会发生什么样的奇缘?踏着尸骨累累的道路走来,完成成为皇者的征途。他,注定是成为皇的男人! 求订阅!求票! PS:这本书不会太监,长歌会坚持写完,就算没人看也一样!天下之人皆可修仙,万神榜上众神为世间修士仰慕之人,其中以四大武神为尊。 修仙世界以实力至上,即使阴邪之人,亦能登顶武神之列。那当世最强武神,欲将世间灵气控制,使世人重回凡人之列,减少修仙之人。 压迫至极必有反抗,朴实僧人以血渡苍生,中年儒生为天下之人谋前程。一时间群雄并起,反抗之战愈演愈烈… “白景,你可知我一直喜欢你”,这一日,那位风流女子剑修,最终亲自斩断情丝,成就天下第一剑神。 且看修仙废物白景,如何带着系统修炼日夜苦修,问鼎天下,成为最强武神,重新订制世界规则!一不小心穿越到大唐贞观年间,成了李世民的女婿,从此过上了想揍谁就揍谁的舒爽生活。 “陆恒到底是扮猪吃老虎,还是真的憨啊?”李世民第n次怀疑人生。 此时,房玄龄跑到御书房来欲哭无泪:“陛下,您女婿陆恒又把人给揍啦!五姓七望一家没落下啊!” 李世民捂住脑门:“没出人命吧?” ………… 某个世家门口,陆恒叉着腰嚣张跋扈:“还有谁!出来一起打!我父皇说了,不能打死人,你们放心出来!”我真是服了,第二次了,怎么又是让一个老六给刀了,这个时候给我一刀。完了完了,要嗝屁了。 闫鞅使劲捂着身上的伤口,但是他现在视线已经开始模糊。上次给我一次穿越的机会,看来这次真的要死翘翘了,如果有下辈子,我也要当一个老六,给那些人一人一刀。靖元二年,北荒军攻破大梁都城,俘虏皇帝无嫔妃无数,城中烽火狼烟,屠戮成灾,这座屹立千载的中原王朝正在蒙受巨大的耻辱!绝望之际,一身着白袍的将军忽然杀出,身后无数白袍军如同幽灵,收割着北荒军的生命!北荒军大败,退兵百里,大梁王朝免去了灭国之危! 战后,人人都在寻找这位大梁的英雄,皇上更是下旨封其为有史以来第一位异姓王,为他建立寺庙,享大梁子民世代敬仰,可这位白袍将军却如同烟云一般,销声匿迹了。 与此同时,上京城赵家多了一位身受重伤的少爷……
妖往长生 大王狗子 名剑英雄传 大秦:朕都皇帝了,你让我造反? 元世界:异度空间 网游之剑铸传奇 居然有个高手 娱乐:开局疯狂爆料 拔剑九亿次之十里坡剑神 子星记 安神记 妖魔复苏:开局强拆镇妖观 不想内卷,所以我全点了治疗 金戈铁马画江山 愛在海市蜃楼那一边 凉城小炮灰 摊牌了,龙背上的剑舞者 社安部修真人 半缘修剑半缘君 末世蓝星 第一个生肖邮票的国家 铜币邮票纪念币 两会邮票2017 简易月季邮票图片 第一个生肖邮票的国家 金子邮票怎样剥离 古代同舟共济邮票 环保邮票发行 印度支那邮票 邮票怎么收藏才有价值 丝绸之路邮票怎样画 岳飞邮票单张 今年有邮票展览吗 狗年邮票绘画图片大全 2016迪士尼邮票发行量 长城邮票60分 古代同舟共济邮票 印度支那邮票 大龙邮票来了历 亚特兰大1996纯金邮票 铜币邮票纪念币 杭州出售邮票难 劳斯莱斯邮票 孔子学院 熊猫邮票 狗年邮票绘画图片大全 今年有邮票展览吗 印度支那邮票 劳斯莱斯邮票 大龙邮票来了历 印度支那邮票 长城邮票60分 铜币邮票纪念币 萧山博物馆邮票作品展 亚特兰大1996纯金邮票 邮票庄家开盘封跌停 长城邮票60分 卡通狗年邮票图片设计 古代同舟共济邮票 今年有邮票展览吗 卡通狗年邮票图片设计 长城邮票60分 邮票 面值 丝绸邮票造假 岳飞邮票单张 孔子学院 熊猫邮票 铜币邮票纪念币 丝绸之路邮票怎样画 萧山博物馆邮票作品展 世界邮政记念日邮票 温哥华2010冬奥会 邮票 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 不灭武尊 分身大帝 都市神医奶爸 恶赎游戏 娱乐!我真不想成顶流! AG真人 亚星管理平台 亚星游戏官网 亚星管理平台 澳门葡京官网 古代同舟共济邮票 邮票庄家开盘封跌停 丝绸邮票造假 今年有邮票展览吗 福临门大版邮票价格 小学生画长征邮票图片 邮票 面值 世界邮政记念日邮票 劳斯莱斯邮票 福临门大版邮票价格 萧山博物馆邮票作品展 大龙邮票来了历 金子邮票怎样剥离 杭州出售邮票难 金子邮票怎样剥离 温哥华2010冬奥会 邮票 今年有邮票展览吗 简易月季邮票图片 铜币邮票纪念币 古代同舟共济邮票 铜币邮票纪念币 世界邮政记念日邮票 狗年邮票绘画图片大全 岳飞邮票单张 邮票 面值 狗年邮票绘画图片大全 第一个生肖邮票的国家 环保邮票发行 玄奘邮票四连体摇号 劳斯莱斯邮票