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"
昆山企业网站设计朝鲜 网络安全网络营销设计方案网站建设优化服务如何顺德营销网站设计啥是营销机构关于网络安全基线网络营销有什么策略个人网络安全的重要性信息安全认证审核员长生库,一个存在了数千年的当铺。 它存在的虚拟之间,只和有缘人相见。 只要你能找到它,无论你想实现什么样的愿望,在这都可以实现。 长生库什么都可以典当,包括你的气运、寿命、人体性能以及下辈子等等。 关落,一个准大学生,父母就在他眼前遭人迫害,阴差阳错中关落成为长生库的主人……人生不止有眼前的苟且,仔细看,还有更远的...... 读者群:913285821半人半妖的他;提着修罗魔刀,踏上尸山血海的修罗路,一刀,一式,一人,灭魔,诛神,斩天道。豺狼当道,虎豹环视,一招不慎,便是万劫不复;心不狠,站不稳,杀伐果断,只为无上权力。身份成为机密,新的身份扑朔迷离,是敌是友,安能辩我。明朝末年吏治败坏,山西、陕西、河南等地重大自然灾害不断,民大饥不能活,关外女真崛起,多次入关劫掠。 大明境内狼烟四起,明失其鹿,天下共擒之,一个医生穿越到明末成为庶子,庶子也风流,张景开始他精彩的擒鹿之旅。 东晋末年,神州陆沉,南北分裂,在这个遍地腥膻,豺狼虎豹横行的乱世中, 他应运而生,挺身而出! 他驱除胡虏,恢复中华,立纲陈纪,救济斯民!百万大军阵前,他临危不惧,面不改色; 士族门阀面前,他八面玲珑,从不妥协; 而对于地位低下的黎民百姓,他反而秋毫无犯,爱民如子。 他就是东晋最后一个军阀,徐骁,徐宗文。 且看他在晋末这片乱世中如何叱咤风云,纵横捭阖?在乱世之中,李泽的天赋与才干展现得淋漓尽致。可兰萱始终是他心中的痛。人家穿越都是直接氪金加点,装逼打脸,一步登天。 马致远却只能靠着一块简陋到极致的面板,在华山上努力的修炼着。瓦伦里安大帝登基后,他希望帝国军民与游骑兵们能和谐地共处,但长时间的仇恨岂能就此罢休?在帝国的人民们相互仇视之时,暗流,开始涌动……
工信部 信息安全中心 贵阳响应式网站开发 网络安全和软件开发 营销北京 李苏杰的网站营销 网络安全架构方案 网站营销公司 设计网站的软件 2015.6.1网络安全主题 网络营销课程的ppt 干扰咨询【www.richdady.cn】 前世老公的识别方法【www.richdady.cn】 孩子学习不好的家庭教育咨询【www.richdady.cn】 缺心眼咨询【www.richdady.cn】 干扰对人的心理影响【www.richdady.cn】 前世老公的咨询技巧咨询【www.richdady.cn】√转ihbwel 头脑混沌的环境影响咨询【www.richdady.cn】√转ihbwel 投资项目咨询【企鹅383550880】√转ihbwel 公司破产的环境影响咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 孩子学习不好的原因分析【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 投资项目的财务规划【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 无形干扰的原因分析【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 家庭关系的自我提升咨询【微:qq383550880 】√转ihbwel 头脑混沌时如何提高注意力咨询【企鹅383550880】√转ihbwel 什么原因意外的前世影响咨询【企鹅383550880】√转ihbwel 孩子厌学的原因分析【σσЗ8З55О88О√转ihbwel 学习成绩差的案例分享威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 感情纠纷的前世因果咨询【σσЗ8З55О88О√转ihbwel 财运不佳的改运技巧咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 婴灵的超度流程【企鹅383550880】√转ihbwel 营销平台 酒店网络安全 4r营销书 网络营销的作用和职能 营销促销案例分析 关于网络安全基线 网络营销计划书 北京做网站公司 嘉兴网站制作 触屏版网站开发 网站设计 深圳 网站推广教程 网址制作网站 网络安全服务标准 信息安全审计内容,-1 网络安全审计系统实施步骤 网络信息安全领导小组 上海高端网站开发 李宁网络营销策划书 嘉兴网站制作 网络信息安全学什么,-1 手机网站分享信息安全等级测评报告案例 特色营销的要素 厦门全网营销 网络营销策划书结构 商务网站制作公司 网络安全 指导原则 上海高端网站开发 网站设计 深圳 上海网络公司网站 网站营销公司 首例网络安全法 注册信息安全员证书 信息安全产品与方案 网络营销有什么策略 华企立方网站 个人网络安全的重要性 网络安全和软件开发 如何设计网站域名 营销平台 省网络安全和信息化领导小组办公室 网络安全事件2017 广州定制网站设 酒店网络安全 销售与营销 网络营销策划书结构 西安非营销类公司 中国信息安全网组长 营销北京 广州定制网站设 4.29网络安全eid 河池网站建设 网络安全概述 ppt 信息安全审查 网站营销公司 营销促销案例分析 信息安全工作组 网络信息安全实验室 信息安全专家证书 网站主页怎么做 网络营销有什么职位 学网络营销学费多少钱 工信部 信息安全中心 网络营销计划书 互联网营销公司有哪些 如何建立信息安全标准 信息安全产品与方案 4.29网络安全eid 注册信息安全人员 内部列表email营销 营销促销案例分析 关于网络安全基线 网络营销计划书 建设网站具备的知识 信息安全是程序员吗 触屏版网站开发 网站的网页 郑州网站设计专家 广东网络公司营销排名 李苏杰的网站营销 北京邮电大学 信息安全中心 营销北京 网站推广教程 学网络营销多钱 厦门全网营销 十大网络营销案例ppt 贵阳网站设计 信息安全师考试科目 中国民航大学信息安全测评中心 贵阳营销型_网站建设 网络安全服务标准 顺德营销网站设计 高端的网站 网警提示信息安全 东阳网站建设 网络信息安全趋势图 网络信息安全入门 网络安全架构方案 网络安全审计系统实施步骤 网站推广教程 网站添加视频代码 提供石家庄网站推广 信息安全师考试科目 网络信息安全领导小组 网络信息安全趋势图 如何设置网站图标 为什么信息安全学费高 上海高端网站开发 厦门响应式网站制作 网络营销设计方案 公安部网络安全应急 北京做网站公司 昆山企业网站设计 山东网站建设 娃哈哈营销市场分析 上海信息安全管理中心,-1 网络推广营销公司 郑州做网站的外包公司 信息安全审计内容,-1 办公室 信息安全工作职责 贵阳网站设计 360杯全国大学生信息安全技术大赛 4r营销书 首例网络安全法 网络安全等级保护级别? 酒店网络安全 中国信息安全网组长 郑州网站设计专家 做生意的网站 聊城集团网站建设多少钱 李老师谈营销 全网市场营销有限公司 网站大小 宜昌网站制作 注册信息安全人员