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"
沈阳做网站公司网站建设品牌推荐网络营销产品的概念关于网络营销的调查网络营销服务外包苏州做网站推广的公司哪家好网站类型有娱乐营销的优点新闻稿营销网络营销的最新特点如何免费建立网站奇幻人设+科幻世界会碰撞出怎样的火花?源自近来比较火的一个创意——串烧,背景直接取自笔人从前的作品,延续了近几年的某个游戏世界观,无界限,勿喷。无尽宇宙,无尽虚空,世界的尽头如何,没有人知道。几万年在时光洪流中也不过是弹指一挥间,一切的繁华落尽皆归于尘埃黄墚一梦终须醒,无根无极本归尘。 金龙飞天归何处,不如凡间做真人。 最终章将梦醒作为结局,人生如戏,南柯一梦。岚枫死后穿越修仙世界,发现金手指系统竟会吃修为。张强大学刚毕业就发生了父亲车祸死亡,有人利用家事躲避追责逃往国外,张强获赔一个废弃金矿,前往淘金时意外获得天外来物,来自M78星系的采矿飞船辅助系统,一步步收集能量,一步步制造科技,一步步强化身躯,炸R国神厕,灭M国黑宫,协助中国统治地球同志银河系!皇帝倒台后,各地军阀割据,民不聊生。货郎一家五兄弟各自走上不同的道路,老大小货郎一步步逐渐做成大生意,开的分号遍及周边。鼎盛时期竟然可以自己发行小区域流通货币。 老二在家务农种田。老三更是成为一代当地名医。老四和老五分别参加了不同的对立双方,直至把枪互相。怎样抉择?敬请阅读本书在未来的世界,人们改变了许多的生活方式,这时一个新的时代。一家公司掌握了人类意识的复制转换以后,人类的生死定律被打破,但是同时弊端也逐渐开始显露... ...一花一叶一少年,清风徐来半月阁! 千树万树终落叶,寻的半生安稳来!宋帝都临安府爱国人士:吴俊振,与用时光机穿越过来的现代大学生:马维,两人一起被龙卷风漩涡黑洞带着,穿越到了明崇祯十六年公元1643年兴都留守司显陵卫境内,在机缘巧合之下他们俩主动应征入伍参军,从此开启一段帮助大明帝国收复失地的旅程,本文群号799968110秦,原名姬玄惊(字:云帆)本是一位贫困的农家少年,直到有一天他被接去无双王朝的天下城,他才得知自己的身份——天下城城主私生子。因这一重身份,受尽凌辱、招受摧残。16岁时,母亲逝后脱离无双王朝,成了一名剑客...他与兄弟开辟新王朝、斩尽天下一切敌,唯独没有斩去人心。他开辟新时代,拯救亿万众生,唯独没有拯救自己。
网站建设可以帮助企业 网站防复制 福州建网站 做网页 打造国内最权威的包装行业网上营销平台! 信息安全屏保图片 大学 网络安全治理 网络营销的物流问题及对策 rsa信息安全公司 打造国内最权威的包装行业网上营销平台! 品牌网站设计 邪灵的定义与特征咨询【www.richdady.cn】 前世缘份的前世记忆【www.richdady.cn】 迟缓儿的案例分享咨询【www.richdady.cn】 外灵的预防措施【www.richdady.cn】 头脑混沌【www.richdady.cn】 不爱读书的咨询技巧咨询【www.richdady.cn】√转ihbwel 莫名其妙感伤的自我提升【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 解梦的前世影响咨询【企鹅383550880】√转ihbwel 去世的母亲的前世解析【企鹅383550880】√转ihbwel 前世老公的前世记忆【微:qq383550880 】√转ihbwel 投资项目的财务规划咨询【www.richdady.cn】√转ihbwel 感情纠纷的情感调解威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 迟缓儿的咨询技巧咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 特殊学校的教育理念咨询【微:qq383550880 】√转ihbwel 前世缘份的前世故事咨询【微:qq383550880 】√转ihbwel 冤亲债主干扰的化解仪式【σσЗ8З55О88О√转ihbwel 外灵的驱除方法威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 化解祖灵的仪式流程咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 耳鸣的原因及治疗方法咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 婴灵的超度流程咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 北京启明星信息安全技术有限公司 北京网络营销博客 外贸网站制作 设计网站多少费用多少 信息安全服务资质一级 信息安全测评认证中心 信息安全师等级网络安全预警方案 网络信息安全范畴 营销推广的功能 网站改版完成 网络安全实验平台 广东省网站建设 公司网站维护怎么做 网络广告整合营销 北京网络营销博客 信息安全与保护 营销策略价格策略 专业网络营销整合服务商 哪个标准用于信息安全 网站改版完成 无锡微信手机网站制作 网站改版完成 信息安全等级策略,-1 网站办公室 公司网站维护怎么做 网络安全检测办法 在线营销 网络安全检测办法 网络营销是不是seo 如何免费建立网站 昆明网络推广营销 潍坊网站建设 有关风水的网站建设栏目 网站防复制 678营销系统账号 吉安做网站 网络安全动态分析 网络安全宣传周ppt 微博营销成功的原因 建设网站团队 品牌网站设计 昆明网站建设费用 网络信息安全范畴 关于网络安全基础知识 关于网络营销的调查 内容营销的原则 线条类网站 昆明网站建设首选公司 孝感网站建设 全国大学生信息安全竞赛成都 模板网站不利于seo吗 设计网站多少费用多少 六盘水网站建设 网络安全攻防专业方向 网络营销服务外包 信息安全服务资质一级 福州建网站 做网页 孝感网站建设 信息安全测评认证中心 打造国内最权威的包装行业网上营销平台! 网络安全检测办法 2017信息安全峰会 网站办公室 网站办公室 外贸网站制作 模板建站影响网站的优化排名 信息安全与保护 汽车营销策划的案例 常州品牌网站建设 徐州建网站 天津网站设计 网络安全平台2017 昆明高端网站设计 如何网络营销 joomla 2.5:你的网站建设使用与管理 下载 电商网站设计 python信息安全 网络安全检测办法 模板网站不利于seo吗 网络营销的最新特点 上海有名的做网站的公司 专业网络营销整合服务商 网络营销服务外包 北京网络营销博客 南昌网站设计资讯 信息安全专业... 信息安全保护等级认定机构名单 网络安全技术培训 网站建设可以帮助企业 传统营销的理论基础 吉安做网站 南昌网站设计资讯 公司网站与营销网站信息安全竞赛时间 线条类网站 678营销系统账号 678营销系统账号 网络安全平台2017 佛山网站制作 营销推广的功能 网络安全产品解决方案 昆明网络推广营销 互联网信息安全事件,-1 四川省网络安全报警 网站建设收费标准报价 外贸网站制作 娱乐营销的优点 苏州做网站推广的公司哪家好 北京网络营销博客 美国信息安全博士 信息安全保护等级认定机构名单 哈尔滨做平台网站平台公司 设计网站多少费用多少 酸奶网络营销 虹口专业做网站 北京网络营销博客 2016国家信息安全政策 建设网站团队 怎么做网站信息 北京启明星信息安全技术有限公司 营销型网站报价 网络营销英文ppt 昆明高端网站设计 网站防复制 建设网站团队 企业网络整合营销公司 互联网信息安全要求信息 信息安全研究机构排名 有关风水的网站建设栏目 网站建设收费标准报价 joomla 2.5:你的网站建设使用与管理 下载 吉安做网站 网络安全动态分析 无锡微信手机网站制作 微博营销是一种新兴营销方式。 网络安全风险感知