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"
仰卧起坐比赛作文经过关于播种的高中作文五年级作文亲身经历的一件事500字童话作文小蜗牛旅行记英语作文最后一句话仰卧起坐比赛作文经过以真正的价值为观点写篇作文五年级作文亲身经历的一件事500字80字介绍中国民间传统的作文书的作文150字家长描写孩子的作文五年级作文亲身经历的一件事500字赤峰历年中考英语作文题目家长描写孩子的作文下暴雨的四字成语作文书的作文150字helping英语作文怀念()的日子作文英语作文最后一句话好作文以中秋节的夜晚为题寒假春节体会800字作文怀念()的日子作文80字介绍中国民间传统的作文写我班的优秀生作文300字长城英语作文文40字运动会英语作文开头长城英语作文文40字写我班的优秀生作文300字好作文以中秋节的夜晚为题赤峰历年中考英语作文题目一名普通职业经理人,意外魂穿到民国,成为一名军统特工,没有金手指,凭借前世的信息,依靠自己的知识并不断地学习、成长,在风云变幻的时代中为国家,为民族贡献自己的力量,并创造了一段段精彩的特工传奇……平平淡淡的日子永远不会到来吗? 这个世界会有不可思议的事情发生吗? 我到底要以怎样的方式去活着,他们到底是人还是“鬼”穿越末日世界,人类苦苦挣扎求存,陈枫却意外觉醒末日游戏系统,开启了不一样的末世体验。 别人面对怪物,东躲西藏,恐惧不安,陈枫却开启了刷怪模式; 别人辛苦锻炼,提升能力,九死一生,陈枫只要动动手指,能力全满; 别人为了物资,出卖一切,收获甚微,陈枫只要打怪,就能爆出来。 陈枫把异世九头蛇踩在脚下,“我今天只想吃蛇羹,你可别不识抬举!”法斯特从霍格沃兹毕业后与自己的好友鲍克斯、兰一起探险魔法世界。当一行三人探索魔法古墓时,兰受到了护陵诅咒。这种诅咒非常残忍,当被诅咒人三十岁时就会自燃化为灰烬。鲍克斯和法斯特走遍大街小巷,黑林深处却都无功而返,唯有求助魔法部的帮助,故事便从这里开始……重生在了天道即将崩溃,鸿钧三清远走寻到,天地王母受援以进,现代科技飞速发展,对于修行却是半开放的世界,江屹煊被选为了复苏天道的棋子。 对于这些,江屹煊有话说:“我只想把仙丹当糖豆,把八九玄功当炼体术,让亲人无病无灾。用真火来炒菜,用灵泉当家庭饮用水,让石材释放出它最美味的口感。对于复苏天道什么的,谁爱作谁作,我没兴趣!”扎纸匠,不是玩纸,而是玩人……王富贵一觉醒来发现自己穿越到一个破落户家里,一出门还白捡了个老婆,为了养活一大家子,王富贵不得不想方设法搞钱!设计时装、建造工厂,到后来居然连手机都有了……王富贵就这么成为大夏第一号大富豪,还顺便收个皇帝做小弟!能斩敌人百万雄师,却对她无能为力! 妻!是我的妻!    怨我、恨我、仇深似海! 无论如何弥补,都无法填平,婚前抛弃带给她的蚀心伤害! 这一生,只为获取她的原谅,哪怕是……    每一天都发狂! 天下纷争,大道而追,虽平凡但仍有心怀天下……神明大战,全球穿越,觉醒天赋! 江白开局觉醒神级天赋——万能吞噬! 他可以吞噬一切力量! 捡起地上石子吞噬,获得天赋肉身石化! 吞噬植物,掌控森林之力! 吞噬魔兽,掌控魔兽血脉之力! 吞噬敌人,掌控对方所有战斗技能和天赋! 看江白如何猥琐发育,逐渐无敌于天下。
遍地生花 我在登基典礼上被截胡了? 风云大学 死灵德鲁伊 武震江山 生死狙击学院第二季 旁观过客 震空 江湖潇湘 你的名字我们的姓氏 非狼 全球异化之暗影前驱者 回首这二十年 灵气复苏:异能者的战争 新回家的诱惑 :忆 从满级开始的异世界之旅 小白也有武侠梦 fate new time 圣灵星皇子到地球做大少 家长描写孩子的作文 帮助盲人过马路小作文 仰卧起坐比赛作文经过 80字介绍中国民间传统的作文 家长描写孩子的作文 作文:我也是胜者 仰卧起坐比赛作文经过 关于感谢老师、父母的作文650字 我希望我是一个老师作文 写我班的优秀生作文300字 下暴雨的四字成语作文 下暴雨的四字成语作文 英语作文最后一句话 关于家园的高中作文 我希望我是一个老师作文 赤峰历年中考英语作文题目 关于感谢老师、父母的作文650字 五年级作文亲身经历的一件事500字 中考成败的经历作文 五年级作文亲身经历的一件事500字 作文:我也是胜者 五年级作文亲身经历的一件事500字 中考成败的经历作文 怀念()的日子作文 书的作文150字 成都作文成长 帮助盲人过马路小作文 关于播种的高中作文 中考成败的经历作文 运动会英语作文开头 英语作文最后一句话 我希望我是一个老师作文 童话作文小蜗牛旅行记 仰卧起坐比赛作文经过 写我班的优秀生作文300字 长城英语作文文40字 童话作文小蜗牛旅行记 helping英语作文 写我班的优秀生作文300字 下暴雨的四字成语作文 长城英语作文文40字 它变了作文 把 甩掉作文 关于家园的高中作文 家长描写孩子的作文 我希望我是一个老师作文 小学六年级第八单元作文 六百字 长城英语作文文40字 成都作文成长 再见老师作文 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 我有修行加速器 JOJO之决战之地DIO篇 屌丝道士的异闻录 天命劫祸 武林公敌 百度 百度 百度 百度 百度 家长描写孩子的作文 再见老师作文 我希望我是一个老师作文 英语作文最后一句话 书的作文150字 成都作文成长 把 甩掉作文 好作文以中秋节的夜晚为题 小学作文我是个有力气的孩子 作文:我也是胜者 赤峰历年中考英语作文题目 中考成败的经历作文 帮助盲人过马路小作文 赤峰历年中考英语作文题目 长城英语作文文40字 关于播种的高中作文 关于感谢老师、父母的作文650字 80字介绍中国民间传统的作文 小学作文我是个有力气的孩子 作文:我也是胜者 关于播种的高中作文 五年级作文亲身经历的一件事500字 童话作文小蜗牛旅行记 下暴雨的四字成语作文 运动会英语作文开头 赤峰历年中考英语作文题目 关于家园的高中作文 关于感谢老师、父母的作文650字 成都作文成长 关于感谢老师、父母的作文650字 亚星官网 亚星官网 万利官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网