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全球网络安全指数营销类传媒qq新信息安全顺德网站优化公司wap网站模板独特网站的清华信息安全网络安全信息安全笔试题,-1我们国家网络安全吗?整合营销传播目的广州微网站建设效果梦回中学,激情少年! 重拾理想,追寻爱情! 玩世洒脱,风流不羁! 活出一段搞笑的人生!灵气复苏,大争之世,万世未有之变局将临,三段投影,一生传奇,礼赞人族,壮哉华夏。阴霾的天空下,无端降临了一座漆黑的角塔,无人知道,那究竟发生了什么。自此,人类陷入万劫不复的绝望漩涡,艰难挣扎。 “希望已然破灭,人类再无生存的理由了。” “执灯者于黑夜踽踽独行。” “该死的时代,告诉我!我们究竟是为了什么才存在!” “去追寻,在虚妄间掩蔽的足迹;去勘破,在世界上结痂的真相;人类总在路上,永不停歇。” “愿希望与勇敢指引着你,那是人类最强大的武器。”穿越到玄天大陆,最先走进苍国,并且跟皇帝成为了兄弟…… 结交了五兄弟,以六人之力带动整个国家.........故事始于二十世纪九十年代中期,大学生陶弥渡在列车上结识了同去南方的两位演员欧阳秋歌和戴玲,经历种种人生百态、风风雨雨。描写他们的友情、爱情、婚姻、事业。深入刻划他们之间的悲欢离合、爱恨情仇。当修真者穿越到了现代,因为语言不通闹出了许多笑话。 谁能想到,一个不起眼学生竟然是修真界的最强者? 最强S级异能者?对不起,只需要一剑。 异能者和修真者的碰撞,核武和仙术的对轰…… 李言在某个夜晚入睡时发现自己进入到了一个未知的世界,在这里,他将开始自己的冒险“身为主角的我居然没有系统!?”张辞旧穿越到了修仙界,成为了气运之子,本以为能无敌于世结果被天道告知世界被各种各样的系统侵入,而且还都想着干掉自己成为新的气运之子,对此张辞旧只想说“既然不能安稳的做个气运之子那就做个大反派喽。”竹女为了找到云纸,决定与鬼针草小矮人和蒲公英魔女一同前往黄皮朗玛峰。 一路上,她们遇到了各怀绝技的火龙星,玉米女巫,火柴小队。 她们还遇到了木偶部落的埋伏。 …… 最终竹女一队到达黄皮朗玛峰,而危险也向着他们悄悄靠近……  我徐阳穿越异能世界,激活神级异能,从此成为战神。 我   
互联网信息安全办法 济南网站建设优化 广州响应式网站咨询 在哪里可以学网络营销 企业建网站 信息安全基本属性 网络营销怎么收集数据 事件营销的优劣势分析 网络安全项目经理 优化一个网站 济南网站优化 滴滴互联网营销案例 网络安全基础:应用与标准 属于网络营销特点的有 黄山网站设计 我国网络营销的现状 互联网公司网络安全 网络安全项目经理 大数据与信息安全报告 余额宝营销活动 中新网络信息安全股份有限公司 国内f型网页布局的网站 信息安全与对抗赛 网络营销策划综合方案 中国 网络安全 企业建网站 网络营销怎么收集数据 承德网站建设 专注成都网络营销 百度知识营销审核 烟草行业信息安全 网络安全演练流程图 网络营销包含 网站架构图 分析网络营销环境 信息安全管理体系认证标准,-1 深圳 网络安全 公司 中国信息安全等保网 郭启全 网络安全法 中国的信息安全 网络整合营销产品代理 网站链接数 信息安全行业协会 新营销微博 大疆网站建设 怀旧营销的案例 营销发展课 网络安全演练流程图 中国 网络安全 嘉兴网站建设 2017全球网络安全指数 网站建设模式有哪些 网络信息安全教育培训 上海创意型网站建设 中新网络信息安全股份有限公司 广州网站建 网络安全基础:应用与标准 信息安全提醒 国家网络安全应急中心 淄博网站建设有实力 提供网站建设搭建 属于网络营销特点的有 余额宝网络营销 学校 信息安全 网络安全组织管理 2017全球网络安全指数 黄山网站设计 国家网络安全应急中心 济南网站优化 网络信息安全 网络间谍 数据 我国网络营销的现状 信息安全管理体系认证标准,-1 信息安全与对抗赛 信息安全 国产 营销 互联网公司网络安全 营销号英文 独特网站的 网络安全 专题 提供商城网站 身边的网络安全 信息安全 学会 大数据与信息安全报告 天津企业网站建设 中国信息安全相关考试 网站建设导航栏设计 中国的信息安全 余额宝营销活动 如何利用网络平台营销策略 广州 深圳 外贸网站建设 菏泽网站制作 信息安全检测公司 学生对网络营销看法 信息安全事件 2017,-1 网络安全技术认证 网络安全 专题 信息安全保护技术措施是 山东网络信息安全 天津企业网站建设 清徐网站建设 信息安全检测公司 互联网金融网站建设 sem搜索引擎营销概论 营销信息教程 搜索引擎营销的 郑州微信网站 做内贸现在一般都通过哪些网站 互联网信息安全办法 信息网络安全ppt 营销号英文 百度知识营销审核 营销合作 我国网络营销的现状 信息安全笔试题,-1 正规的网站建设 app网站公司 珠海电商网站制作 怀旧营销的案例 第二届 360 杯全国大学生信息安全技术大赛 o2o网站系统 网络安全基础:应用与标准 信息安全关键过程 以色列 网络安全 优化一个网站 专注成都网络营销 网络营销策划综合方案 酷网站欣赏 百度知识营销审核 唯品会的网络营销现状 网店营销计划有哪些内容 app网站公司 烟草行业信息安全 优化一个网站 网络营销教材内容分析 网络营销没效果 网络安全演练流程图 银行信息安全建设方案 信息安全基本属性 2017全球网络安全指数 清华信息安全网络安全 网络安全警示片 属于网络营销特点的有 网站链接数 网站层级 郭启全 网络安全法 邮件营销