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"
网络营销的劣势是什么网站模板营销价是什么企业面临的信息安全网站职能验证码与信息安全商城网络营销廊坊网站推广什么公司需要网路营销信息安全专业的比赛营销四大系统天生至尊,为人族斩妖除魔!护人族万垂不朽!江宇泽前世遭兄弟的反水,亲朋的质疑,爱人的背叛,不幸陨落。烟消道散之时,竟发现在这大千世界之中,源灵大陆只不过是一粒尘埃。万年后得以重生,挖掘新的力量,开创新的规则,以源灵大陆为基础,向未知探索!因为一个绝色女人,黑客和黑帮势不两立。 键盘侠如何跟舞枪弄棒的黑帮一决高低? ······ 中国版《教父》,脑洞大开,令人耳目一新!    穿越到一个武者世界,看程启如何走出一条自己的路。这条路如此的拥挤又如此宽阔。一夜醒来,秋藤原发现自己来到了穿越者云集的东京,还是有妹有房父母双亡的王道开局。 正当秋原藤以为自己穿越成了轻小说男主时,随处可见的异常存在让秋原藤明白这个世界没那么简单。 韩宁一觉醒来,发现自己穿越回到2002年,姚明刚刚登陆NBA的那一年。 本来想着去休斯顿火箭队应聘一个助理教练的职位,却没想到阴差阳错间直接接替鲁迪成为了球队的主教练。 火箭队,执教姚明,想想就很激动有没有?! 系统:别高兴的太早,给我带新秀姚明去夺冠! 韩宁:啥玩意?! 带2002年的火箭队夺冠?! 这可不是未来已经成为联盟顶级巨星的姚明,麦迪也还没来呢! 球队里还有一堆中看不中用的角色球员和垃圾合同。 要知道在这一年,奥尼尔还在巅峰期,在赛场上大杀四方。马刺队的三驾马车全部集齐。 这种地狱级难度,你让我率队夺冠?!一个在世上混了二十几年,一事无成的人,常年做着帝王梦。终于,梦醒了。他失眠了,精神分裂,住进了精神病院。万万没想到,他却因病而成网红,实现人生逆袭。可好景不长,这医院原来是穿越基地。他和病友们穿越了,穿越到一万年以后。 一切始于混沌,终于混沌! 万族林立,人族只能蜷缩于域内,等待真正的强者出现,带领人族重回辉煌。中年马加辉被怀疑成杀害妻子的凶手, 唯一可以证明他不在场的证人是跟他有一夜情缘的少女, 但是少女正处在人生的困境中,爱情背离,亲情缺失,人生迷茫, 面对道德和良心的抉择,少女该如何抉择? 杀妻罪名能否洗清呢?马加辉该何去何从? 凶案的真相扑朔迷离,到底谁才是真正的凶手? 一个案件展开一幅社会图景,展现社会众生相。 你我都是一头困兽,只是牢笼各不相同。 每个人都在情感的困境中不断挣扎,不断突破,寻找出路。 如何才能突破困局,找到自我?这里只是一个小山村,但这个山村并不普通,村子里有着四个义薄云天的结拜兄弟和一群熊孩子们,这里有着他们参演的各种故事! 孩童提名为浪子,胯下黄牛归山村,仰望西空三两星,一声长叹四人行! 首发:起点中文网,笔名:七年顽童当翰秋非醒来就处在源宇世界,在这里有着数不尽的生物、机械、人族.......等。 起因还得从一场车祸说起
沙井做网站 深圳购物网站建设 手机端网站开发 网络营销与网络销售的关系 2017信息安全事例 茶叶网站建设 网站备案与域名关系 织梦系统里的生成更新主页为什么生成不出来我再改的网站 深圳网站推广 信息安全是指长沙网站设计报价 计算机网络安全培训、 网络安全=信息安全 2009网络安全事件 怎么攻击网站 信息安全等级保护 步骤 上海网站制作公司 北京网络营销 网站页面设计稿 北京网络营销 聊城网站优化 福田的网站建设公司 临沂网站维护公司 网络安全基础的关键操作 顺德网站建设原创 建网站程序 聊城网站优化 织梦系统里的生成更新主页为什么生成不出来我再改的网站 网络信息安全委员会 网络安全页面 河源做网站 网络安全环境3部分 武汉 网站建设 顺德网站建设基本流程 网络安全法的内容 福州外贸网站建设 网络营销的劣势是什么 企业面临的信息安全 商城网络营销廊坊网站推广 营销四大系统 网络营销与网络销售的关系 信息安全网站有哪些内容 网络营销的劣势是什么 信息安全内审员培训 什么是网络安全风险 网络安全管理局巡视 17做网站广州 网站备案与域名关系 西乡建网站 简述网络营销内容 中国网络安全技术 畅销书营销方案 湘潭网站seo 企业网站建站元素 青岛手机网站制作 计算机网络安全怎么样 顺的品牌网站建设 佛山电商网站制作团队 国家信息安全师 17做网站广州 cdn与网络安全 网站设计模版 网络安全法的内容 网络安全实时监控 信息安全是指长沙网站设计报价 免费申请做网站平台 建网站啦 知名的网站设计公司 手机网络安全技巧 信息安全的新闻营销广告的意义 网络安全专家和黑客 信息安全分为十个方向 ctf 网络安全 2013年国内外发生的网络安全事件统计 企业网站建站元素 两栏式网站 网络安全页面 福州外贸网站建设 网络安全团队标识 网站建设 宁夏 网站备案 商城网站建设如何交谈 广州易网外贸网站建设 黄岛建网站 外贸网站设计制作 西安信息安全培训机构 建网站要学什么 信息安全的要素 怎么攻击网站 网络安全团队标识 有实力的网络营销公司 临沂网站维护公司 温州手机网站制作推荐 网络营销的工具选择 网站域名 信息安全等级保护 步骤 海淀网站设计公司 网络安全隔离 网络科技网站设计微博营销的好处和坏处 营销四大系统 沙井做网站 上海银基信息安全 我国网络营销环境现状 网络安全等级怎么设置 衡水做企业网站的公司 手机端网站开发 西安信息安全培训机构 网站要素 计算机网络安全培训、 西乡建网站 北京网站建设有限公司 2009网络安全事件 两栏式网站 外贸网站设计制作 信息安全等级保护 步骤 网站被收录 政府网络安全现状分析 北京网络营销 知名的网站设计公司 国安网络安全法 北京网络营销 北京网站建设有限公司 凡克营销 福田的网站建设公司 知乎 无线网络安全 专线可以做网站 网络安全基础的关键操作 网站模板 域名 备案号 网站的关系 建网站程序 重要保障期间网络安全保障方案 青岛手机网站制作 织梦系统里的生成更新主页为什么生成不出来我再改的网站 政府网站管理系统 商城网站建设如何交谈 网络安全页面 武汉便宜做网站 福州网站建设费用 网络安全环境3部分 网络安全技术学校 信息安全分为十个方向 顺德网站建设基本流程 保定设计网站 网络与信息安全管理人员配备情况 福州外贸网站建设 政府网络安全现状分析