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全国信息安全等级保护技术大会,-1整合营销传播目的郑州做手机网站手机网站网站 托管唯品会的网络营销现状营销信息教程建国外网站一代天才变成废物,经历无数坎坷,踏上复仇之路那群人把自己困在一个“盒子”里,只要有一个感染者他们就全要遭殃,真是愚蠢!何家遭逢惊天大变,家道中落,父亲疯癫,母亲重病。 为了凑齐母亲的手术费,却被骗走祖传百年的老店。 获得鉴宝神瞳后,何林改写悲惨人生! 奇珍异宝,古玩字画,神瞳辨异,气运藏穴。 一双精金火眼,狂揽天下珍玩!在未来的某一天,一个人生极其平凡的青年被选中参与一项实验,他置换到了一处平行世界。新的人生并没有给他带来什么,宇宙有多浩瀚,他就有多孤独。后来,他发现自己最想做的竟是回到原来的世界。异世觉醒却不知自己是远古主宰,却不知挚爱也身处异世 。 如蝼蚁却肩负重任 。 故人归红颜来,人生如飞驰终成大能 。 抵破灭创万世辉煌 。 两年前,遭遇暗算,重伤险死,杨墨不得已入赘到了白家,从此成为了大门不出,二门不迈;只知道洗衣做饭,浇花拖地的上门女婿。 两年后,重伤痊愈,真龙出海,猛虎啸天,必然天地色变。所有的仇与债,都将一一偿还!被囚禁在黑暗的囚笼里无数个日夜,却在机缘巧合之下签订契约成为了一名调查员,从此便开始了在古神的眼皮子底下偷东西,被腐败的教徒追着打,等等等等的作死之旅天武大陆,宗门林立,武道昌盛,丹道却毫无起色,于是就有了一个人,一群朋友,开辟丹道,逆武巅峰的故事。别人穿越都是封侯拜相,为啥我穿越过来就只有半个小时的命? 还好有系统送了100亿两黄金! 花1两黄金就得1分钟寿命?这买卖划得来啊! 有什么事情,是用金元宝解决不了的? 1个金元宝解决不了,那就用100个、1000个! 一个落魄书生,靠着黄金开道,称霸天下的故事!原以为就这样,普普通通度过一生。撞见一起命案,获得一颗神药,从此改变人生轨迹。
双十一营销 专注电子商务网站建设 电子商务网站建设的概要设计 病毒营销的提出 网络整合营销产品代理 国家信息安全漏洞库 网络营销公司 河源建网站 推广类网站 信息安全服务 前世老婆的前世影响【www.richdady.cn】 什么原因意外咨询【www.richdady.cn】 无形干扰的解决方法【www.richdady.cn】 亲子关系的情感交流方法有哪些?【www.richdady.cn】 内心恐惧胆怯的前世记忆咨询【www.richdady.cn】 如何应对冤亲债主的干扰?【微:qq383550880 】√转ihbwel 纠纷的心理调适【微:qq383550880 】√转ihbwel 冤亲债主干扰的超度方法威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 解梦的前世因果咨询【www.richdady.cn】√转ihbwel 强迫症的心理调适咨询【www.richdady.cn】√转ihbwel 与公婆前世的影响分析【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 干扰的常见类型咨询【www.richdady.cn】√转ihbwel 前世老婆的咨询技巧【企鹅383550880】√转ihbwel 前世缘份对现世的影响【σσЗ8З55О88О√转ihbwel 为什么过世的前世因果咨询【www.richdady.cn】√转ihbwel 为什么过世的原因分析咨询【σσЗ8З55О88О√转ihbwel 与老公前世的故事分析咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 公司破产咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 头脑混沌的自我提升咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世缘份的故事有哪些案例?咨询【微:qq383550880 】√转ihbwel 思考式体验营销 公安部网络安全产品销售许可证查询 网络安全产品销售 定制做网站 安徽省网络安全 网店营销计划有哪些内容 网络安全流量检测 淘宝营销图 病毒营销的提出 活动营销 一站式营销服务 南京做网络安全的公司 唯品会的网络营销现状 fdd lte网络安全 网站与维护 网络安全风险分析 网络安全在大学叫什么 星巴克的营销目标 酒店的网络营销环境 公安部网络安全产品销售许可证查询 医疗器械网站制作 郑州做手机网站 为什么品牌网络营销 工业大数据信息安全 网络安全的审查性 精品网站建设公司 电子商务网站功能页面 网络信息安全联盟 唯品会的网络营销现状 无线网络安全的应用 城市营销平台建设 网络安全法 备案 商务营销软件 什么叫新闻营销 国家信息安全漏洞库 机械营销策划案 重庆网站优化 国家信息安全漏洞库 思考式体验营销 学了网络营销能做什么的 信息安全产品评测 成都旅游网站建设 公安部网络安全产品销售许可证查询 做网站网页 信息安全矩阵 重庆璧山网站制作公司哪家专业 信息安全行业协会 电子商务网站建设的概要设计 学字体网站 安徽信息安全测评中心 网络营销之黑客技术 营销信息化和信息安全 文玩营销模式 中美 网络安全 2017 五级网络安全状况 危 信息安全组织架构 营销类传媒 用自己电脑做网站 dns qq新信息安全 免费建站网站有哪些 网站的广度 如何做全网营销方案 建湖网站优化公司 郑州网络营销技术学校 泉州网站设计 信息安全委员会职责 网络营销策略心得 信息安全保护机制 注册信息安全管理人员 网络安全产品销售 营销信息化和信息安全 装修网站建设 网站设计的简称 网络安全差距分析 单页面网站 南京网站建站公司 网络安全差距分析 网络营销策略心得 星巴克的营销目标 sns社交营销案例分析 重庆璧山网站制作公司哪家专业 信息安全竞赛策划书 为什么品牌网络营销 在哪里可以学网络营销中国区2010第一季度网络安全威胁报告 营销的视频 商务营销软件 网络信息安全联盟 做个网站多少钱 网络安全必读书籍推荐 定制做网站 北京建设网站图片 深圳公司做网站 苏州装修公司网站建设 专注合肥网站建设 南山网站制作南京做网站 佛山网站优化 外贸建网站房地产网站建设 网络安全大会2016 淘宝营销图 网络安全相关技术 双十一营销 网站设计的简称 在哪里可以学网络营销中国区2010第一季度网络安全威胁报告 网络安全监督机构 网络安全相关技术 企业网站免费 信息安全组织架构 北京朝阳区网站建设 企业网站免费 网站 托管 乌鲁木齐网站建设 互联网营销就业优势和劣势 黄山网站设计 企业信息安全 什么叫新闻营销 工业大数据信息安全 信息安全加密技术 网络安全流量检测 无线网络安全的应用 衡水企业做网站推广 信息安全攻防 无线破解 南京做网络安全的公司 网站方案策划书 星巴克的营销目标 网络安全工程师培训课程 网站页头 河源建网站 天缘qq空间营销软件 免费建站网站有哪些 网络营销公司 漳州做网站 网络整合营销产品代理 信息安全委员会职责 信息安全行业协会 安徽信息安全测评中心