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"
许可电子邮件营销案例信息安全审计管理办法网络安全设备进化史温江建网站网站设计手机型中国信息安全处理企业兼职网站制作合川网站建设互联网信息安全讲座邮件营销行业朝歌夜弦,莫过一本好看的书,莫过一首美曲罢了是意外吗?重生解开意外死亡之谜,一个叫欧阳宇墨的特种兵退役后惨遭陷害后重生初中内容提要:推荐新书《神魔霸体》http://www.17k.com/book/705692.html天地六界,远古鸿蒙。一个卑微的小人物毕凡,一步步修炼成长。闯魔域煞气冲天、战潜龙一鸣惊人、闯天下成就威名、夺宝库独占鳌头、入混沌翻云覆雨、踏六界唯吾独尊、斗鸿蒙逍遥至尊。动乾坤、踏六界、斗苍穹、破鸿蒙,诛仙逆天成就六道仙尊。爱恨情仇、兄弟义气、刀光血影,无穷无尽的宝物、灵兽、功法,尽在《六道仙尊》。喜欢的请加群:云霆飞书友群:177856368 YY频道ID:53771214 YY群:3209667大家点击作者笔名进去,记得‘崇拜下’、‘留脚印’、‘打酱油’,每天一个号都可以点击一次。谢谢!!推荐两本书《特工教师传奇》《重生之官路高升》一代“龙”子血脉的觉醒,伴随而来的是强大实力,还是沉重责任,亦或者是那邪恶势力的无尽追杀······之前重生99次,叶凡都被系统因为各种原因坑死了。 这一世他想只想做一条躺平的咸鱼,让修炼见鬼去吧! 于是,系统含泪帮叶凡签到,极品灵宠却差点被叶凡端上饭桌; 极品功法被叶凡拿去垫了桌子腿; 绝世神兵成了新的烧火棍! 【警告!宿主即将遭受毁灭性打击!】 【警告!唉算了,启动自动反击程序……】 系统:宿主,你就不能假装修炼一下吗?自从遇到了闷骚这个道士后,我的世界似乎发生了一些变化…这是一个道的世界,它无处不在,但没有人能找到它,它规定了一切,让世界能够运转下去,当你去追寻它时,万千大道为你而开。此本书将记录所有的童年游戏,希望带大家重新回到童年,回忆童年的欢声笑语。在有限的时间,带给读者无限的欢乐是作者的初心。希望每一位读者都因这本书而回忆起属于自己的童心。 大东王朝之末,江湖纷乱,怪诞诡奇之事接二连三,天道何意,人心何向。具由一石村少年,与你结伴同行,历练江湖风雨。清玄父母在小时候神秘失踪,为了解开谜团,他跟着师傅李闻道学习七年,直到一天师傅交给他一个任务,他的生活开始与过去接轨,事情的真相逐渐浮出水面,他也因此接触到了以往不为人知的世界,基因药剂,生物兵器,变异种族等事件不断出现,清玄以及他师傅又会怎么去应对呢……
企业网站类型 锦州网站建设 信息安全不涉及的领域 中国信息安全法律网 长沙网络营销推广 信息安全产品分类标准 学校网站制作 供应商营销 银行信息安全案例 分析我国网络营销现状分析 重庆整合营销网站建设 李老师谈营销 信息安全分级系统自查 网络营销实训课程设计网络安全管理需要什么 破坏公共信息安全 什么是020营销模式 信息安全防护规范 成都网站创建 信息安全市场 idc 手机微信一体网站建设 b2b营销推广软件 网络营销的十种方式 国测信息安全实验室 昆明网站建设制作 饥饿营销最成功的 贵阳网站设计 网店营销策划公司 网站制作公司 深圳 电子工厂网站建设 超炫的网站 搭建网站设计 互联网信息安全讲座 国家网络安全监管系统 手机网站开发语言 网络营销的十种方式 国家信息安全报告 网站建设沈阳 达内2016网络营销seo 引擎营销关键词 上海信息安全管理中心地址,-1 seo 网站 制作 网络安全服务标准方案 李老师谈营销 电商商城网站建设 网站建设沈阳 信息安全年会 cncert 破坏公共信息安全 常见网络安全威胁 专业网站设计 沈阳做企业网站的公司 什么是020营销模式 学校网站制作 国家信息安全报告 网店营销策划公司 信息安全防护规范 2016年网络安全法 网站设计手机型 关于加强国家电子政务工程建设项目信息安全风险评估工作的通知 点内营销 网络安全设备进化史 麦包包营销 企业网络信息安全培训班 信息安全市场 idc 信息安全市场 idc 辽宁企业网站建设公司 石家庄网站设计 企业网站建设 北京b2c网站制作 网络信息安全软件 分析我国网络营销现状分析 口碑营销和眼球营销 移动网络安全管控 南宁网站公司 做网站推广邢台 网络营销的十种方式 信息安全的攻击有哪些 情感营销策略案例 宁波seo营销 国测信息安全实验室 上海营销公司 网站步骤 cncert网络安全年会 昆明网站建设制作 网站的尺寸 供应商营销 公司网站的制作公司 点内营销 电子工厂网站建设 网络安全风险评估流程 电子营销 信息安全审计管理办法 病毒性营销视频 上海信息安全管理中心地址,-1 .信息安全测评机构的资质认定 企业网站建设 苏州网络营销哪家好 免费建网站 浪潮网络安全 李老师谈营销 手机微信一体网站建设 营销型网站方案ppt 手机网站开发语言 上海营销公司 网络安全硬件平台厂商 网络安全思想文章 贵阳网站设计 网站建设中模 常见网络安全威胁 全网市场营销有限公司招聘信息系统 贵州省网络与信息安全测评认证中心招聘 网络营销策略术语 重庆整合营销网站建设 网站建设沈阳 2016工业控制网络安全态势报告 安阳网站建设 外贸营销网站建设 贵阳设计网站 网络安全实训室建设方案 b2b营销推广软件 网络安全服务的功能有 银行信息安全案例 网站seo优化公司 潍坊网站推广 云南网站优化 网络营销具备的知识 全网市场营销有限公司招聘信息系统 网站制作公司 深圳 搭建网站设计 2016工业控制网络安全态势报告 什么是020营销模式 如何网站客户案例 网络安全世界领导人奖 建公司网站 中国信息安全测试中心 昆明网站推广优化 信息安全的攻击有哪些 中石油信息安全体系 网络安全风险评估流程 十堰网站建设 建公司网站 绵阳网站建设 许可电子邮件营销案例 央企网络安全大会意义 央企网络安全大会意义 网络安全服务的功能有