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"
他(她)真漂亮作文450字树立工匠精神作文他(她)真漂亮作文450字四年级大园七作文我的什么什么作文500字作文随意作文1000字我最好的朋友舞蹈作文书奋斗的名义作文图片英语作文节约用水我喜欢的一个同学作文400字作文600字暑假作文400字五篇他(她)真漂亮作文450字同学友谊的作文五百字数学成绩分析反思作文书奋斗的名义作文我喜欢的一个同学作文400字作文600字童话作文儿300字我的暑假收获作文400我的暑假收获作文400数学统计图作文童话故事作文六年级400字作文大全我的暑假收获作文400图片英语作文节约用水我看考试300字作文怎么写我的什么什么作文500字作文暑假生活的作文600字四年级大园七作文我看考试300字作文怎么写数学统计图作文同学友谊的作文五百字平淡的人生,又或许能够不一样?懵懂少年初出茅庐,奇遇连连,本想苟活富贵,谁知踏上命运颠覆。苍茫的卡迪亚大陆,战火连连,人鬼不分,神魔交战。最终鹿死谁手?未来可期,历经九死一生,死中得活。穿越爱恨情仇,万丈红尘,谁人能够躲避? 走过最深的低谷,爬过最高的山峰,喝过最烈的美酒,拥有最美的女人。且错且过,命运折磨,造就了凡人成为英雄的一生!大魏王朝,妖魔乱世,幽鬼横行。 当顾青玉睁开眼睛醒来之后却发现自己只有七日可活! 无奈之下,只好凭借驯养系统驯养一只青龟,将其化作自己的一个分身! 【叮!是否消耗成长点驯养青龟?】 【驯养成功!】 【青龟等级提升!】 …… 【叮!是否消耗进化点进化天元青龟?】 【进化成功!】 【天元青龟进化成为:天元龟!】 【叮!获得能力‘天元一气’!】 …… 顾青玉发现,自己驯养的分身不但可以不断升级,还可以不断的进化…… 穿越成为镇南王府的世子,本来想安安心心当一个纨绔,上街打算强抢民女,却没想到一个不小心竟然抢走了微服出宫的当朝公主!更没想到的是,皇帝不但没有怪罪,反而将公主赐婚给他!不是吧,我真的不想当驸马爷!马县长为了权力,官运亨通,迷信五行八卦等歪门邪说,不断做局,一步步设计各种案件,试图嫁祸给孔家,最后被葛探长识破奸计。在这个最不公平的世界,这里是尽可能公平的城市,当个人力量无限放大,其个人意志也将被无限放大,超能力与科幻结合,废土之上的第九座城市——一切从这里开始。黑暗降临的那一刻,全世界陷入了混乱……一名特战老兵面对凶残的变异者凭借一把消防斧杀出了重围,行走在满目疮痍的大地,他的伤口在慢慢结痂,基因序列在重新组合,一切才刚刚开始…… 我是谁?却落在遗忘世界,我叫天铭?却没有更多的记忆。随着神境世界14岁少年天铭混沌之心的觉醒,开启了修神,为了活下去,只有变得更强,也为了找回真的自己,也为了天家的光荣,也为了却姬聿神帝的心念,道途坎坷,终至人间。 我叫李响,江湖外号李大炮 【佛祖,不好了!李大炮那厮来灵山了。】 【无妨,区区大炮而已。】 【可是,他是扛着核弹来的......】 【。。。。。。】神与仙的比拼,妖与魔的碰撞,机器与人的厮杀,这里有最神奇的大陆,有最热血的青年,有最精彩的战斗, 让云岚带你开启星空的纪元之旅。
凹凸CP故事集 七元剑神 傲世,修罗神 凭什么到我穿越就是大青虫 双剑魔 人中九点:九梦时歌 灵气复苏:我回收超级加倍 八十锤 剑久 扯淡:系统随机给我换身体 魔书莫邪 血色的路途 这个修仙者喜欢作死 出生即碾压无数天骄 师叔亿点强,师侄们全是气运之子! 末世回归者 我真没想当男主啊 异世界的传奇之旅 普苍 镇洪渊 说说自己的作文三年级 我喜爱的天气高中作文400字 童话作文儿300字 我的暑假收获作文400 说说自己的作文三年级 四年第八单元4百字作文 我的妈妈的爱作文350字 松江2017语文二模作文 暑假生活的作文600字 同学友谊的作文五百字 图片英语作文节约用水 我的闹钟样子作文400字 我爱作文600字初中作文 我喜爱的天气高中作文400字 随意作文1000字 我的什么什么作文500字作文 我的妈妈的爱作文350字 暑假生活的作文600字 童话故事作文六年级400字作文大全 他(她)真漂亮作文450字 我喜爱的天气高中作文400字 书奋斗的名义作文 树立工匠精神作文 数学成绩分析反思作文 我喜欢的一个同学作文400字作文600字 我爱作文600字初中作文 暑假生活的作文600字 树立工匠精神作文 童话故事作文六年级400字作文大全 暑假生活的作文600字 我的什么什么作文500字作文 我喜爱的天气高中作文400字 暑假趣事篇500字作文 他(她)真漂亮作文450字 我看考试300字作文怎么写 我的什么什么作文500字作文 暑假趣事篇500字作文 童话作文儿300字 我爱作文600字初中作文 书奋斗的名义作文 四年级大园七作文 童年的趣事作文30字 我和 我爱唱歌朋友作文 我的闹钟样子作文400字 数学成绩分析反思作文 我喜爱的天气高中作文400字 我的闹钟样子作文400字 四年级大园七作文 数学统计图作文 我最好的朋友舞蹈作文 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 隐忧悄悄 轮回相杀 人味 我在仙界有个爹 昴日星君传 皇冠登3出租 澳门葡京游戏官网 澳门葡京官网 皇冠登3出租 亚星官网 说说自己的作文三年级 我的闹钟样子作文400字 数学统计图作文 暑假生活的作文600字 四年级大园七作文 他(她)真漂亮作文450字 五句话描写桂林英语作文 我看考试300字作文怎么写 数学成绩分析反思作文 树立工匠精神作文 四年级大园七作文 图片英语作文节约用水 图片英语作文节约用水 我的什么什么作文500字作文 我看考试300字作文怎么写 童话故事作文六年级400字作文大全 树立工匠精神作文 我的妈妈的爱作文350字 图片英语作文节约用水 说说自己的作文三年级 四年第八单元4百字作文 随意作文1000字 松江2017语文二模作文 我的妈妈的爱作文350字 我的暑假收获作文400 同学友谊的作文五百字 暑假趣事篇500字作文 图片英语作文节约用水 我喜欢的一个同学作文400字作文600字 我看考试300字作文怎么写