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"
溧阳至杭州火车12306网上改签火车票吗商丘襄阳的火车时刻表查询锦州济宁的火车大理到永州的火车火车购票规定孩子秦皇岛海港区火车票代售点商丘襄阳的火车时刻表查询铜仁直济南火车辛集火车客运站394火车溧阳至杭州火车南通到南昌有火车吗延安至丹凤火车时刻表商丘襄阳的火车时刻表查询辛集火车客运站湘乡去惠州火车站时刻表册亨有火车册亨有火车广东到常州火车时刻表鸟鲁木齐到广州火车票价格册亨有火车铜仁直济南火车安庆太湖到安庆有火车吗大理到永州的火车火车票10天前退扣费多少锦州济宁的火车孑长到西安的火车云南曲靖到北京的火车票南通到南昌有火车吗它仅仅是一支平平无奇的笔,但它被一次又一次的换上崭新的墨囊,重焕新的生命,它看似平淡无奇,但它却被成百上千的人用它那拙劣粗糙的笔尖去抒发那令人多愁善感的百变情绪。一次饭店的好心之举,被人发现遇到了人生的巨大转折点。你有个很爱你的人吗,她真的是爱你吗,所有的举动都告诉你你们就是甜蜜恋人,可是她来的突然,深夜又在哭泣,你一直摸不透她的心。不知何时起家中的监控,似乎从她来的那刻起就有,无处不在。你们陷入了一场游戏,从不得已“爱”,到真的爱上了你。是否能从黑手下逃脱?迎来曙光?历史上,有很多名人,这些人性格多样,而我们故事的主角丘吉尔也有自己的性格,他的性格一个意志坚强、精力充沛,而且是个雄辩的演说家。在对德作战时期,他充分运用了这些素质来领导国务活动。他拒绝投降,他抨击希特勒及其党羽并号召全国人民积极抗战,最终成功赢得了生死之战。厌倦了都市生活的许平,机缘巧合下获得一方神秘仙境。 仙境中有山,有水,有农庄。 仙禽翱翔于山巅,神兽奔走于密林。 于是他回到农村,开启了新的人生。 种种菜,养养鱼,遛遛狗,逗逗猫,泡泡妞,抱抱娃,闲暇时刻还可以进山打猎,寻幽探险,谁说这样的生活不精彩?玄元大帝斗兽失败,列国入侵,判乱四起,群雄逐鹿,看国仇家狠,儿女情长,英雄热血,何去何从.....阿伯说:“小恭啊,我看好你,北齐的未来,就交到你手里了。”兰兰姐说:“去了前线,要做个男子汉呦,不许再哭鼻子了。”小小米说:“长恭哥哥,你教我的小纸鹤,我已经可以叠的很漂亮了呢。等你走后,我每天叠一只,你回来以后,我把他们都送给你。”穿上盔甲,带上面具,他就是神勇无敌的兰陵王。不再是那个流落街头跟一群乞丐抢窝头吃,像狗一样趴在地上吃东西的孤儿。只是啊,他好怀念从前的时光,他不是兰陵王。送快递的穷屌丝楚风,为了借钱给母亲看病,无意中得到仙尊的衣钵传承,从此开始了不一样的人生。 他法术救人,仙法御敌,战妖兽,平恶徒,不仅笑傲人间武道,更是登上了世界的巅峰,至高的神途。 生死看淡,不服就干。 没有什么是一顿打解决不了的,如果有,那就两顿。一个出生在名门的腹黑小子,一座关乎大陆人妖魔生死存亡的大阵,一群热血儿女的恩怨情仇。以一个阵法天才的成长为主线贯穿整部小说,讲述了男主是如何从一个一心想要逍遥快活过小日子的人在历经各种恩怨情仇之后成长为大陆脊梁,最终在人妖魔三族大战的关键时刻挽救整个大陆的故事。小说前期主要以人物成长为主,后期随着大陆大战的展开,开始进入大兵团作战、大型战争场面的描写。异世界,魔王,勇者这些本应存在幻想世界的事物却降临在了我一个平凡的美术实习生的身上。 异世界,现实?两者交融,一股神秘力量将我卷入其中,而我身边只有绘画及工具而已,以“笔"为剑开始了我的异界之旅,又有什么在等待着我,神秘而又未知.....如果说世界是多层的,你信吗? 或许你不信,但事实上世界就像是一个洋葱。 奇谈怪闻中的阴影,都市传说背后的真相。 谁又能说世界只有表面的这一层呢? 许策,一个失忆过的新人界行者。 穿越一个个界层,经历一次次历险,只想为了离真相更近一些。 “我到底忘记了什么?” 或许答案就在界层的最深处。
师弟你是真的苟 我的世界之黑白传奇 幕尘 湘江战歌 独居小镇 吸血鬼骑士之危机 网游之百倍增幅 异栋生存手册 单身狗修仙 十方:是你们逼我称帝的! 叱咤弥界之我的小命我做主 吾乃科技仙尊 魔法师的异界 阴魂书 灾季 玄武裂天 玄幻:我,修改万物,万古独尊! 混沌世界的无限求生 一个奇怪的世界 垂钓诸天万界 极品火车时刻表查询 北京到衡水火车票价格 湘乡去惠州火车站时刻表 册亨有火车 极品火车时刻表查询 南充北到阿克苏火车时刻表 四平丽江火车票 哈密之永登的火车票 火车票10天前退扣费多少 南通到南昌有火车吗 铜仁直济南火车 彭水回涪陵的火车票查询 安庆太湖到安庆有火车吗 辛集火车客运站 火车购票规定孩子 大理到永州的火车 四平丽江火车票 火车票10天前退扣费多少 鸟鲁木齐到广州火车票价格 溧阳至杭州火车 北京到衡水火车票价格 商丘襄阳的火车时刻表查询 12306网上改签火车票吗 延安至丹凤火车时刻表 辛集火车客运站 安庆太湖到安庆有火车吗 火车票10天前退扣费多少 12306网上改签火车票吗 鸟鲁木齐到广州火车票价格 火车票10天前退扣费多少 大理到永州的火车 北京到衡水火车票价格 禹城火车东站时刻表 溧阳至杭州火车 孑长到西安的火车 大理到永州的火车 禹城火车东站时刻表 湘乡去惠州火车站时刻表 安庆太湖到安庆有火车吗 禹城火车东站时刻表 大理到永州的火车 青岛济宁至曹县火车 广东到常州火车时刻表 彭水回涪陵的火车票查询 延安至丹凤火车时刻表 北京到衡水火车票价格 彭水回涪陵的火车票查询 锦州济宁的火车 云南曲靖到北京的火车票 秦皇岛海港区火车票代售点 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 三界,无界之地灵传说 绝世神丹 虚拟超神者 一人一剑平天下 你的太阳系 欧博官网 万利游戏官网 欧博游戏官网 亚星游戏官网 葡京官网 极品火车时刻表查询 秦皇岛海港区火车票代售点 溧阳至杭州火车 火车购票规定孩子 四平丽江火车票 彭水回涪陵的火车票查询 南通到南昌有火车吗 极品火车时刻表查询 铜仁直济南火车 广东到常州火车时刻表 锦州济宁的火车 秦皇岛海港区火车票代售点 鸟鲁木齐到广州火车票价格 禹城火车东站时刻表 四平丽江火车票 延安至丹凤火车时刻表 秦皇岛海港区火车票代售点 火车798 火车购票规定孩子 火车购票规定孩子 湘乡去惠州火车站时刻表 四平丽江火车票 南通到南昌有火车吗 火车798 彭水回涪陵的火车票查询 北京到石家庄火车票几点有 南充北到阿克苏火车时刻表 册亨有火车 青岛济宁至曹县火车 商丘襄阳的火车时刻表查询