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"
那兔头像云彩头像朴信惠头像二哈头像模糊头像那兔头像卡通可爱头像朴信惠头像香港头像张小盒qq头像黄钻用户可以在"动态头像/形象"里面重新上传gif图片作为头像朴信惠头像眼泪头像黄钻用户可以在"动态头像/形象"里面重新上传gif图片作为头像朴信惠头像张小盒qq头像素描人头像朝气头像模糊头像kb头像夏弥头像朝气头像香港头像瓜皮猫头像裴涩琪头像校斗群头像裴涩琪头像悟空头像kb头像复联头像我希望这部作品能涵盖上至弘达庄严的创世神话,浪漫史诗,下至充满奇趣的凡间故事,中国五千年的悠久历史,展现了宏大的画卷,波澜壮阔的背景,开拓了我们的想象力,让我们看到了人性的光辉。深邃的思想,和人性的真实。【奶爸+文娱+沙雕+正能量】  张洋穿越到平行世界,和网红校花周若汐结婚,并产下龙凤胎。   隐婚三年,却意外被狗仔队曝光,遭到老婆黑粉儿狂轰滥炸。   就在张洋无奈之际,坑爹系统……哦不,全能系统觉醒了。   “叮~系统激活,获得免费十连抽。”   张洋:“咋都是谢谢惠顾??”   “叮~只需充值一千万,就能成为尊贵的黄金会员。”   张洋:“系统,你确定是来帮我的?”   “叮~恭喜宿主,获得超级武术技能。”   “叮~恭喜宿主,获得超级学霸技能。”   “叮~恭喜宿主,获得超级音乐技能。”   张洋:“这还差不多~”   周若汐:“老公,你太棒了!我要给你开直播!”   张洋:“老婆,低调,我不想成为大明星!”他在深海铜棺中沉睡了万年,此刻他醒来了,他手执弑天刀,对着污浊的苍穹呐喊:“若天道不公,我便踏碎这虚空!”镇物,也叫镇邪之物。在民间,镇物用于镇墓、镇宅等。 镇物用得好可以救人,而被心术不正的人利用,也能杀人于无形。“善恶之报,如影随形,三世因果,循环不失” ——《涅盘经·遗教品一》我,华夏太空军星际舰队玄蜂号重型战列舰的舰长。 也是大明星左蓝欣的老公,在经历了残酷的星际战争后,我只想在现实世界中悠闲渡日,做一名咸鱼,可是…… 我们,却被曝光了……“萧寒,你金子掉了!” “懒得捡……” “萧寒,突厥又来了!” “哎,来进贡的!不老实,立刻大嘴巴扇他!” “萧寒,棒子来认祖了!” “快!乱棍给我打出去!!!” 唐朝,一个空前强大的王朝! 灿烂绚丽的文化,万国来朝的盛况,儿女情长,英雄辈出! 梦回大唐,长安的夜空是否依旧让我们着迷? 且看一个来自现今社会的平凡青年,回到这个有欢笑有泪水的伟大时代,在这大唐的盛世里写下最华丽的篇章,如何以一己之力,推动整个唐朝滚滚向前! 本书轻yy 走轻松诙谐路线,与正规历史有出入,敬请谅解~作为一个八零后,都会有过玩传奇游戏的经历,我把众多的传奇故事糅合在一起,带你们重温当年的经典时刻!传说,宇宙中有一方宇宙人以强大的科技和大量训养的怪兽以及残暴的手段侵占适宜其生存的行星,建造庞大的宇宙帝国。 如今,已经侵占数行星的邪恶宇宙人将矛头对准了地球。 人类究竟能否开发出对付侵略者的武器,团结一心,打赢这场长期的家园守卫战呢?茫茫黑色宇宙中究竟是否能冉冉升起一颗新星? 无人知晓......  “左眼为阴,右眼为阳,日夜更替,阴阳轮换,俱在我身”   浩瀚的宇宙边陲之地,只有无光无明的漆黑。   有一个男子正盘腿悬坐在星空中,而伴随刚才的话语,他的眼睛突然从眼眶里跳了出来,只留下两个空洞的眼眶,   此时这两只眼睛都还覆盖着眼皮,闭着眼睛。   忽然,一只眼睛睁开。   漆黑的星空便有了光明,十分耀眼,光芒照在男子和他前面的一具尸体上。   这时,才发觉这男子和这具尸体竟散发这仙人之气。   男子是这方世界两大仙帝之一的——陆仙帝,而他面前的尸体则是另外一个仙帝——陈仙帝。   两位仙帝大战于此,落得两败俱伤。   陆仙帝左手之上托着一个灵魂,恰是一个女子的模样,不过已经没有了多少灵性,陆仙帝叹了了口气,道:   “便只能转世重生了”   而陆仙帝刚才将自己的灵魂打入这三千世界,转世重生,夺取生机。   灵魂纷纷降落重生,化作小世界中的土著,其中便有一份灵魂便将落在这一方世界——蜉蝣界。   故事就此开始,
超级兵王 斗气的九大世界 无敌,从十万分身开始 万界最强剑师 神话三国:开局一座天机道场 只想打工的我被迫拯救世界 纨绔剑道 浪客断夜行 天赐神机 大仲帝国末代风云录 于我无益 江湖:无奈扮虎吃猪 末世召唤2 永恒极致 寡酒淡茶 紫薇真经之内经篇 我喜欢的女孩子们 情院深深 云努南江 大国无双 校斗群头像 铁路头像 另类qq头像 模糊头像 云彩头像 悟空头像 另类qq头像 潘斯特头像 lol领奖中心头像 眼泪头像 萌羊头像 萌羊头像 瓜皮猫头像 铁路头像 那兔头像 裴涩琪头像 男左女右的情侣头像 校斗群头像 烂人头像 朴信惠头像 铁路头像 朴信惠头像 烂人头像 朝气头像 张小盒qq头像 麦蒂头像 校斗群头像 烂人头像 烂人头像 lol领奖中心头像 模糊头像 小玉头像 二哈头像 那兔头像 瓜皮猫头像 裴涩琪头像 二哈头像 另类qq头像 瓜皮猫头像 三班头像 裴涩琪头像 潘斯特头像 kb头像 男左女右的情侣头像 黄钻用户可以在"动态头像/形象"里面重新上传gif图片作为头像 小玉头像 萌羊头像 裴涩琪头像 麦蒂头像 素描人头像 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 张泊宁校园争霸赛 使命之匡扶正义 神创现世 人在娘胎:我把女帝姐姐们都打哭了 李毅破天 澳门葡京官网 AG真人 快连下载 澳门葡京官网 欧博官网 眼泪头像 lol领奖中心头像 二哈头像 朝气头像 模糊头像 麦蒂头像 素描人头像 香港头像 kb头像 非主流伤感男生头像 kb头像 潘斯特头像 非主流伤感男生头像 三班头像 张小盒qq头像 悟空头像 云彩头像 模糊头像 卡通可爱头像 另类qq头像 素描人头像 二哈头像 云彩头像 瓜皮猫头像 眼泪头像 朝气头像 裴涩琪头像 萌羊头像 模糊头像 铁路头像