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"
营销策划的学校网络与信息安全单位网络安全预案非经营网络安全审计系统营销推广方案线上线下采用模版建网站的缺点使用网络安全的公司南通做网站网络营销实训二广州做网站的上至神界,下落黄泉,我有一剑,屠神戮仙! 万界之中,种族无数,强者为尊,在帝劫中身殒的剑神苏平,转生成大夏青风城苏家弟子。阴谋诡计、魑魅魍魉,我以手中剑,斩尽眼中不平事!待我重临巅峰之日,但问一句:此剑锋利否?传闻修道之人的道行达到通天之时,便可以窥视天机,甚至改变未来,而我,正是其中最为强横的一派,大阴阳神术的继承人,陈宇!且看我如何统一北方道门,成就道尊之名!化上亿为百万,浓百万于万言,萃万言成千字。又重铺垫展开,改过自新。我死了,我又活了,我要复仇讲述了我自己的真实故事,希望大家喜欢一个神奇的游戏,一次穿越时空的冒险,一个奇异的游戏时空,不可思议冒险。所有的历史人物齐聚于此,展开一场生与死的厮杀公元2068年的科学家林峰,刚研制出一种逆天的转基因药丸,还没来得及服用,就被一道闪电劈中,灵魂穿越到滕青大陆,走上了修炼的道路,一路修行,不断突破,终于从一方宇宙中超脱出来,成为一方无敌届主。。。。。为了男人的承诺,萧晨强势回归,化身美女总裁的贴身保镖,横扫八方之敌,谱写王者传奇!   他——   登巅峰,掌生死,醒掌天下权,醉卧美人膝! —————— 小舞的微信公众号:寂mo的舞者,可以去关注哦! 小舞的QQ:1589045849,可以去加好友! 唯舞独尊①群:545765633!   十年武当之旅,到底是为什么? 父母又去了哪里? 那深邃的黑暗,通向哪里? 立在天地之间的那块石碑,是守护,还是入侵?一天晚上我的小女朋友想要我打电话给她讲故事,于是我便随口编纂了一个关于熊猫的故事,可没曾想第二天早上我竟变成了一只熊猫!!!在这之后我作为一只熊猫称霸世界的传奇故事就开始了......
信息安全竞赛干什么 智能制造网络安全 网络营销实训二 后期网站 蚌埠网站建设 合肥做网站域名的公司 卓进网站 网站有几类 网站与网页 遵义网站优化 强迫症的案例分享【www.richdady.cn】 亲子关系的情感交流方法有哪些?咨询【www.richdady.cn】 孩子不爱读书的阅读习惯【www.richdady.cn】 强迫症的心理调适咨询【www.richdady.cn】 暗恋的原因分析咨询【www.richdady.cn】 前世老婆的前世缘分咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 与公婆前世的前世解析【企鹅383550880】√转ihbwel 儿子抑郁症的症状与诊断咨询【www.richdady.cn】√转ihbwel 什么原因意外的心理调适【www.richdady.cn】√转ihbwel 老公家暴的案例分享【σσЗ8З55О88О√转ihbwel 孩子学习不好的环境影响咨询【www.richdady.cn】√转ihbwel 脑部不清晰与生活习惯的关系【σσЗ8З55О88О√转ihbwel 强迫症的环境影响【微:qq383550880 】√转ihbwel 与公婆前世的记忆解析【企鹅383550880】√转ihbwel 意外事故的预防措施咨询【微:qq383550880 】√转ihbwel 如何预防过早离世咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世今生的轮回有哪些科学依据?【σσЗ8З55О88О√转ihbwel 事业不顺的解决之道咨询【微:qq383550880 】√转ihbwel 冤亲债主干扰的案例有哪些?咨询【微:qq383550880 】√转ihbwel 大龄剩女的婚恋困惑如何解决?咨询【企鹅383550880】√转ihbwel 网络信息安全与大学生 邮件营销中国 电子商务网络营销产品策略为什么要充分考虑产品的性能的试题及答案 营销策划的学校 专业的网站开发公司 信息安全力量配置 深圳营销 网络安全技能竞赛的内容 网络安全病毒 网站建设营销技巧 关于网络安全的 开发网站用什么语言 信息安全保障体系概述 合肥做网站域名的公司 摄影网站建设 网络营销都有哪些平台 高端网站建设 信息安全竞赛干什么 网络信息安全主动防御 德州网站建设 app/网站建设 邮件营销中国 商洛网站建设 家居企业网站建设平台 网络信息安全是一个动态的概念 网吧网络安全 cms企业网站 云南省信息安全测评 网络信息安全防护体系 市南区网站建设 合肥做网站域名的公司 企业建网站多少钱 网络营销的营销渠道 网络信息安全技术措施 营销切入点 市南区网站建设 给 小企业 建设网站 信息安全集成 有哪些 网络安全入侵步骤 信息安全管理体系实施案例及文件集 开发网站用什么语言 网站建设营销技巧 网站有几类 网络与信息安全 平台化营销 深圳营销 信息安全第五 空间 信息安全分级保护级别 网络安全常用知识 广州网站建设公司 精准营销代理公司 网页制作淘宝网站建设 关于网络安全的 友情链接式营销 营销切入点 重庆广告营销培训 好的免费网站建站平台 你所采取的网络安全操作或者你所知道的操作建议(不少5个建议) 东莞做网站的公司有哪些 有关互联网网站 网络营销实训二 苏州外贸网站制作 网络信息安全技术措施 后期网站 网站建设营销技巧 网络营销案例视频 唯品会营销在哪里找 闵行网站建设 欧盟网络安全法律 单位网络安全预案 邮件营销是无效的 粉丝网站制作 下载建网站 信息安全竞赛干什么 网络营销评价方法 网站建设颜色注意事项 网络安全病毒 摄影网站建设 南通做网站 东莞网站设计制作 做出口网站 小型企业网站建设的背景 小型企业网站建设的背景 欧盟网络安全法律 网络信息安全主动防御 网络安全病毒 昆明购物网站建设 个性化定制网站 网络安全都有什么安全 信息安全技术 信息系统等级保护安全设计技术要求,-1 湘西网站建设 信息安全50强 吴世忠 以色列信息安全承德网站制作加盟 武汉手机网站建设动态 苏州外贸网站制作 网络信息安全与大学生 信息安全竞赛干什么 万网搜域名信息先看域名申请时间这个应该是最早的网站时间 遵义网站优化 网络营销系统平台 远程教育信息安全技术答案 传统营销与现代营销 使用网络安全的公司 好的免费网站建站平台 政府网络安全标准 网站建设推广网页设计域名注册企业邮箱虚拟主机 新闻 邮件营销中国 农产品网络营销策略 高端网站建设 采用模版建网站的缺点 社会化内容营销案例 福州建设网站 深圳高端电商网站建设者 何为信息安全 营销切入点 信息安全意识每日提示 病毒式线上营销方案 网络安全服务方案四川网站设计 公安机关 网络安全管控 2013年网络安全 网络安全评测机构 广安建网站 4P营销策略是指 网络营销实践内容 滕州做网站 做一个网站需要多少钱 2013年网络安全 市南区网站建设 永年做网站 网络营销服务的作用 闵行网站建设 电子商务网络营销产品策略为什么要充分考虑产品的性能的试题及答案 联智营销策划有限公司官网微博营销的效果数据分析 网站建设推广网页设计域名注册企业邮箱虚拟主机 新闻 网络营销评价方法