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"
2017信息安全大事件事件营销的成功要素德阳响应式网站建设信息安全技术措施江苏网站建设成都网站建设电话咨询网络安全技术规范国际认证网络安全专家网站交互式网站设计例子陈羽本是一名国家击剑运动员,参赛无数,荣誉无数,奖杯一面墙都摆不下。却在一次比赛中,面罩意外脱落,对手剑尖直指右眼,刹那间,天昏地暗,当他再次睁开眼,已是开元年间…这是未来的某一天,唐亦格被卷入了一场异界比赛之中。这里是我的世界!欢迎各位来到神的游戏!一旦进入比赛将无法回头,除非你在这个看似混乱的世界中成为唯一的胜利者……为了回去,为了朋友,为了正义……一段武者奋斗的历程,见证王朝的兴衰,宗门的恩怨情忧………李察是一个意外惨死的草根青年,死后却穿越到了一位异世界子爵的身上? 魔兽横行的世界,查理出身于克兰顿王国,是巴隆克拉伯爵的长子,王国子爵,可家族的领地却被兽潮摧毁。 查理在被猎魔骑士团救下后李察却意外穿越,并觉醒了系统。之后他加入了骑士团,成为了猎魔骑士的传奇末世就那么来了,来的毫无征兆,作为“普通人”来说,我甚至不知道它是为什么到来的,整个世界,发生了奇怪的变化,怪物横行,丧尸惊现,我该怎么活下去?他本是龙国最年轻的国医圣手,却因为一次意外,重生回到了四年前。 上一世,他误入歧途,痛失妻女,尝尽了人间疾苦! 这一世,面对妻女的失而复得,他势要弥补当年的遗憾,快意恩仇。 且看一代鬼医传人,如何凭借一手鬼神难辨的惊天医术,守护心中挚爱,成为最强都市奶爸!星运大陆,一个修习星能量求道成仙的世界。天地混沌,世界突现神秘空间,共有九重。来自第九空间的神秘力量,困住众神,颠覆世界。魔兽横行。 一个流浪子,从此走上了,修习星能量,拯救众神,使世界重新恢复和平的道路。香港回归25周年纪念,经典港剧大时代反派丁孝蟹同人文。家庭,事业,爱情,一个男孩成长为男人,一只小螃蟹一步步蜕变为大佬孝。半人半妖的他;提着修罗魔刀,踏上尸山血海的修罗路,一刀,一式,一人,灭魔,诛神,斩天道。四国并起,正邪对立,上古世界虽然过去,但少年武灵已然被其拣选,他将改变人们心中的成见。 谁说出身于平凡的人不能崛起? 谁说身处逆境中的人不能觉醒? 他将诠释武道的作用之大。 他既是护国之手,同时也是使命行者。 究竟是邪恶的冥界先将正义吞灭,还是以他为首的正义重铸天地秩序?
破坏网络信息安全罪 辽阳做网站 网站设计论坛 网站设计例子 38信息安全及信息科技 公安部信息安全保密法 营销策划推广执行 信息安全cnas认证证书 网络安全(二级) 信息安全运维服务方案 深圳网站建设公司排名 成都企业网络营销 福州安恒信息安全 什么是网络安全事件安恒网络安全险 如何认识互联网营销 福州做企业网站的公司 医疗大数据信息安全,-1 信息安全标准 医疗大数据信息安全,-1 内蒙网站设计公司 要建立网站是否要先做网页设计然后把网页设计与数据库连接起来? 书法网站建站目标 完美营销会 重庆企业网站推广 信息安全等级保护评估 成都网站建设电话咨询 上海建站网站简洁案例 2017最新网络安全事件 宽带发展如何营销 网络安全工作思路 信息安全防范技术 郑州营销网站托管 社会化营销案例库app 电脑建网站 如何互联网营销推广 国家网络安全相关政策 河南信息安全 天津 网站建设 时代营销网网络安全怎么检测 2015首都网络安全日 商丘专业做网站 网络大学网络安全法 福州专业做网站的公司 海淀网站设计 如何认识互联网营销 网络安全技术规范 网络安全技术规范 国家网络安全相关政策 亚马逊营销方式是什么意思 商城网站制作公司地址 微博营销诺一网络公关 网站设计例子 网络信息安全法2017 国际 个人信息安全 网络信息安全审查 刷屏级营销 西安网站建设制作价格 网络安全知识培训 辽阳做网站 国家信息安全服务资质证书 网络安全活动宣传 网络安全基础 协议安全 网络安全盒子 杀软 网络安全 义乌网站制作 营销学教程 优秀个人网站欣赏 2017最新网络安全事件 企业的信息安全管理水平 信息安全cnas认证证书 佛山新网站制作平台 公司建网站 网购网络营销基础知识 国家信息安全漏洞库(cnnvd)承办的"后xp时代"安全技术研讨会 网络安全(二级) 信息安全内审员培训 网络和信息安全 网络营销案例视频 互联网文化营销 南通江苏网站建设 江苏网站建设 重庆网络营销战略设计 信息安全竞赛入门 网络安全新趋势 免费网站域名申请 时代营销网网络安全怎么检测 部队网站制作 社会化营销案例库app 如何认识互联网营销 信息安全职业生涯 网络安全新趋势 牛肉干营销 信息安全cnas认证证书 完美营销会 吴桥网站 自己建网站 网络大学网络安全法 外国黄色网站 网络营销实战教学系统 网络信息安全法2017 优秀网站的颜色搭配 2015首都网络安全日 网络安全与经济的联系 唯品会的营销新手入门 企业网站案列 网络营销的主体是什么 中国信息安全认证中心在职人员 北京安天网络安全技术有限公司 营销作用 书法网站建站目标 公司建网站 温州建网站业务人员 网络安全 未公开接口 信息安全竞赛入门 2017网络安全比赛 网络内容营销概念 电脑建网站 深圳网络营销资讯 38信息安全及信息科技 如何设计网站banner 营销团购 网站设计机构 网络内容营销概念 信息安全等级保护评估 网络安全展牌 免费网站域名申请 产品型网站大连网站建设价格 网络安全基础 协议安全 西普信息安全 移动 营销 国家信息安全服务资质证书 营销qq有qq空间 微信辅助网站制作 佛山新网站制作平台 河南信息安全 信息安全技术实训总结 事件营销的成功要素 网站设计论坛 宽带发展如何营销 网络信息安全 规范,-1 信息安全等级保护评估 要建立网站是否要先做网页设计然后把网页设计与数据库连接起来? 唯品会的营销新手入门 西普信息安全 信息安全防范技术