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"
以抬头看的作文600初三语文作文刷新自我开头以抬头看的作文600初三以疏为话题的作文500字以友谊为话题的作文600英语考研还是就业作文英语作文微博拍图英文旅游计划作文一件文物作文450字以什么影响了我的作文600字益虫有哪些作文以抬头看的作文600初三以磨砺为题的作文66以网络为话题的作文400英文旅游计划作文以什么影响了我的作文600字英语作文范文六级依靠议论文作文800字依靠议论文作文800字英语会考到的作文形式一年级夜晚作文50字依靠议论文作文800字一件文物作文450字英语多彩实践日作文以友谊为话题的作文600以 希望 为话题作文以疏为话题的作文500字英语多彩实践日作文英语会考到的作文形式以磨砺为题的作文66苦修十余年,却被告知自己有个富家千金的未婚妻?杨祁下山,却没想反遭对方长辈轮番羞辱!   男儿志气尚在,杨祁果断打脸对方,并且提出退婚!   然而,退婚一事不成,杨祁却卷入了江渝的风波之中,在风波之内以逆天医术,超凡武学打拼出一片天地!误入修仙世界,只想苟活于世,却不想误入阴谋之中。 推进前路的,不仅仅是幕后黑手…… 还有隐藏的,深处的未知“仙界的日子枯燥死了!”仙王抱怨,“听说凡间很好玩,不如,去凡间打发下时间?”仙王下凡,不料这一去,万万年来古波不惊的心弦就悄悄的波动了…… “她生病了,该怎么办?”“完了,她好像知道了……”“心跳的好快,我这是怎么了?”“……”一向沉稳的仙王一下子乱了套…… 末世的日子不好过啊……走不出的无尽小路,天降满身是血的橘色大猫……一切的一切,彻底打破了林凡平静的生活。 守卫九州近百年的屏障竟是神明的身躯所化! 而如今屏障渐渐出现缺口,屏障之外的诡异生物不断入侵九州。 守夜人死守在屏障之后,誓死保卫九州。 橘猫师父却告诉林凡,神明不可能怜悯凡人。 那么神明为什么要化身屏障守卫九州百年? 平凡少年在命运指引下踏上救世之路。 这是少年坎坷的成长之路,充满了血与乱的悲歌,同样也是英雄的史诗。   李乘风穿越到一个妖魔横行的世界,成为青城山的一个守山人。   奈何他没有灵根无法修炼,只能安安分分做一个普通人。   但是有一天,他的系统突然变异了,从此成了一个令一众妖魔闻风丧胆的得道高人……   这妖怪也太弱了,我都没有出剑呢,怎么就死了。   我养的一条狗,居然是横扫妖界的一方妖王。   我池塘里的乌龟,竟然蜕变成了洪荒神兽。   之前跟我下棋的老头子,最后竟然成仙了。   还有那个最喜欢听他吟诗作对的漂亮姐姐居然修仙界第?仙?。   知道这些真相之后,李乘风开始怀疑人生:   我该不会真成为绝世高手了吧? 开局落入十万大军阵中,觉醒拼夕夕系统! “恭喜宿主觉醒拼夕夕系统!” 谁说主角不能被砍? 我死给你看!拥有【满级肉身】的苏叶,穿越异界,成为显魔宗疯魔院的杂役弟子! 被女魔头吊着打,获得天魔神掌。 被老魔头拿头撞,获得种魔大法。 被小魔头当沙包,获得霸王神斩。 …… 在疯魔院当杂役这些年。 有郁郁寡欢的师妹,来疯魔院供奉魔头,经苏叶指点,修成九世女帝! 有身世卑微的凡人,来疯魔院供奉魔头,经苏叶调教,成为天下共尊的魔皇! 有朝廷弃徒的皇子,来疯魔院供奉魔头,经苏叶点拨,成为横扫大陆的一代帝王! * 六十年后,魔道天榜揭示,排序魔道强者,苏叶独占鳌头! 榜单备注——神魔共主! ……穿越平行世界,开局就被女星污蔑,沦为史上最强渣男。 结果开启搞事系统。 从系统开启的那一刻,就注定严谨是娱乐圈的一股泥石流。 面对媒体: “我说那不关我的事情你信吗?!” “真的,她说要蹭我的流量,所以……主动找我,我真是无辜的啊!” “你们不相信?我审美是在线的,就她那样的……我也瞧不上啊!” 凭借着自己的才华,他让网友又爱又恨。 甚至还被亲切的称之为——娱乐圈质检员!人生岂得圆满?但求问心无愧。
男人不在家的日子 大炎帝国风云录 龙皇战尊 纵情三国 师兄有亿点点强 储天神婿 末世降临:我的杀仙日常 使神令 茅山天师玄宁子 这年冬天 精灵世界的聊天群大师 我是孙笑川 传播文化十五年,我成帝了 屠妖佛之血域 最狂兵王混都市 重生之龙吟凤鸣 中唐明帝 我在聊天群扮演异火炎帝 藏剑:通天修为 洪荒集 医生家长进课堂作文 以家乡题的作文作文 英语作文范文六级 以友谊为话题的作文600 医生家长进课堂作文 以母爱为题的作文开头 一个理发师的作文 一张照片作文五年级 以 希望 为话题作文 以磨砺为题的作文66 一件文物作文450字 一个喜欢的人的作文 有关水果的英文作文 以家乡题的作文作文 英语考研还是就业作文 以友谊为话题的作文600 一个理发师的作文 以 希望 为话题作文 一年级夜晚作文50字 以抬头看的作文600初三 以家乡题的作文作文 英文旅游计划作文 语文作文刷新自我开头 以网络为话题的作文400 以什么影响了我的作文600字 有关水果的英文作文 以 希望 为话题作文 语文作文刷新自我开头 一年级夜晚作文50字 以 希望 为话题作文 以友谊为话题的作文600 以家乡题的作文作文 以我的重庆为题写作文 英语考研还是就业作文 英语多彩实践日作文 以友谊为话题的作文600 以我的重庆为题写作文 英语作文范文六级 有关水果的英文作文 英文旅游计划作文 以疏为话题的作文500字 衣服投诉信英语作文 益虫的童话作文200字 一个喜欢的人的作文 以网络为话题的作文400 以家乡题的作文作文 一个喜欢的人的作文 以疏为话题的作文500字 有关水果的英文作文 英语作文微博拍图 亚星官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 我的杀神之道 迷途与归路 种田,我靠塔防征服废土 相见录 暗黑世道 皇冠登3出租 亚星管理平台 澳门葡京游戏官网 皇冠登3出租 亚星官网 英文旅游计划作文 英语考研还是就业作文 以磨砺为题的作文66 以抬头看的作文600初三 以疏为话题的作文500字 衣服投诉信英语作文 以友谊为话题的作文600 以 希望 为话题作文 以网络为话题的作文400 以 希望 为话题作文 一个喜欢的人的作文 以母爱为题的作文开头 以家乡题的作文作文 英语会考到的作文形式 以什么影响了我的作文600字 一个喜欢的人的作文 衣服投诉信英语作文 以什么影响了我的作文600字 以 希望 为话题作文 一张照片作文五年级 英语作文微博拍图 语文作文刷新自我开头 英语作文微博拍图 以疏为话题的作文500字 一个理发师的作文 以疏为话题的作文500字 益虫的童话作文200字 以友谊为话题的作文600 一个性格什么的人作文400字 益虫有哪些作文