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"
剪老二小说经典军旅小说推荐踩死虫蛊蠕动小说医生有狐狸尾巴的小说宫斗小说完结版以小智为主角的神奇宝贝小说输了就脱一件衣服小说主惩罚奴小说常书欣小说古言小说构思关于都市的激情风流肉文小说主惩罚奴小说经典军旅小说推荐关于都市的激情风流肉文小说吞噬天下小说阅读古言小说构思亡妻种有重生小说穿越间之契的耽美小说宫斗小说完结版九州漫小说大主宰灵路主角可以把木雕寿星雕活了的小说穿越间之契的耽美小说常书欣小说小说红衣女鬼大结局黄易武侠小说下载医生有狐狸尾巴的小说黄易武侠小说下载小说红衣女鬼大结局九州漫小说大主宰灵路经典军旅小说推荐江山在体验元宇宙时遭到黑客入侵,病毒侵袭,丧尸围城。同时,他被告知一旦被病毒侵入,将无法回到现实世界。 一路疲于奔命…… 终于到了安全区之后,被告知可以脱离元宇宙世界。可是……他回到世界才发现,世界已经迥然不同,终究是回到了现实的世界,还是迷失在元宇宙当中? 江山为了追逐真相一路向前。 建文四年,朱棣拖家带口举兵造反,攻进应天府时,最疼爱的太孙朱瞻基却离奇失踪。 朱棣大怒,认为是建文乱臣所为,遂屠杀一万四千余建文乱臣及家眷,流放三万余靖难遗孤,以表对太孙疼惜之意。 …… 十一年后,一少年乱了朱棣心智,朱棣时常化作普通老头,与他一起打猎。 “老爷子,我真不是你孙子,我是从死人堆里爬出来的,没有亲人。” 朱棣听着朱辰的独白,禁不住就落泪了。 “谁说你没亲人,我现在告诉你,你爷爷是永乐大帝朱棣,你是大明皇嫡长孙。” 朱辰:“老爷子,您别骗我了。” 朱棣道:“不信也罢,我欠你一个盛大的复辟仪式。” 次日,应天府白日宵禁,万人空巷,十万大明铁骑进城,为首一人,正是那身穿铠甲,龙虎精神的老爷子! 爷孙俩隔空对望一眼,朱棣一笑。 十万大明铁骑下马,恭敬跪地大吼:“恭迎大明皇嫡长孙回朝!”一个现代的社畜高松在意外之下穿越到了三国时并且绑定了言出法随系统,主角先是在座小县城精准预言了曹操的遭遇之后又指点提前建立了大魏王朝并被拜为帝师,在120岁时飞升前往仙界因为系统出现故障把他带到了一个高武位面之后他就发现了这个高武位面的秘密。 血与火的战场,风声鹤唳的山林,神奇的猛兽和古武少年,这是一支有着铮铮铁骨的特种部队,这是一群浴血疆场、有血有泪的特种军人。枪声与热血共存,猛兽与英雄相伴,这是一本描写铁骨军人的书! 书友群号:336093992 竹香书屋VIP读者群:群号468694031*****《流浪在仙界》的有声图书已经在喜马拉雅上架了,多谢各位多去关注。*****百里长青穿越到仙界后发现:地球的心法远不如仙界的功法,但地球的武技却远高于仙界的武技。 汉武帝以:“侠者,以武犯禁”为借口,将江湖上的大部分武林高手围剿斩杀。百里长青(原名郭解)和他的八个兄弟,四个婢女,七个徒弟,还有五千个生死兄弟,在卫青大将军的十万大军合围后,全部万箭射杀,最后被仙界大佬救下灵魂穿越到仙界的凡人界,要求他们去仙界完成一个非常重要的任务。 百里长青带着他的兄弟和徒弟在仙界杀进凡人界,仙人界,神界等一个又一个的大陆,破解一个又一个的惊天阴谋,最终尘埃落定! 三世为人,穿越到仙界后百里长青一切看淡,性格大变,游戏风尘,风趣幽默尽在本书中。 江山如画,美人妆! 龙腾万里,乐逍遥! 一个穿越者的灵魂; 一个当代皇者之命魂; 一个身负上天之意的天女; 当三者相辅相成,为天下先,为苍生意。 匡扶社稷,历经磨难。 是宿命的轮回还是这悠悠天意,人力难为; 朝堂,战场,血雨厮杀,阴谋密布; 烽烟过后,张翼回首看向背后孤寂的威威皇朝,看着曾经的硝烟之处,却早已物是人非。 上马提剑定天下,下马安国保苍生。 ps:慢热,有逻辑,不属于小白文,慎重选择。人族无帝尊,妖帝出锁界,人族一代尊主紫舍帝尊消失于无相海深处,百年之后,妖帝率领万妖打开锁妖界,入侵人族,攻守之势逆转,各地宗门大肆招收门徒应对妖族的侵扰,山村少年张擎亲眼看见村庄被屠,走投无路的他被庆云宗长老救下,开启修仙之途,终成新的帝尊。乾坤未定,你我皆是黑马! 乾坤已定,那就扭转乾坤! 总有人要赢,为什么不能是我…… 我叫方休,谁惹我,我就和他玩命,至死方休…… 《关注我的微信公众号:苏月夕》现代社会,当天空中突然出现的巨门笼罩了整个大地,每个月都会有对应的强大怪物从门内降临,人类强敌环伺,超能力者崛起,隐世宗门现世。无论是华夏卧龙天机营、西方皇家骑士团还是北欧极地斗士,他们都有一个共同的敌人,每个月现世一次的天罚者!每一个平凡的人都是英雄,不是只有主角的故事才算叫精彩。 十三年前,李致在城郊梨花树下捡到一只垂死白狐。 十三年后,他开始被一个漂亮温婉的落难小姐倒追。 月夜之下战幕拉开。 李致翻手间剑光纵横雷霆天落,“我家夫人温柔贤惠娇贵可人,知冷热擅烹食……” 姜璃弹指间邪魔俯首山河崩坏,“我家相公谦谦君子文弱书生,温逊有礼好脾气……” 反派“……”
重生:回到1992当土豪 逍遥神医:我奉旨成婚 好闹心的游戏 凤凰山的幸福 非人六道 摸金秘闻 穿越:玛法大陆 江湖潇湘 万界至尊 武林剑客! 重生,校园时代 末日中的审判者 灵异复苏:世界崩坏五十年 游戏系统从传奇开始 古灵帝君 三国辅佐刘备白手起家 毒龙著 与天记 全民国主:我有帝皇模拟器 三国:刘备帐下,朝九晚五 输了就脱一件衣服小说 以小智为主角的神奇宝贝小说 关于都市的激情风流肉文小说 小说红衣女鬼大结局 输了就脱一件衣服小说 亡妻种有重生小说 关于都市的激情风流肉文小说 吞噬天下小说阅读 夜晚很黑的小说 李靖小说 荒是那个小说下载 荒是那个小说下载 女孩喝醉酒小说 以小智为主角的神奇宝贝小说 剪老二小说 小说红衣女鬼大结局 锦年终相遇小说 夜晚很黑的小说 小说:狗强奸了我 踩死虫蛊蠕动小说 以小智为主角的神奇宝贝小说 踩死虫蛊蠕动小说 小说:狗强奸了我 九州漫小说大主宰灵路 主惩罚奴小说 女孩喝醉酒小说 输了就脱一件衣服小说 经典军旅小说推荐 小说:狗强奸了我 夜晚很黑的小说 小说红衣女鬼大结局 主角是判官的小说 医生有狐狸尾巴的小说 剪老二小说 男主和未婚妻结婚的小说 小说诛仙青云门 医生有狐狸尾巴的小说 关于都市的激情风流肉文小说 女孩喝醉酒小说 小说霍云稀 小说诛仙青云门 李靖小说 主角可以把木雕寿星雕活了的小说 锦年终相遇小说 九州漫小说大主宰灵路 主角是判官的小说 荒是那个小说下载 小说诛仙青云门 女孩喝醉酒小说 穿越间之契的耽美小说 亚星官网 亚星官网 亚星官网 亚星游戏官网 亚星游戏官网 一指奇仙缘 昌南玖事 信了吧!我带着高冷校花去捞尸 我终于成为训练家了! 济天: 葡京官网 欧博官网 亚星管理平台 葡京官网 皇冠登3出租 古言小说构思 主惩罚奴小说 男主和未婚妻结婚的小说 男主和未婚妻结婚的小说 黄易武侠小说下载 黄易武侠小说下载 以小智为主角的神奇宝贝小说 荒是那个小说下载 宫斗小说完结版 亡妻种有重生小说 剪老二小说 主惩罚奴小说 关于都市的激情风流肉文小说 常书欣小说 李靖小说 医生有狐狸尾巴的小说 主惩罚奴小说 以小智为主角的神奇宝贝小说 亡妻种有重生小说 亡妻种有重生小说 李靖小说 黄易武侠小说下载 主角是判官的小说 以小智为主角的神奇宝贝小说 宫斗小说完结版 关于都市的激情风流肉文小说 小说:狗强奸了我 主惩罚奴小说 穿越间之契的耽美小说 小说红衣女鬼大结局