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"
诸暨至衢州火车时刻表查询??南站火车时刻表查询广西富川到南宁的火车南宁火车站服务号码是多少上饶到上海浦东火车怎么坐岫岩火车站锡林浩特市火车站简介广西富川到南宁的火车青州到淄博周村的火车票北京到扬州多久火车票北京到北海硬卧火车怎么坐诸暨至衢州火车时刻表查询遂宁开往济南的火车时刻表河北张家口到南京的火车票多少钱广西富川到南宁的火车北京到扬州多久火车票18春节火车票啥时买高密莱西的火车高密莱西的火车梅州到深圳龙华的火车票代售点火车退票不收手续费吗高密莱西的火车青州到淄博周村的火车票哈尔滨张家界火车站时刻表上饶到上海浦东火车怎么坐东安东到浙江的火车票查询南宁火车站服务号码是多少哈尔滨张家界火车站时刻表大连火车站到旅顺新港大巴遂宁开往济南的火车时刻表由于核战争的爆发,大量的能量,摧毁了地表许多的城市但是一直在各种动植物体内沉睡的基因苏醒了。各种各位出现过的神奇动植物都出现。人类的生存空间越来越小……如果你正在读这段话,你已经昏迷了很久了,我们不知道这段信息会出现在你梦境的哪个阶段,但我们真心希望你能看到,请赶快醒来!天魁元1840年,一片繁华的人类社会,遭受到了前所未有的外来文明的侵占。世界各地的人类都被变异者袭击,人们都称他们为“毁魁人”。更为之胆颤心惊的,是这些毁魁人有着比人类还要高级的智慧。毁魁人占领了地球,人类文明危在旦夕......天启七年,明孝陵突发地震。 一个声音告诉朱元璋,大明要亡了,十七年后,他将代替自己的后辈朱由检,吊死在煤山的歪脖树上。 十七年救不了大明? 瞧不起谁呢! 朱元璋一声令下:来人,给咱把那棵歪脖树砍了! 改善民生! 肃清朝堂! 降服女真! 别的不说,逆天改命这事儿咱最拿手!穿越到平行世界的苏白,看着病危的妹妹,送外卖时觉醒歌神系统,系统告知唱歌可以获得神秘药剂,可以救助妹妹。 第一单外卖,竟然是警方在XX集团的卧底,看着其焦灼不安的心态,一首《孤勇者》送上,直接助警方破获大案,一举拿下XX集团,解救无数大夏国人。 第二单外卖,一首《天地龙鳞》,碾压所有人,包括顶流明星。 因为挡住资本力量的道路。 原本凭借《天地龙鳞》火爆网络的苏白,直接被网暴,各种质疑声出现。 而此时,警方官方直接公布了苏白唱《孤勇者》的画面。 瞬时间,整个网络爆了! 被解救的无数的大夏国人,更是为爱发声。 火爆全网的苏白,继续送着外卖。 所有人诧异,只有苏白自己知道,唯有送外卖,才能救濒危的妹妹。 当把所有的药剂都集齐,成功救下妹妹的时候。 苏白不知不觉,已经成为了当下互联网炙手可热的最火的歌手!【文娱+单女主+狗粮+日常】 刚和明星老婆离婚,林舟便意外成为了当红小天后的私人男助理。 恰逢穿越记忆复苏,林舟没有意外的开始当起文抄公。 然后,传说中的天后背后的那个男人上线了! 二线歌手前妻:“林舟是个不错的男人,可惜他太平庸,不能在事业上帮助我。” 国民女神.绝美腿精.超级天后:“如果没有遇到林舟,我绝不可能有今天的成就!太感谢他的前妻了,把这么优秀的男人送到了我身边!” 前妻:“?” 林舟:“我只是个私人助理,什么金牌词曲人、白金编剧、大导演、征服冰山女神的男人……这些都和我没关系,真的!”彼时的少年已经站在了成长尽头,回首过去,一切崎岖早已繁花盛开。宋清书穿越综武世界,成为武当三代首徒宋青书,本应该是一个神仙开局。 然而宋青书已经杀了师叔莫声谷,还背叛丐帮,正在被陈友谅追杀,随时可能丧命。 就在这时,绝世舔狗系统激活。 绝世武库向他敞开,只要赚取积分,就能疯狂买买买。 九阳神功,买! 凌波微步,买! 战神图录,买! 咦,竟然还有八九玄功和草灭剑诀,难道……第一风辰集团董事长的女儿离家出走,意外碰上身份不明的热血少年,在弱肉强食的年代究竟会擦出怎样的火花呢?道听途说、亲身经历,供各位看客茶语饭后消磨无聊的时间…
大道,大同 主角?掌中之物罢了 重回到16岁的灿烂人生 秦小乙反天记 神创节目:我用木棍搭出凌霄宝殿 鳞妖魇 苍茫九霄 围城逃生:千年战争 一个程序员穿越回大宋 半州风云 御兽:我太强了怎么办 苍空冰城 真是个迷糊蛋 仙劫:青冥春秋 重生:我竟成了天道之子 奔向生命终结 民间修仙传 咸鱼进化 厨子不风流 天机又泄露了 南京到重庆火车票 硬卧下铺 本溪到长甸火车 18春节火车票啥时买 高密莱西的火车 南京到重庆火车票 硬卧下铺 y530次火车 广州南站到上海的火车票多少钱 于都到怀化火车 东安东到浙江的火车票查询 遂宁开往济南的火车时刻表 青州到淄博周村的火车票 到网上买火车票怎么操作 织金到南京火车时刻表 北京到扬州多久火车票 岫岩火车站 上饶到上海浦东火车怎么坐 广州南站到上海的火车票多少钱 东安东到浙江的火车票查询 火车退票不收手续费吗 诸暨至衢州火车时刻表查询 本溪到长甸火车 广西富川到南宁的火车 ??南站火车时刻表查询 河北张家口到南京的火车票多少钱 北京到扬州多久火车票 织金到南京火车时刻表 东安东到浙江的火车票查询 ??南站火车时刻表查询 火车退票不收手续费吗 东安东到浙江的火车票查询 上饶到上海浦东火车怎么坐 本溪到长甸火车 赣州至信丰火车表 诸暨至衢州火车时刻表查询 哈尔滨张家界火车站时刻表 上饶到上海浦东火车怎么坐 赣州至信丰火车表 18春节火车票啥时买 织金到南京火车时刻表 广西富川到南宁的火车 南宁火车站服务号码是多少 到贵阳火车 梅州到深圳龙华的火车票代售点 到网上买火车票怎么操作 河北张家口到南京的火车票多少钱 本溪到长甸火车 到网上买火车票怎么操作 南宁火车站服务号码是多少 大连火车站到旅顺新港大巴 锡林浩特市火车站简介 亚星游戏官网 亚星官网 亚星官网 亚星官网 亚星官网 拯救地球之异世奇遇 我真不是召唤兽 大猎杀时代 主神狂想曲 炁芯 百家乐官网 澳门葡京游戏官网 葡京官网 百家乐官网 万利游戏官网 哈尔滨张家界火车站时刻表 北京到北海硬卧火车怎么坐 广州南站到上海的火车票多少钱 北京到扬州多久火车票 北京到北海硬卧火车怎么坐 ??南站火车时刻表查询 北京到扬州多久火车票 遂宁开往济南的火车时刻表 株洲遵义火车时刻表 遂宁开往济南的火车时刻表 赣州至信丰火车表 锡林浩特市火车站简介 广西富川到南宁的火车 织金到南京火车时刻表 南宁火车站服务号码是多少 到网上买火车票怎么操作 河北张家口到南京的火车票多少钱 到网上买火车票怎么操作 梅州到深圳龙华的火车票代售点 ??南站火车时刻表查询 株洲遵义火车时刻表 南宁火车站服务号码是多少 ??南站火车时刻表查询 y530次火车 赣州至信丰火车表 y530次火车 锡林浩特市火车站简介 大连火车站到旅顺新港大巴 锡林浩特市火车站简介 本溪到长甸火车