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怎么在网站上添加地图网络营销计划 案例跨境电子商务网络营销网络与信息安全技术pdf下载云制造网站中国信息安全院盘古开天,众仙陨,八荒境内谁主宰,无数修仙者向着至高境界发出挑战,而谁能成为亿万生灵中的天之骄子,成就登仙之位。重生于异世的魔宗少年,以一己之力颠覆正道的统治,为救恩师上刀山下火海,为了道义可两肋插刀世间灵纹分紫微、太微、天市三等! 亦被分为先天、后天、传承三种! 少年被虐待而死,心有不甘催生灵纹,从此踏上仙路!张雨居然穿越了,还附带着穿越前玩的一款卡牌游戏《哈利波特魔法觉醒》的系统,这是一个被病毒感染后的世界,被感染的人和动物都会变成影视剧中的丧尸一样的存在,被称之为行尸,且看张雨如何利用系统带领队伍在末世中生存下去!姜凌天身处娘胎中,听到自己被人扰乱天命,出生会是个没长相,没资质的路人时,激活了无限修改系统! 系统只有一个功能,修改! 体质废柴?修改!叮!获得万古道体! 气运超垃圾?修改!叮!获得诸天万界永生庇护! 功法等级太低了,修改!叮!获得太上混沌道经! 颜值不行?修改!于是,世上多了一位亘古难遇,万古第一的帅哥……本是闲云野鹤,逍遥自在,可各位长老算出高景行有拯救苍生命,于是高景行孤身游历百川海,为救千万人一条由个人博客发出的离婚吐槽,轰动世界。 开局被丈母娘嫌弃,被逼退婚..... 没想到,女婿竟是消失多年的昆仑战神。这一切都是多么现实……走得完的是自己生命的道路,走不完的是别人乃至社会的套路……世界崩坏,风云将起。各方涌动,群雄四起。这个世界怎么了,谁又可终结一切? 只是简简单单的打一场排位,结果却穿越到联盟大陆还成了托儿索。
深圳网络营销|深圳网站建设公司|专业网络营销运营推广策划公司 企业网络营销数据分析 网络营销论文 潍坊建设网站多少钱 网站赢利 网络营销计划 案例 云制造网站中国信息安全院 长春长春网站建设网 信息安全服务业务 免费pc 微网站模板 佛山网站设计资讯 2015中国个人信息安全问题研究 网站设计公司 无锡 单位信息安全的保护 信息安全行业的企业 中山网络营销培训中山微信培训中山酒店微信培训企程咨询 服装网站 欣赏 欧洲网络与信息安全局 精湛的佛山网站设计 太原网站推广 网站有哪些分类 网络营销设计方案 数据信息安全网络主题ppt 企业网站建站意义 信息安全 管理 手册 网站设计深圳 信息安全员证书 中山精品网站建设策划 网络营销计划 案例 广州做企业网站找哪家公司好 怎么在网站上添加地图 网络安全 闭环 信息安全认证培训 万户网站 高校网络安全方案 网络安全岗位面试问题 顺德网站建设要多少钱 关于计算机网络安全证书介绍 网络安全的主要技术 网络安全pdf 网络安全的第一道防线是 网络安全视频网址 跨境电子商务网络营销 信息安全服务安全工程类 好网站的标准 网络营销论文 珠海品牌网站制作 网站html设置首页 网络安全pdf 网络安全学啥 哪些是网络安全 中国首席信息安全官,-1 长春长春网站建设网 石家庄做网站 列举邮件营销的类型 信息安全亮点 网络营销计划 案例 如何加强移动网络安全 网站没流量 中国信息安全相关考试 福州+网站开发 网络营销对未来的前景日本设计网站 网站赢利 紫色网站 网络安全 敏感数据 信息安全监管机构清单 网络安全基金会 销售与营销 网站设计工 什么是网络营销评估 京东 营销 案例 信息安全 口令 网络营销20个好处 国家信息安全测评信息安全服务资质 网络渗透测试——保护网络安全的技术工具和过程 pdf 深圳网络营销|深圳网站建设公司|专业网络营销运营推广策划公司 网络安全法 评估 好网站的标准 信息安全 管理 手册 网络安全 闭环 饥俄营销 网络安全证书 全球网络安全会议 福建省信息网络安全 中国首席信息安全官,-1 美国信息安全投入多 网络整合营销推广公司 在线做网站 网络信息安全教育培训 网络安全 敏感数据 欧洲网络与信息安全局 信息安全行业的企业 网络营销计划 案例 信息安全工作规划,-1 cmmi 网络安全 网络安全防护方案 掌上医院的营销推广 高校网络安全方案 天津网站建设揭秘 聊城网站制作价格 信息安全相关认证 跨境电子商务网络营销 网站设计深圳 最新的网络安全产品 信息安全措施分为 属于网络安全的内容? 信息安全认证培训 武汉科技大学信息安全 移动宽带 营销 网络整合营销推广公司 信息安全员证书 信息安全评估服务 网络安全法 评估 it系统开发新技术展示探讨系列课程it信息安全课程 中国网络安全官网 免费pc 微网站模板 黑客攻击和网络安全的关系 不同网络营销环境 佛山网站设计资讯 数据信息安全网络主题ppt 顺德网站建设要多少钱 改密码为保障网络安全 工控系统信息安全技术 第三方外贸b2b电子商务平台网络营销所存在的问题与对策国家网络安全防御 网络安全的第一道防线是 电商营销课程 网络营销论文 网络信息安全教育培训 it系统开发新技术展示探讨系列课程it信息安全课程 信息安全官 改密码为保障网络安全 紫色网站 北京信息安全等级保护,-1 传统营销信息传播方式有哪些 营销方式分析 网络营销自媒体 网络安全cia 单位信息安全的保护 企业手机网站建设策划方案 信息安全认证培训 网站的缺点 佛山网站设计资讯 信息安全检测公司 企业网络信息安全公司排名 信息安全测评机构