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"
日本俘虏营电视剧80年代内地战争电视剧排行榜电视剧火凤凰传奇香港电视剧天师捉妖姬电视剧大全继承人日本俘虏营电视剧男主扭伤脚电视剧电视剧火凤凰传奇亲密姐妹电视剧百度云盘找女儿的电视剧戏说乾隆 电视剧 郑少秋电视剧火凤凰传奇大秧歌电视剧46集戏说乾隆 电视剧 郑少秋盲女 电视剧找女儿的电视剧我要想看赵本山电视剧全集夏至未至 电视剧有几集电视剧大全继承人形昭林主演过的电视剧电视剧匆匆那年观后感夏至未至 电视剧有几集亲密姐妹电视剧百度云盘杨炎棠电视剧工人大院 电视剧土豆网西游记电视剧六小龄童版工人大院 电视剧土豆网淳于珊珊演过的电视剧形昭林主演过的电视剧像新三国电视剧有哪些显示版的帝国,穿越、无金手指、无系统、无挂,能不能力挽狂澜。我很懒不想写太多简介。本书严格遵守中华人民共和国相关法律法规是一本正经合格小说。绝不含任何有关违法乱纪行为描写。我是中国人我爱中国。一旦好人被逼的举起毁灭之剑,这个世界将会走向何方? 张启灵本是一颗由各方大佬培养的火灵珠,因为一个意外流落民间。张启灵在人海浮沉,不仅处处受到欺负,更是因为毁灭之子的身份被人四处追杀。当他了解自己的身世以后,只能举起手中的剑,清洗这个暮气沉沉的世界…… 特殊体质,资质绝佳,修炼救母。红尘中相视一眼,续写剪不断情缘。 不争大世,不逆天道,顺势修仙。无尽岁月一浮尘,凡人亦可登绝巅。小马哥,血战死亡后被万千影迷惋惜,然后复生到鞥司世界,与大学新生马可融合。讲义气的大古惑仔和大学生,不友好的开局,没有提前量的信息集成,只是一个小小锦衣后人。为了寻找失踪的父母,马可只能不断变强,异能者的动乱,外域的强者.......他在深海铜棺中沉睡了万年,此刻他醒来了,他手执弑天刀,对着污浊的苍穹呐喊:“若天道不公,我便踏碎这虚空!” 古老的传说,神秘的田家井! 一声巨响,一片残垣断壁,见证了一段血腥的历史。 五百多年后的他从残破古井中进入一处空间裂隙,邂逅元末枭雄陈友谅之女陈飞飞,揭开了一段尘封的历史。他加入华夏国安八局并屡立奇功,战功赫赫的女友为了华夏北斗系统被CIA羞辱,从此他上碧落下黄泉,只为……前世顶级杀手转生异界骷髅?! 诡异书页 ,神秘纹路,脑中突然出现的那是什么... 隐秘如一团团迷雾笼罩。 前所未有的异界大陆,阿尔伯特睁开了眼睛。 ”我的士兵,帮助你们的王铲除掉来犯的蝼蚁!” “你管眼前这个叫蝼蚁?!” 阿尔伯特的异界冒险,开始了!由于灵仙大陆发生战乱,男主角陈潇被卷入与地球平行的异界大陆,历经魔修大陆、蛮荒大陆、屠龙大陆、死亡国度等几片大陆,研习魔法、修炼仙术,经历了亲情、友情、爱情的考验,最终创建了自己的一片天地……少年南弦意外获得全能系统,在之后的日子里,从此纵横都市。 需要什么技能,就学习什么技能,让敌人郁闷到死,他就是打破常规的妖孽。 他游走在黑暗世界,灭脚盆,杀猴子,虐棒子,横扫M帝国,让敌人闻风丧胆。身边还有各种美女相伴。
异世代:平行地球流浪记 世末之路 情义山泉 修罗宁神纪 诸天殇 人逆流芳 具象师 民进禁忌杂谈 大国上医 元宇宙:重生进化路 星际探险:我让大夏国运滔天 虚无军团 灵气剑师 仙运再临 风雨有晴归去来 负极因子 缚天咒君 降灵之初 重生青春之火重燃 诡闻悬盗 戏说乾隆 电视剧 郑少秋 韩国运动类的电视剧 日本俘虏营电视剧 亲密姐妹电视剧百度云盘 戏说乾隆 电视剧 郑少秋 电视剧大地恩情?语20 日本俘虏营电视剧 淳于珊珊演过的电视剧 爸爸去哪儿第五季电视剧 杨炎棠电视剧 盲女 电视剧 盲女 电视剧 大秧歌电视剧71 韩国运动类的电视剧 男主扭伤脚电视剧 亲密姐妹电视剧百度云盘 电视剧火凤凰传奇 戏说乾隆 电视剧 郑少秋 电视剧大全继承人 电视剧海军片 韩国运动类的电视剧 电视剧海军片 电视剧大全继承人 电视剧匆匆那年观后感 西游记电视剧六小龄童版 大秧歌电视剧71 戏说乾隆 电视剧 郑少秋 夏至未至 电视剧有几集 电视剧大全继承人 爸爸去哪儿第五季电视剧 亲密姐妹电视剧百度云盘 80年代内地战争电视剧排行榜 梨花似雪电视剧视频 男主扭伤脚电视剧 找女儿的电视剧 大唐女巡按电视剧观看 梨花似雪电视剧视频 日本俘虏营电视剧 找女儿的电视剧 我要想看赵本山电视剧全集 大唐女巡按电视剧观看 大秧歌电视剧71 形昭林主演过的电视剧 梨花似雪电视剧视频 戏说乾隆 电视剧 郑少秋 爸爸去哪儿第五季电视剧 大唐女巡按电视剧观看 工人大院 电视剧土豆网 叫艾语的电视剧叫啥 电视剧海军片 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 神州滴滴 无念苍生 八荒古卷 全民御兽:开局天赋映照诸天 无尽仰望 澳门葡京官网 AG真人 快连下载 澳门葡京官网 欧博官网 80年代内地战争电视剧排行榜 香港电视剧天师捉妖姬 电视剧大地恩情?语20 靳东李晨演的电视剧 电视剧大全继承人 杨炎棠电视剧 大秧歌电视剧71 盲女 电视剧 大唐女巡按电视剧观看 大唐女巡按电视剧观看 电视剧大全继承人 电视剧大全继承人 电视剧火凤凰传奇 找女儿的电视剧 夏至未至 电视剧有几集 梨花似雪电视剧视频 男主扭伤脚电视剧 淳于珊珊演过的电视剧 爸爸去哪儿第五季电视剧 电视剧匆匆那年观后感 杨炎棠电视剧 梨花似雪电视剧视频 盲女 电视剧 韩国运动类的电视剧 梨花似雪电视剧视频 电视剧大地恩情?语20 工人大院 电视剧土豆网 电视剧大全继承人 日本俘虏营电视剧 电视剧火凤凰传奇