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"
什么叫做网站维护信息安全数据东营+网站建设网站营销活动策划方案互联网市场营销的作用网络安全宣传文章网站的制作手机网站模板西安信息安全比赛运营型网站赵东立本是富家子弟。 从来不上课,却成绩优异;从来不拈花,却总被玫瑰缠。 在结拜的几个兄弟中,一一失去双亲,赵东立也没有逃过厄运,背后的主谋是谁?是什么样的力量,让他们都家庭破碎,查无真凶?又是什么力量让他们年少负重,与无形的恶魔做斗争?漫漫长夜之下,危机四伏,在你看不到的地方,恶鬼互相吞噬,妖魔血战于天地,人族强者提刀斩神,冥冥中,这世间如同修罗场一般,纷争不断,血光四溅。      为了男人的承诺,萧晨强势回归,化身美女总裁的贴身保镖,横扫八方之敌,谱写王者传奇!   他——   登巅峰,掌生死,醒掌天下权,醉卧美人膝! —————— 小舞的微信公众号:寂mo的舞者,可以去关注哦! 小舞的QQ:1589045849,可以去加好友! 唯舞独尊①群:545765633!   这里没有无尽的斗气,没有瑰丽的魂环,有的只是无尽的诗词和读书人为尊的世界。 浩然正气孕忠魂,文华之气惊诸圣。 拳打诸子百家,脚踏天妖南蛮。 无数读书人长叹,天不生孟飞,儒道万古如长夜!一个少年得到仙笔的故事 平平无奇的法师,不一样的冒险之旅。大千世界,精彩绝伦,少年江辰不甘平淡,修炼篡改少年命,逆境险象皆环生,敢于苍天试比高,敢与大地撼乾坤,蜕凡涅槃终成圣,问鼎苍穹诛魔尊!九州大陆,一个魔之子降入凡间,且看假废物,如何凭借一已之力创建自己的势力,拓展地盘,灭门派,得道飞仙,成就一番散俢传奇主人公,的传奇一生 这是个秩序安定,看上去没有任何异样的和平世界,然而,这个世界的和平能够一直得以长久维持,其实在背后隐藏着一段肮脏的过去。 七年前,突然降临在这个世界上的某件事,导致这个世界的一部分人对维持和平的秩序形成了一种“全新”的观念,这种观念在当时迅速发展为一种多人形成的势力,在遵循这势力的人想要维持和平的想法的推动下,那些不去认同这种“全新”观念的人,在他们的眼中便成为了必须被淘汰的存在,而到了现在,“全新”观念形成的势力已经占据了整个世界多年,进而维持着和平的秩序.....
创新的购物网站建设 手机网站和pc网站 网站改版收费 深圳网站设计 微博营销效果体现 商城推广人际营销 酷炫给公司网站欣赏 东莞阿里网站设计 西安制作网站 2017年网络安全重要性 工作压力大导致的精神不振咨询【www.richdady.cn】 内心恐惧胆怯的案例分享【www.richdady.cn】 前世缘份的故事有哪些真实经历?【www.richdady.cn】 前世今生的故事是真的吗?【www.richdady.cn】 亲子关系的教育理念有哪些?【www.richdady.cn】 与老公前世的前世缘分咨询【σσЗ8З55О88О√转ihbwel 如何识别冤亲债主【微:qq383550880 】√转ihbwel 婚姻生活不顺的环境影响咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 去世的母亲的前世缘分咨询【微:qq383550880 】√转ihbwel 冤亲债主干扰的前世因果【www.richdady.cn】√转ihbwel 失业的咨询技巧【微:qq383550880 】√转ihbwel 前世老公【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 人际关系不好的原因分析咨询【σσЗ8З55О88О√转ihbwel 孩子不爱读书的阅读计划咨询【微:qq383550880 】√转ihbwel 老公家暴的咨询技巧【σσЗ8З55О88О√转ihbwel 前世老婆的识别方法咨询【σσЗ8З55О88О√转ihbwel 婴灵的真实案例有哪些?【微:qq383550880 】√转ihbwel 与男友前世的前世缘分【微:qq383550880 】√转ihbwel 投资项目的收益分析咨询【www.richdady.cn】√转ihbwel 老公家暴的咨询技巧【微:qq383550880 】√转ihbwel 常见信息安全技术 互联网市场营销的作用 青岛高端网站开发公司 唯品会的营销策划方案 长安手机网站建设 app营销推广公司 石家庄网站设计制作服务 浦东新区苏州网站建设 2016网络安全法 沈阳市做网站的公司 网络安全等级保护2.0网络安全为标题 唯品会的营销策划方案 关系营销优势与不足 微信平台网络营销 计算机信息安全与管理 网络营销的关注度 网络安全攻防竞赛 网络安全设计方案 网站 域名 潍坊网站优化 如何建立个人网站2014信息安全培训 东莞阿里网站设计 淘宝 病毒式营销 网站营销活动策划方案 内容营销优劣势 威海网站优化 青岛高端网站开发公司 互联网市场营销的作用 唯品会的营销策划方案 营销思维 网站建设陕icp 运营型网站 系统营销 珠海移动网站建设费用 西安制作网站 青岛高端网站开发公司 中国国家信息安全网 企业营销中心 如何学习信息安全,-1 潍坊网站优化 网络安全工作实施流程图 如何建立个人网站2014信息安全培训 信息安全等级保护测 郑州营销托管公司 手机模板网站 家具 营销网络 做网站创意 电脑版网站制作公司 珠海移动网站建设费用 cc信息安全,-1 武汉网站建设企业 大连建网站公司 信息安全数据 微信营销成功的关键 徐州网站制作如何定位 网站制作资讯 培训网络安全 计算机信息安全与管理 公司网站市场价 营销型网站建设制作 商城推广人际营销 线框图网站 太原建网站 商城推广人际营销 微信营销成功的关键 互联网市场营销的作用 长沙网站制作公司 旅游网络营销活动 西安制作网站 网络安全法漫画 营销推广课程 整体性营销 微网站怎么制作 常州网站制作机构 电脑版网站制作公司 淘宝 病毒式营销 郑州网站托管 google网站地图 网络营销途径都有哪些方面 网站的栏目 上海网络安全相关政策 网络安全工作实施流程图 信息安全的发展历程 珠海移动网站建设费用 潍坊网站建设公司电话 福州做网站的 青岛高端网站开发公司 网络安全 漏洞 网络营销的关注度 网站酷站 网络安全执法案例分析cpc营销 高端汽车网站建设 如何学习信息安全,-1 旅游网络营销活动 qq网络安全中心 信息安全标准规范 手机网站和pc网站 福州自适应网站建设 福州做网站的 商务网站与营销策划 做网站创意 淘宝 病毒式营销 个人网站建立步骤 2016网络安全法 深圳营销网站建站公司 网站的排版 网站的栏目 个人网站建立步骤 东营+网站建设 湖南网站建设 信息安全标准化委员会 手机网站模板 网站的栏目 企业网站适合响应式嘛 福州自适应网站建设 国际信息安全学习联盟 邀请码 网络安全监测预警机制 信息安全标准规范 网络安全服务产品有哪些简易的网站 手机模板网站 酷炫给公司网站欣赏 东城网站设计 潍坊网站建设公司电话 威海网站优化 关系营销优势与不足 2016网络安全法 陌陌广告营销 关系营销优势与不足 信息安全标准规范 创新的购物网站建设 营销每日总结 网络安全执法案例分析cpc营销 酷黑网站 金融企业 网络安全法 运营型网站