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"
网络营销公司干嘛的哈尔滨商城网站建设2013 年中国互联网网络安全报告重庆建网站国内外信息安全会议怎么利用网络营销佛山微信营销培训益阳做网站嘉兴网站开发喜狗网络安全吗一些变态心理的人,在以犯罪的行为危害着舍会,而重案组遇河搭桥将这些罪犯绳之以法。天空中突然多出了九个太阳,世间的生灵遭受着天灾人祸的折磨,苦不堪言,作为部落联盟领袖的尧领导人们想尽办法来消弭灾祸,但无奈毫无效果,原来这九个太阳是其他邪恶星际文明殖民的阴谋手段。面对着强大的外星科技文明,人类不断探索后,终于在未知力量及羿等人的共同努力下,消灭了天上多余的太阳简介:本该人生平平无为的主角,从一个性格柔弱到脱变成刚毅的成长故事,后来主角从这跌宕起伏的生涯中成就无上荣耀。不是意外,房东东因为幸运而被甄选,却只成为魔法星界的普通居民。设定小目标就是环游魔法世界,见识什么叫快乐星球。然而风云变幻,魔团会、族老会、真理会与皇经会几方势力暗流汹涌,无意身处其中自己也狼狈不堪。既然如此,那便是登上魔法的最高殿堂重权话事,宵小退散。此身合该诗人未?细雨骑驴入剑门! 张霆玉意外穿越修仙世界,怎堪碌碌一生,做个凡人? 入剑门,得传承,竟成剑门老祖,忽悠他人就变强。 谁言仙路崎岖,长生漫漫? 修仙原来这么简单! 古往今来,世间流传仙、神的传说,而时至今日,仙路缈缈,已然进入末法时代。 天空中,有人矗立,乌云压顶、身处雷电中心;海面上,有人漫步而来,由远及近,片刻却又消失不见,这些是海市蜃楼产生的幻觉? 有传言,海市蜃楼是连接另一时空的桥梁,聚现另一个世界正在发生的景象! 神话故事是否虚构,仙、神,真的存在过吗?历史给人的唯一教训就是人们从未在历史中吸取过任何教训!!!说评书的到了异世能干啥?忽悠呗!叶云运气爆棚意外得到一个高纬度制造的次元面板, 并且利用面板走上了穿越诸天万界......人类,妖兽,恶魔,,三种种族出现地球上。但不断的战乱使天使与恶魔几乎灭绝。 而男主王昊天作为魔族后裔背负起振兴魔族的使命。
怎么编辑网站 营销技术支持 网站要什么 厦门市网站建设 信息安全竞赛题库 app 营销方式 益阳做网站 重庆营销型网站设计 开展网络安全认证检测 国内外信息安全会议 阴间生活的前世故事【www.richdady.cn】 前世今生的奇妙经历咨询【www.richdady.cn】 前世今生的轮回存在吗?咨询【www.richdady.cn】 自闭症的心理调适【www.richdady.cn】 前世缘份的重逢故事咨询【www.richdady.cn】 人际关系不好的前世记忆咨询【企鹅383550880】√转ihbwel 亲子关系改善建议【www.richdady.cn】√转ihbwel 特殊学校的环境影响【微:qq383550880 】√转ihbwel 脑部不清晰的生活习惯【微:qq383550880 】√转ihbwel 如何化解冤亲债主的干扰?咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 家庭关系的和谐共建方法有哪些?咨询【企鹅383550880】√转ihbwel 儿子不读书的案例分享【www.richdady.cn】√转ihbwel 婴灵的常见案例【σσЗ8З55О88О√转ihbwel 忧郁症的前世记忆【www.richdady.cn】√转ihbwel 性压抑的前世因果【微:qq383550880 】√转ihbwel 大龄剩女的幸福指南有哪些?咨询【σσЗ8З55О88О√转ihbwel 孩子厌学的环境影响咨询【企鹅383550880】√转ihbwel 耳鸣的咨询技巧咨询【微:qq383550880 】√转ihbwel 老公家暴的应对方法咨询【微:qq383550880 】√转ihbwel 纠纷的解决方法咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 台州做网站seo 2014 信息安全事件 杭州互联网营销 培训机构 网站维护等 实战营销型网站建设 e春秋网络安全实训平台 商丘市做网站的公司 网络安全宣传周活动 网络安全体系技术方案 粉丝通营销 联创营销班 信息安全 国际会议,-1 王老吉的软文营销案例 信息安全等级保护研究 营销系统的优势 企业网络安全部门 广州网络营销 陕西营销型网站建设 江苏 网络安全 2015中国网络安全年 信息安全读研方向,-1 佛山微信营销培训 网警检查网络安全 网站配色方案 对比色 重庆南昌网站建设 佛山网站建设服务器 长沙做网站价格 外贸推广网站 营销群孝感网站建设 江苏信息安全等级保护网 中国国家信息安全部门 课程网站建设 营销新媒体 网站建设公司联系方式 台州做网站seo 企业网站定位 微信网络安全未通过 建立网站需要多少钱 外贸营销推广 手机版免费申请微网站 喜狗网络安全吗 网络营销 (第5版) 网络安全技术大赛 企业博客营销的定位 qq网络安全修复 信息安全技术pdf 青少年信息安全展示中心 长沙做网站价格 成都网站制作设计 网站维护等 网站建设的好处 网站解决方案 e春秋网络安全实训平台 企业如何视频营销策划 查流量网站 信息安全威胁模型 网络营销的战略重点 网站建设优化 营销的要素 网络营销属于什么院系 网络安全沙龙 优化:高效的seo社交媒体和内容整合营销实践及案例 聚美优品事件营销 企业如何视频营销策划 中国移动客户信息安全保护管理规定 网站报价书 喜狗网络安全吗 网站要什么 网络信息安全新方向 重庆最新微信营销方案 国家电网 信息安全,-1 重庆建网站 开展网络安全认证检测 安恒信息安全学院 成都网站制作设计 信息安全管理系统 范围 信息安全竞赛题库 2017年网络安全事故 网站怎么推广 网络安全软件开发 免费教育网站建设 集团网站建设哪家好 网络营销的战略重点 网站制作 杭州公司 沈阳做网站的公司排名 企业博客营销的定位 龙岩网站建设 dns网络安全 网站制作 杭州公司 益阳做网站 大连信息安全公司 塘厦做网站关于网络安全的常识 广东信息安全协会 2014 信息安全事件 营销群孝感网站建设 企业博客营销的定位 北京信息安全培训 如何建立自已的购物网站 开展网络安全认证检测 最好的网站模版 信息安全 国际会议,-1 网络营销属于什么院系 商丘市做网站的公司 网络营销的战略重点 最好的网站模版 网络安全态势感知架构 360搜索网络营销 江苏信息安全等级保护网 经信委 信息安全.,-1 e春秋网络安全实训平台 网络信息安全散文 网络营销属于什么院系 益阳做网站 网络安全播报 信息安全保密专业大学 信息安全威胁模型 互联网热点营销 龙岩网站建设 陕西营销型网站建设 开展网络安全认证检测 信息安全威胁模型 粉丝通营销 网警检查网络安全 网站建设的好处 粉丝通营销 网站设计 广州建永久网站 信息产业信息安全测评中心 信息安全管理系统 范围 微信网络安全未通过 网络营销师的认证考试 塘厦做网站关于网络安全的常识 虚拟化网络安全技术 2017年网络安全事故 上海专业做网站公司电话 网络安全公司排名