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"
信用卡万佣金信用卡通知起诉怎么办理流程信用卡网上购物划算吗?信用卡网上积分兑换商城信用卡网上买电影票信用卡万佣金信用卡为什么只能取500信用卡网上购物划算吗?信用卡提现要手续费吗?信用卡网申需要签字?信用卡网上套积分吗信用卡网上购物划算吗?信用卡为什么不能刷整数信用卡网上套积分吗信用卡网上积分信用卡网申需要签字?信用卡为什么只能取5000信用卡网上买电影票便宜信用卡网上买电影票便宜信用卡退款退 取现信用卡停卡后用注销么信用卡网上买电影票便宜信用卡提现要手续费吗?信用卡透支可以刷卡吗信用卡网上积分兑换商城官网信用卡透支部分还款期限信用卡网上积分兑换商城官网信用卡透支可以刷卡吗信用卡退款退 取现信用卡为什么不能刷整数I&amp;#039;AM 李华,我是一个穷屌丝。有一天,我在垃圾箱旁,看到了一个带有奇特花纹的花瓶,盲猜这是个古董。于是,我把它带回了家。鬼事悬疑,原于阴集,大道降服,魔鬼怨积……仙豢众生如彘,这是一个圈养与被圈养的故事!这里是个多彩的世界,温情的世界,现实的世界,血腥的世界。极北冰垣、泊纳格岛、诡异的腥魂森林、神秘的迷零森林、残酷的努乐哈拉大沙漠、毒气弥漫的蛮荒沼泽,神级魔兽紫羽玄鸟,超级神兽赤须青龙…………主角将在这个世界重生,开始他的峥嵘旅程。 一个在世上混了二十几年,一事无成的人,常年做着帝王梦。终于,梦醒了。他失眠了,精神分裂,住进了精神病院。万万没想到,他却因病而成网红,实现人生逆袭。可好景不长,这医院原来是穿越基地。他和病友们穿越了,穿越到一万年以后。 《神秘的小葫芦》一书,着重介绍的是明朝嘉靖年间,在还乡河畔的阮家庄曾经发生过一件稀奇古怪之事。 而此事就发生在阮家庄阮鹏翔的家里。阮鹏翔早年丧妻,自己辛辛苦苦的把三个儿子拉扯大了。 老大读书最多,但他耍钱闹鬼儿不务正业。几乎输掉了家里所有的钱,弄的弟弟小三儿上学连书本儿都买不起。街坊邻居说七道八,阮鹏翔左右为难之时,遇相面先生指点迷津。 之后,阮鹏翔让三个儿子各奔东西,自谋生路,从此父子们不在一起守着一亩地过日子。 经过一段时间的打拼,老大、老二都挣到了钱,盖上了瓦房,娶上了媳妇儿。而小三儿却只是抱着一个小葫芦狼藉而归。谁也没有想到,小三儿那小葫芦竟是个宝物。 老大媳妇儿知道后,立刻起了贪心,连哄带骗,威胁恐吓,最终把小三儿的小葫芦弄到了手。但事与愿违,让老大媳妇儿没有想到的是,那宝物到了她的手里,千呼万唤不好使,竹篮打水一场空。《飞龙乘云》带你回到夏朝末年,感受当时八方诸侯背叛,四藩异族作乱的动荡年代。看主角们如何面对忠义难存的局面,又作如何选择。本书不仅以夏朝为背景,还收录了大量神话故事、历史典故作为故事展开的桥梁,更以漫画般的手法描述激烈的仙术秘术激战场景,还有尔虞我诈的宫廷斗争、江湖侠义的恩怨情仇等一系列热血、谋略、兵道、爱恨尽归此书!欢迎大家以一个开放的心态来收看。 身为网文爱好者的沐尘一直幻想着可以去到唐朝,实现自己的人身理想,一只有好家世混吃等死的咸鱼,终于在带上一只古董手镯后,沐尘实现了一半理想…失落于时光长河里的源石,借助源帝轮回吞噬了他。 重生于溯源大陆的源尘,本以为自己可以走上源帝的道路,斩万族,踏鲜血,一步登天。 可是他在无数次选择中,走上了一条与源帝完全不同的路。 梦与现实,魇与真相,脚踏之地不再有无辜之血。 正与邪,谁为谁歌唱终局之歌。 凋零了死亡之花,磨平了岁月棱角,且看源尘如何追溯那终极之地——仙迹!我穿越后的生活好像过于幸福了! 开局既不是负债孤儿,也没遇上病娇女友。 虽然我没有可以整天腻腻歪歪的邻家青梅,也没有从天而降的富婆姐姐,但我有几个过分可爱的女友啊! 虽然声音好听,但却不爱说话的白毛少女; 虽然容易害羞,但却喜欢逞强的妩媚御姐; 虽然身为富婆,但却沉迷打工的恶魔学姐; 虽然性格冷淡,但却万事全能的冷淡邻家; 其他还在为还债而努力,为脱离病娇追杀而奋斗的苦逼道友们,都来看看吧!
承包商:D区往事 无妄变 盗墓:开局相亲霍秀秀 六六班对抗办公室邪恶势力 废土之辉 云山迷情 主播转生异世界君临王城 数字警察 剑霞 一念道沉 重生异世 我要不断进化 我的徒弟都是宗师级 大秦:这捕快能处,有事他真上! 活着日记 第九执事 重生三国之王侯 被系统诅咒以后,我玩得更花了 诡异猎人 怨种太子江湖事 隐夜人 信用卡透支部分还款吗 信用卡网申多久拿到卡 信用卡为什么只能取5000 信用卡网上买电影票 信用卡透支部分还款吗 信用卡透支金额不变 信用卡为什么只能取5000 信用卡网银什么意思啊 信用卡透支部分还款期限 信用卡为什么不能闪付 信用卡未还款信息 信用卡未还款信息 信用卡退款短信提醒 信用卡网申多久拿到卡 信用卡万佣金 信用卡网上买电影票 信用卡违约一天怎么办 信用卡透支部分还款期限 信用卡通过网银取现 信用卡网上购物划算吗? 信用卡网申多久拿到卡 信用卡网上积分 信用卡通过网银取现 信用卡网上套积分吗 信用卡网申需要签字? 信用卡退款短信提醒 信用卡透支部分还款期限 信用卡通知起诉怎么办理流程 信用卡通过网银取现 信用卡透支部分还款期限 信用卡网上买电影票 信用卡网申 联系人 信用卡网上积分兑换商城 信用卡万佣金 信用卡透支可以刷卡吗 信用卡网上积分兑换商城官网 信用卡网上积分兑换商城 信用卡为什么只能取5000 信用卡退款短信提醒 信用卡网上积分 信用卡网上积分兑换商城官网 信用卡为什么不能闪付 信用卡外包短信模板 信用卡违约一天怎么办 信用卡网上套积分吗 信用卡网申 联系人 信用卡未还款信息 信用卡网上积分兑换商城官网 信用卡退款短信提醒 信用卡为什么只能取500 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 无尽世界成王之路 最实用的穿越 异乡永眠 扬天 晦暗师途 万利游戏官网 欧博游戏官网 欧博官网 万利游戏官网 快连下载 信用卡为什么只能取500 信用卡万佣金 信用卡通知起诉怎么办理流程 信用卡为什么只能取5000 信用卡网上套积分吗 信用卡网上积分 信用卡违约一天怎么办 信用卡为什么不能闪付 信用卡为什么会受限制 信用卡网申需要签字? 信用卡停卡后用注销么 信用卡透支金额不变 信用卡网上买电影票便宜 信用卡为什么不能闪付 信用卡网上积分 信用卡网申 联系人 信用卡退款退 取现 信用卡为什么会受限制 信用卡网上买电影票 信用卡通过网银取现 信用卡通过网银取现 信用卡网申 联系人 信用卡网申 联系人 信用卡网上积分兑换商城官网 信用卡为什么不能刷整数 信用卡网申多久拿到卡 信用卡提现要手续费吗? 信用卡透支部分还款期限 信用卡网上买电影票 信用卡网银什么意思啊