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"
慢跑运动的英语作文漫画英文作文模板下载慢跑运动的英语作文旅游周记作文绿色的巨人 作文漫画类英语四级作文满分作文中国范描写春天热闹的作文妈妈你太棒了作文400字满分英语作文的好句六一晚会 作文700慢跑运动的英语作文描述c罗的外貌穿着作文描写学校的英语作文400字描写春天热闹的作文满分英语作文的好句买保险的好处英文作文描述中国成语 英语作文描述中国成语 英语作文漫画人物英语作文美.食.作文大全描述中国成语 英语作文妈妈你太棒了作文400字描写英国的小作文绿色的巨人 作文铭记重要的事作文800字旅游周记作文描写英国的小作文漫画人物英语作文描述c罗的外貌穿着作文祖星灵力复苏,陆风意外开启传送阵,至此开启异界之旅。都市里灯火辉煌,未有一盏为我留灯。都说情场失意职场得意,可现实总是不尽如意。累了吧,那就开始新的人生吧我穿越后的生活好像过于幸福了! 开局既不是负债孤儿,也没遇上病娇女友。 虽然我没有可以整天腻腻歪歪的邻家青梅,也没有从天而降的富婆姐姐,但我有几个过分可爱的女友啊! 虽然声音好听,但却不爱说话的白毛少女; 虽然容易害羞,但却喜欢逞强的妩媚御姐; 虽然身为富婆,但却沉迷打工的恶魔学姐; 虽然性格冷淡,但却万事全能的冷淡邻家; 其他还在为还债而努力,为脱离病娇追杀而奋斗的苦逼道友们,都来看看吧! 蜻国与蝉国、蛐国发生战争,弄丢一国之宝即历代女仙眼原,新一代女仙蜻缘心到人界寻眼原,与修仙院中青鸟弟子画中潇结识并相爱。得知他们是同命,性命相互影响。画中潇帮助蜻缘心寻得眼原,但是被蜻国巫师施法陷害,故而缘心嗜杀成性,被世人封杀,至此,画中潇和蜻缘心的缘分被月老在情缘簿上划去,因而他们情缘终结…… 在情人节当天被绿, 被绿后获得9000万亿的神豪基金。 这么多的钱,却只能用于消费,不能给自己购置任何实财产。 无奈之下啊,江元只好开启了一条烧钱猎艳之路。 “你别以为有钱了不起呀!” “sorry,有钱,真的了不起呀!” ——江元 子受穿越为殷商纣王。 系统发布的第一个任务竟然让他找个女人表白,任务失败回到原世界? 子受表示:当nm的暴君,老子要回去! 为了回到原世界,作死表白了女娲。 却没想到阴差阳错地成功了! 子受:女娲是我女朋友怎么办?急,在线等! Ps:此书又名《我的女朋友是女娲》、《女娲好感度爆满了怎么办?急,在线等!》讲述了我自己的真实故事,希望大家喜欢秦峰意外穿越三国,成了一名普通士兵。 虎牢关城外,大战三国第一猛将,他出尽风头。 洛阳城外赶董卓,冀州驱逐袁绍,中原群雄逐鹿。 练绝世雄兵,造超级武器,拥绝世美女,收绝世猛将,纳顶级谋士。 秦峰率领北方铁骑,横扫天下,一统三国。 试问天下,谁人能比。 从士兵到枭雄,秦峰一路走来,成就王者传奇,我秦峰才是天下霸主。 读者群(246835683)感兴趣的可以加群,一起交流学习。一个现代人到了古代会做什么。 裴尘对自己说: 如果这一切都是梦,梦醒时自然烟消云散。 如果这一切不是梦,那我要做的就是,好好活着,也让我身边的人,好好活着。 大周王朝,内忧外患,民不聊生,在这样的环境下,自己不愿随波逐流,想要改变。 事情要么不做,要么就做到极致。 纺织、制弩、黑火药、香皂、制盐、炼钢…… 一步一步的布局,一点一点的强大。 也有对喜欢人儿的心动、感动、冲动,以及对传说中武功的向往。 讲本篇讲述了男主陈云父母被神界之人杀死,为了报仇努力变强,成为世界之巅,手刃仇人,最后开辟了新的修真界,简单易懂
荡涤魑魅除魍魉 齐天大圣再战西游 无量仙宫 无念剑魂 弑帝成神 致命实习生 不惑之心青春期 九域覆灭录 修罗斩道 武破神灵 玄凌大陆 上古卷轴6:猎龙者传奇 归往之间 轮回万万年,我竟是武道之神!? 导师对我很特殊 神秘复苏:融合神级天赋 玄武文明 神明论 宇宙之外之人类的自我救赎 仙尘异行 宁夏2017年高考作文 描写英语考试作文 买保险的好处英文作文 描述中国成语 英语作文 宁夏2017年高考作文 母亲对自己孩子的爱作文 苗族民族特色作文 描写一棵树作文题记 铭记重要的事作文800字 描述c罗的外貌穿着作文 妈妈你太棒了作文400字 盲人用盲文写的作文 母亲节历史的由来英语作文 满分英语作文的好句 漫画类英语四级作文 绿色的巨人 作文 苗族民族特色作文 铭记重要的事作文800字 美.食.作文大全 慢跑运动的英语作文 描写英语考试作文 描写春天热闹的作文 漫画英文作文模板下载 描写学校的英语作文400字 满分英语作文的好句 母亲节历史的由来英语作文 铭记重要的事作文800字 漫画英文作文模板下载 美.食.作文大全 铭记重要的事作文800字 绿色的巨人 作文 描写英语考试作文 描写外貌的作文开头 慢跑运动的英语作文 描写英国的小作文 绿色的巨人 作文 描写外貌的作文开头 买保险的好处英文作文 母亲节历史的由来英语作文 描写春天热闹的作文 旅游周记作文 铭记作文800字高中作文 奶奶作文1500 盲人用盲文写的作文 描写学校的英语作文400字 描写英语考试作文 盲人用盲文写的作文 旅游周记作文 漫画人物英语作文 满分作文中国范 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 断杀戮 苍隙界 开向绿野春风 天炎:红尘如梦 肥宅逆袭史 亚星官网 万利官网 欧博官网 亚星官网 AG真人 盲人用盲文写的作文 母亲节历史的由来英语作文 漫画类英语四级作文 奶奶作文1500 美.食.作文大全 满分英语作文的好句 描述c罗的外貌穿着作文 漫画英文作文模板下载 宁夏2017年高考作文 漫画英文作文模板下载 绿色的巨人 作文 宁夏2017年高考作文 描写英国的小作文 旅游周记作文 妈妈你太棒了作文400字 买保险的好处英文作文 奶奶作文1500 六一晚会 作文700 满分英语作文的好句 描写英语考试作文 慢跑运动的英语作文 你让我更美好初一作文 铭记重要的事作文800字 满分英语作文的好句 旅游周记作文 描写春天热闹的作文 满分作文中国范 描写外貌的作文开头 描述中国成语 英语作文 描写春游300个字的作文