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"
网站的服务网络安全信息共享法案信息安全等级保护 测评,-1信息安全服务包括网站有几种关系营销与互联网网站制作公司 深圳邢台网站建设信息安全管理体系是指:,-1网站兼容问题学校网站制作林耀被老头子暗中定下婚事,本想下山退婚,但当看见未婚妻本人时,他态度发生一百八十度转变:“我的媳妇,竟然是冰山女神……”从上个世纪八十年代到本世纪二十年的,四十年的半州,已经经过了风风雨雨。四十年河东,四十年河西。人,只有慈悲心,感恩心,恭敬心,才能善终。 作为最后一人的宿命随着穿越时空一起到来到这个少年的身上,想要孤独的活下去,还是将这一切都终结,找到未来和现在都能够活下去的路!一出生便被命运束缚的少年,被迫选择一条不喜欢的道路,为了生存,他义无反顾,一路跌宕起伏,且看他传奇的一生刀光剑影何处问,自在江湖山野间。她是灵域大陆的主宰,也是万物灵力的继承者。她通过历练结识许多朋友,但她历练过程留下诸多遗憾,许多帮助过她的朋友都不幸殒灭。在修成正果继任主位时,提出转生三世的要求,去弥补遗憾,完成心愿。转生后的她与前世渊源之人缔结缘分。可她始终是大陆主宰,不能拥有太多感情,也无法承载。。。但命运多舛,她到底有什么奇遇呢。。。。人生不止有眼前的苟且,仔细看,还有更远的...... 读者群:913285821书写西汉一代战神卫青的传奇一生。独自前往国外留学的体育生凌云,在一次英雄救美后,意外激活了一个逆天的系统,开始了自己称霸篮坛之路!!!  21世纪的是一个第一次接触魔兽争霸的业余玩家,变身绿皮兽人,掌控兽族大厅。   拥有精湛剑术的剑圣   深受萨尔信任强大的萨满祭司   战场上的他们英勇无畏,总是身先士卒,挥舞着战戟横扫敌军的牛头人酋长   行踪神秘、足智多谋的暗影猎手   何解以族长之名,踏上复兴兽族的征程
重庆网站制作 网站备案幕布照规范 网络营销策略术语 网站建设报价 苏州网络营销哪家好 网站页码 蚌埠网站建设 达内网络营销有用嘛 中国信息安全法律网 西安网站建设制作价格 性压抑的前世记忆咨询【www.richdady.cn】 缺心眼的沟通技巧【www.richdady.cn】 不爱读书【www.richdady.cn】 前世缘份的故事有哪些案例?【www.richdady.cn】 前世缘份咨询【www.richdady.cn】 事业发展瓶颈突破咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 心慌胸闷头晕的解决方法咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 财运不佳的财富转运【企鹅383550880】√转ihbwel 家宅磁场的检测工具【微:qq383550880 】√转ihbwel 感情纠纷的改运方法咨询【www.richdady.cn】√转ihbwel 有官司的解决方法咨询【www.richdady.cn】√转ihbwel 前世今生的轮回有哪些科学依据?咨询【σσЗ8З55О88О√转ihbwel 解梦的心理学意义威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 冤亲债主干扰的前世因果【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 财运问题在线咨询【www.richdady.cn】√转ihbwel 查财运专业服务【σσЗ8З55О88О√转ihbwel 亲子关系的教育策略有哪些?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 冤亲债主的干扰解决方法【www.richdady.cn】√转ihbwel 公司破产的原因分析【www.richdady.cn】√转ihbwel 孩子不爱读书的应对策略威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 微信辅助网站制作 中国信息安全认证中心在职人员 重庆网站制作 佛山网站制作 什么是营销型手机网站建设 昌平网站设计 网络安全检测评估报告信息安全讲解视频下载 合川网站建设 运营商网络安全 台州高端网站建设 网络安全培训新闻稿 虎门做网站 网络营销的 书籍推荐 网站建设协议 网站建设报价 免费建立自己的网站 公司网站的制作公司 营销综合实践教学平台 苏州网络营销哪家好 网站如何优化 沈阳建设公司网站 昌平网站设计 网络安全检测评估报告信息安全讲解视频下载 合川网站建设 运营商网络安全 台州高端网站建设 网络安全培训新闻稿 虎门做网站 网络营销的 书籍推荐 网站建设协议 故事性营销软文 网络科技营销策略 福州专业做网站的公司 营销服务商 分析盛大网络公司网络营销发展现状网络营销中存在的问题及其原因 病毒营销互联网案例 网络信息安全 应急 表 网站建设报价 网络安全盒子 idc网络安全报告 信息安全防护规范 杭州营销型网站 公安局网络安全设备社交网络营销 山西网站制作公司哪家好 网络安全与中国方案 微信辅助网站制作 免费建立自己的网站 虹口专业做网站 如何做好微信群营销方案 网站如何优化 电脑信息安全文件,-1 微信社群营销工具 卓进网站 加强信息安全管理 山西网站制作公司哪家好 南宁网站公司 个人注册网站.com网站主题和风格 重庆整合营销网站建设 12月网络安全大会 网络营销的主要职能 手机app网站 营销综合实践教学平台 东营有网站 安徽省网络安全专家 网站建设报价 建p2p网站 营销免费 浦东新区网站建设 网站制作公司 深圳 BBS营销 苏州网络营销哪家好 电脑信息安全文件,-1 饥饿营销最成功的 网络安全盒子 虎门做网站 西安网站建设制作价格 佛山网站制作 信息安全管理体系是指:,-1 网站如何优化 手机app网站 公司网络信息安全,-1 网络营销免费网站 网络科技营销策略 营销推介绍 网络安全培训新闻稿 精准营销代理公司 专题网站建设 网站建设营销技巧 西安网站建设制作价格 网站的尺寸 网站建设收费标准报价 达内网络营销有用嘛 www的网站怎么申请 网站作用 网站页码 搭建网站 BBS营销 北京网络安全招聘 2016信息安全培训 微营销真的假的 青岛网站建设迅优 网络安全检测评估报告信息安全讲解视频下载 北京b2c网站制作 合川网站建设 番禺网站优化 网络信息安全 应急 表 php网络安全 电子营销 网站备案幕布照规范 公安局网络安全设备社交网络营销 病毒营销互联网案例 www的网站怎么申请 海尔品牌的营销策略 成都网站开发公司排名 网络安全信息共享法案信息安全等级保护 测评,-1 网络营销不等于电子商务.( ) 企业的信息安全管理水平 成都网站创建 国家信息安全漏洞库(cnnvd)承办的"后xp时代"安全技术研讨会 网络信息安全法2017 电子营销 湘西网站建设 织梦(dedecms)网站不同自定义表单提交后的跳转链接怎么修改? 网站前端开发 常州企业网站建设价格 网络安全广告 郑州网络营销策划公司 苏州专业做网站 网络安全检测评估报告信息安全讲解视频下载 网站设计收费明细表 深圳外贸网络营销 信息安全 实验 网站 上海做网络安全的有哪些公司 上海网络营销外包 为企网站