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"
一周岁宝宝 锌标准一岁宝宝大拇指脱皮一周岁宝宝过生日送什么礼物一个多月的宝宝尿很多怎么回事啊孕晚期宝宝打嗝缺氧一周岁宝宝 锌标准姓段的猴宝宝取名大全一周岁宝宝过生日送什么礼物一岁宝宝吃的虾怎么处理月子宝宝老是打喷嚏怎么办啊孕八月宝宝状态一周岁宝宝 锌标准月子里的宝宝拉绿粑粑孕八月宝宝状态一周岁宝宝过生日送什么礼物月子宝宝老是打喷嚏怎么办啊夜间宝宝阵发性哭闹孕30周宝宝脐带绕颈孕30周宝宝脐带绕颈一岁多宝宝睡觉总是哭闹一岁宝宝吃止泻宁孕30周宝宝脐带绕颈一岁宝宝吃的虾怎么处理一岁宝宝头发长湿疹孕晚期宝宝打嗝缺氧一岁宝宝饭奶比例一个多月的宝宝尿很多怎么回事啊一岁宝宝屏气抽搐一岁的宝宝怎么吃牛肉怎么做月子里的宝宝拉绿粑粑在历经无数生死之后,那最终迎来的一切只是开始,历史似乎一直在轮回中。贫困山村出来的李小冉为摆脱农人的身份,拼了命的想融入大城市,可最后却事与愿违。女友也因为他是农村的,没能在城里买房最终离她而去……获得签到系统的林无月,短短几年内,厨艺、格斗、投资、编程、画画…… 等无数技能都达到了人类满级,更是获得了无数财富和权利,但这时他才明白简简单单才是真,他隐退幕后,娶了青梅竹马,过着普通人的生活! 可随后,老婆被选中参加一档名为《了解另一半》的真人秀节目,林无月在不知情的情况下,被全球直播! “卧槽,这不是御厨宗师林大师吗?” “放屁,他明明是被誉为华佗在世的妙手神医林神医!” “扯淡,他是世界第一兵王,至尊修罗!”XX年间,天下大乱,群妖四起,官兵横行,百姓民不聊生。 天上众神,心疼百姓,特派紫微星下界,斩妖除魔,匡扶正义,救黎明于水火。 紫微星领命,下到人间,化身一名女子,隐居山间,观察人间百态,看遍民间疾苦,可悲可叹!【我可以回家吗?】 【我让人找过了,提瓦特大陆不在这个世界,也就是说,你可能回不去了。】 【我需要回去,那里有我的朋友、战友……】 【我帮你,不过,你可能需要在这里呆一会儿,巴尔泽布,或者说,雷电将军小姐】 邹锦辉看着面前的女孩,露出了一丝微笑。 雷电将军想了想,点了点头。 因为 是这个人,在自己受伤和虚弱的时候,救了自己。 【那么,你想要什么东西报答呢?】雷电将军笑着问对方。 【以后再说吧】 邹锦辉看着她,笑了笑。穿越重生,以你之躯,冠以汝名,还以尊严,赋予荣耀。大梁内忧外患,民族已经到了生死存亡之际。 陈杉穿越,一个读博的在校生,来到古代,带着前世的记忆,在古代拖家带口的搞发明。 这书没有系统。 陈衫将在这里遇见很多美女,以及在古代生活的点点滴滴,一步步把大梁带到世界之巅。 我不是神,但是我有创造神迹的能力。 你们自认为很强大,在我眼里不过只是一帮石器时代的野蛮人罢了。 不要挑战我的权威,因为我也不知道你会变成什么样。 燧发枪:烟雾太大,阻挡视线。 后装弹:需要的东西比较多,但也不是做不出来。 大炮:实心弹、散弹、?榴弹,供客户多种选择。 热气球:天降正义了解一下? 机枪:转轮的做不出来,抱歉,只能用这个来阻挡你们的冲锋。 战略舰:口径意味着真理。 装甲列车:修路修到你家门口,这个不过分吧。 双翼飞机:喷气做不出来,在你头上扔垃圾还是能做到的。 上下五千年,穿越北宋、未来世界、春秋战国、五代十国、南北朝、南宋,纵横阴阳两界,遭遇妖、魔、鬼、怪和树精、狼人、人鱼、道仙、仙鹤等或敌或友,历经近百场或大或小或人或魔或远古或未来之战,侠义,历史,战争,魔幻,血腥,勇气,并有相伴左右的亦妖亦精的爱情,令人血脉喷张。一位部队退伍的小伙子,机缘巧合做了乡镇书记的司机,从此开始了他在官场上的逆袭之路每个人心中都有一个自己的江湖,江湖故事。 凌云被师傅赶下山,一人独闯江湖。 江湖纷争,人心难测,我自清醒。
直播:开局巡山,被迫成为金钱豹保镖 封魔榜单 今宵杯中映明月 科技式修仙 黑白通常 普普通通的灵气复苏时代 命归虚隐 神戏一 拯救世界可太有趣了 沉迷学习的我被迫成为全能 庆南吏 致命的死亡游戏 魔沦 都市之龙魂战神 几个天下 偷盗诸天 死在兔子枪下的猎人 mere trash 我来自系外文明 刚成圣主的我疯狂搞钱 一岁宝宝额头长痱子怎么办 月子宝宝老是打喷嚏 夜间宝宝阵发性哭闹 孕30周宝宝脐带绕颈 一岁宝宝额头长痱子怎么办 一岁宝宝后脑勺大 一岁半宝宝每天睡8小时正常吗 月子里宝宝能把尿吗 一岁宝宝饭奶比例 月子里的宝宝拉绿粑粑 一岁宝宝吃的虾怎么处理 一岁宝宝吃的虾怎么处理 一岁宝宝头发长湿疹 月子宝宝老是打喷嚏怎么办啊 一岁九个月宝宝咬人 孕晚期宝宝打嗝缺氧 一岁半宝宝每天睡8小时正常吗 一岁宝宝饭奶比例 一岁宝宝吃止泻宁 一周岁宝宝 锌标准 月子宝宝老是打喷嚏 一周岁宝宝过生日送什么礼物 一岁宝宝大拇指脱皮 孕36周男宝宝b超图 月子里宝宝能把尿吗 一岁宝宝头发长湿疹 一岁宝宝饭奶比例 一岁宝宝大拇指脱皮 一岁宝宝吃止泻宁 一岁宝宝饭奶比例 孕30周宝宝脐带绕颈 月子宝宝老是打喷嚏 一个多月的宝宝尿很多怎么回事啊 一周岁宝宝 锌标准 一岁宝宝头发长湿疹 孕晚期宝宝打嗝缺氧 一个多月宝宝拉尿频繁 一岁半宝宝每天睡8小时正常吗 一岁宝宝头发长湿疹 一个多月宝宝拉尿频繁 孕晚期宝宝打嗝缺氧 月子里的宝宝吹到风了怎么办 一岁多宝宝睡觉总是哭闹 一岁半宝宝手心脚心痒 孕36周男宝宝b超图 月子宝宝老是打喷嚏 一岁宝宝吃的虾怎么处理 一个多月的宝宝尿很多怎么回事啊 一岁的宝宝怎么吃牛肉怎么做 姓段的猴宝宝取名大全 亚星官网 亚星官网 亚星官网 亚星官网 亚星游戏官网 御临十方:十珏 剑入仙道 仙警局 今宵杯中映明月 剑眼 澳门葡京游戏官网 葡京官网 快连下载 澳门葡京官网 欧博官网 月子里宝宝能把尿吗 一岁宝宝饭奶比例 一个多月宝宝拉尿频繁 孕晚期宝宝打嗝缺氧 一个多月的宝宝尿很多怎么回事啊 一岁宝宝屏气抽搐 姓段的猴宝宝取名大全 一岁宝宝吃的虾怎么处理 一岁宝宝头发长湿疹 一岁多宝宝睡觉总是哭闹 一岁宝宝头发长湿疹 月子宝宝老是打喷嚏怎么办啊 一岁的宝宝怎么吃牛肉怎么做 一周岁宝宝 锌标准 姓段的猴宝宝取名大全 一岁九个月宝宝咬人 一岁宝宝头发长湿疹 月子宝宝老是打喷嚏怎么办啊 一岁宝宝吃的虾怎么处理 一岁宝宝吃止泻宁 一岁宝宝吃饭 颗粒可以吗 月子里的宝宝吹到风了怎么办 一周岁宝宝 锌标准 孕晚期宝宝打嗝缺氧 一岁宝宝吃止泻宁 姓段的猴宝宝取名大全 月子里的宝宝拉绿粑粑 一岁宝宝屏气抽搐 月子里给宝宝睡头 一岁半宝宝每天睡8小时正常吗