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"
南通网站建设教程北京网站建设公司电话网络安全现状与问题信息安全登记保护制度顺德网站建设市场淡蓝色网站深圳制作公司网站富锦网站网络营销的作用认识网站与与云的关系 “老子不干了,我要去度假,你爱怎么管就怎么管&amp;quot;“可是老板…&amp;quot;还没等时空鸡说完小金刚就插上话:“那你就是代理老板了,给我管理好这个时空,我直接摆烂就是玩&amp;quot;说完小金刚傅便穿越时空,只留下时空机在那呆呆地站着长生路上行人少,只是仙客与道家 一个平平凡凡的普通人,发现自己突然来到了一个神秘莫测的修仙世界,好在他的丹田内,有一块神奇的玉佩。 且看吕乐如何一步步逆流而上,最终飞升上界。平平无奇的30岁青年厉青因救人重生回到高中时代,又获得了能力复制系统。回想起那些毁了他的生活,让他日夜挣扎在水火之中的人们…… 我要亲手断送,你们的未来!开局反夺舍成功,从精神病院逃出来。 什么?蓝星现在解开了人体枷锁,只要锻炼就能变强? 那先来2000个俯卧撑! 从今以后,请叫我一拳超人!林辰用短短三百年时间,成为仙界最年轻的仙帝,却遭三大老牌仙帝联手围攻,同归于尽。 未曾想重生回到少年时的蓝星,这一世他将不再留有遗憾,有怨报怨,有仇报仇! 修仙之路也将更加势不可挡!这人间如果没有你, 还成人间么? 我如果没有你, 就不是我了,我就是恶魔,我要这人间,变成地狱。年轻的边防警察军校成长史,爆笑的军校生活,无畏的禁毒,反恐等打击犯罪的战斗,生动反应了首战用我,用我必胜的豪迈誓言。先帝十一年,紫薇星若隐若现,即大世将至,国运衰败。 道可道,非常道。王朝衰败,必有妖孽降世。 “朕之子出征天下,夺帝运,破死势……”“你说,这个世界上,真的有魔鬼吗?” “当然,你不就是?” “杀人偿命,天经地义啊。”从古至今,从来都是顺天应人,我林阳偏偏要做那那逆者……
富锦网站 信息安全事件等级制度搜索引擎微信与口碑营销 杭州市 网络信息安全 知名信息安全公司排名 网络营销的作用认识 长葛网站建设 网络安全的主要类型 网站申请 济南优化网站 网站建设资料 莫名其妙感伤的前世影响咨询【www.richdady.cn】 性压抑的原因分析咨询【www.richdady.cn】 大龄剩女的幸福指南有哪些?【www.richdady.cn】 忧郁症的预防措施【www.richdady.cn】 为什么过世的心理调适【www.richdady.cn】 前世缘份的续写有哪些方法?咨询【微:qq383550880 】√转ihbwel 与老公前世咨询【σσЗ8З55О88О√转ihbwel 家庭关系的和谐之道【σσЗ8З55О88О√转ihbwel 家庭关系的心理调适方法有哪些?咨询【微:qq383550880 】√转ihbwel 感情纠纷的沟通技巧【σσЗ8З55О88О√转ihbwel 家庭关系的前世记忆咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 大龄剩女的婚姻选择有哪些?【www.richdady.cn】√转ihbwel 耳鸣【www.richdady.cn】√转ihbwel 纠纷的法律援助【微:qq383550880 】√转ihbwel 冤亲债主威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 潜能开发与自我提升咨询【微:qq383550880 】√转ihbwel 事业不顺的咨询技巧咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 暗恋【微:qq383550880 】√转ihbwel 意外的前世影响咨询【微:qq383550880 】√转ihbwel 查财运专业服务咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 信息安全总体方针和安全策略 目前的信息安全形势,-1 白山网站建设 网站收录多少才有排名 信息安全管理三个要素 荆州做网站 南通网站建设 南大街 暗月信息安全论坛 星沙做网站 中山大学营销课程 burp 网络安全题目 网站建设论坛 星巴克场景营销案例 邢台网站制作公司哪家专业 信息安全风险评估模板 网站收录多少才有排名 营销优势和劣势分析法 大连网站建设 网站收录多少才有排名 白山网站建设 信息安全业务现状分析 岑溪网站开发 网站制作 成功案例 国家信息安全意义 重庆最新微信营销方案 中央网络安全管理小组 事件营销是口碑营销? 动态网站 成都网路营销 成都 网络安全 脑白金广告的营销理念 中央网络安全管理小组 局域网网络安全解决方案 淡蓝色网站 网站建设后怎么 广东省网络安全应急 信息安全登记保护制度 信息安全登记保护制度 南通网站建设教程 长葛网站建设 手机网络广告营销策划 开展网络安全认证检测 襄樊做网站信息安全专业学习软件 好三网网站 google 提高网站上的网页在搜索结果中显示的次数 衡水商城网站制作 iso27001国际信息安全是如何描述的 如何建立企业网站 营销学堂 怎么建设网站 网络营销效果报告 网络安全现状与问题 信息安全总体方针和安全策略 营销师网 辽源网站建设 网络安全评级 知名信息安全公司排名 关于用户信息安全 深圳信息安全证明 南通网站建设教程 网站定制与模板开发 网站推广报价 上海网络安全备案 多媒体营销 美团网络营销 哈尔滨网络宣传与网站建设 跨境网络营销 脑白金广告的营销理念 事件营销分类 企业网络营销应用分析 广州市网站网页制作公司 全球网络安全办公室/BG 网站建设后怎么 信息产业信息安全测评中心 成都网路营销 大连网站建设 公共网络安全专项检查 成都 网络安全 网络营销 (第5版) 重庆建网站公司 网站案例库 营销 软件 衡水商城网站制作 星沙做网站 微网站建设资讯 公司网站设计与制作 多媒体营销 好三网网站 广东省网络安全应急 google 提高网站上的网页在搜索结果中显示的次数 营销系统的优势 网站申请 网络营销工具分类 网站与与云的关系 建立http网站 暗月信息安全论坛 外贸网站响应式 专业的营销网站 传统营销的营销渠道 代发营销 北京国际互联网科技博览会暨世界网络安全大会 营销案例专家 青岛营销推广公司电话 网站内容要突出什么原因 广东中山市做网站 微信企业号 移动营销 网络安全现状与问题 南通网站建设 南大街 网络信息安全专家 上海网络安全备案 开展网络安全认证检测 网络营销效果报告 信息安全管理三个要素 代发营销 成都 网络安全 全球网络安全办公室/BG 网络安全的主要类型 杭州信息安全测评 佛山新网站制作特色 微网站的功能 脑白金广告的营销理念 公共网络安全专项检查 济南网站忧化 淡蓝色网站 无锡微信网站定制 长葛网站建设 关于用户信息安全 跨境网络营销 网络信息安全基础知识,-1 手机网站制作机构 信息安全事件等级制度搜索引擎微信与口碑营销 山东大学网络信息安全研究所 知名信息安全公司排名 深圳网站制作公司 济南优化网站