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"
邹城建网站南通网站建做生意的网站网络安全技术服务公司html5简易网站建设许可email营销主题设计原则包括建网站要多少钱邮件营销策划方案上海网站制作顾问营销都是企业做吗建立网站备案需要什么资料宇宙星河   无尽虚空   凌驾于天道之上   掌管无尽宇宙   不被任何人打败   她就是墨星玄七年征战,封七珠王帅。 怎料老婆被关鸭圈,被人绑走还要割走肾脏,女儿下落不明,动我妻女,诛杀九族!秦凡为救老婆,不得已暴露自身能看到宝物气息的能力,不断捡漏,只要是宝物,在秦凡的眼中都无所遁形,因此引起各方势力的注意,破真伪,看人心,鉴宝捡漏,玩转人生……陈寻怎么也想不到,自己机缘巧合参加的一次相亲经历,竟然就此翻转了他的整个人生。救人一命胜造七级浮屠,美女施主,你我有缘啊...仙下皆凡尘,仙上有苍天…… 这是仙界最常听见的箴言,他身为天地孕育而生的生灵,本该坚信这句箴言,然而,因为得到了那卷天地不容的卷轴,他明白了一个道理:道至尽头是为天,道衍至极名曰神! 时代进步,科技发展,算命也要与时俱进。 为了赚钱,秦天开始了直播算命。 直播间榜一大哥傲然道:”我事业有成,工作顺利,现在就缺一个女朋友,你帮我算算吧。“ 秦天摇头道:“爱情的事情先放一边,我还是先帮你算算事业吧,我掐指一算,你必是黄袍加身啊!” 何青穿越到天风大陆,开启金手指,竟然能探查人生剧本! 从此别叫我何青,请喊我龙傲天! 随意一看,我的婢女竟然是女帝之姿,还修炼什么? 开舔就完事了。 【姓名】:竺烟   【体质】:凤凰涅槃,浴火而生,女帝体质,号令众生   【命格】:天降大运   【人生剧本】:.....   【好感】:20   【近期经历】:..... 从此天风大陆多了一个左拥右抱,醉生梦死,羡煞旁人的...不知名大佬。明朝有本叫做《唐诗品汇》的书,书中把唐诗分为四个阶段:初,中,盛,晚。后来人们发现把唐朝历史也是可以这样划分为初唐,中唐、盛唐、晚唐。而唐朝作为曾经辉煌的朝代。从建立,发展到顶峰,终于不可避免的跌落低谷。当他在痛苦中挣扎,人们以为他终于可以重新站立起来的时候,却随着唐宣宗的逝世,慢慢步入深渊,走向毁灭。大厦将倾,而暴风即将来临…“我只是像救活她……”
西安网站设计 新网站制作平台 禹州网站建设怎样开展内容营销 新的营销新观念 网络安全的正能量视频 中央网络安全和信息... 禹州网站建设怎样开展内容营销 网站推广营销 内蒙古网站建设流程 网络营销思维 上海网站营销 广东网络公司营销排名 网站建设公司顺义 网络安全重点实验室 特色营销的要素 禹州网站建设怎样开展内容营销 湖南网络与信息安全测评中心 重庆建网站 网络安全漏洞论坛 南通网站建 汕尾网站建设 网站建设 福州 潍坊网站优化 商务类网站 rss营销的基础是 南通网站建 国家互联网信息安全 互联网网络安全态势 大数据网络安全分析报告 手机网站例子 做网站 深圳 企业网络安全拓扑图 成都网站制作设计 马鞍山网站制作 建网站需要什么 信息安全示例 上海市网络安全宣传周 美国信息安全15万美元 网络与信息安全(第二版) 网站推广营销 网络安全技术服务公司 数据库网络安全措施 装饰网络营销的职责 网络信息服务 网络安全保护 网络营销有什么策略 网络安全国际认证 数据库网络安全措施 信息安全示例 中央网络安全和信息... 互联网整合营销传播 网站设计教科书 网络营销思维 南昌网站制作 温州网站建设案例 如何策划网络营销活动 东营+网站建设 广州网站设计公司 江苏信息网络安全协会 网络营销思维 西安网站设计 网络营销价格名词解释 互联网网络安全态势 聊城 网站建设 app营销案例 信息安全技术实验报告 黄骅做网站 专业的网络营销首选公司 网络安全工程学院 信息化与网络安全协会 网络信息安全趋势图 信息安全部讲师,-1 制定攻防结合的网络安全战略 佛山建网站做网站 长 信息安全顶级会议 网络安全名字 昆山网站制作哪家强 西安网站设计 网站颜色 网站注册页面设计 成都 信息安全大会 国家互联网信息安全 网站设计教科书 上海高端网站开发 信息安全 国家安全局 2017国内网络安全公司 李宁网络营销策划书 网络营销商 建立网站备案需要什么资料 黄骅的网站 网络和信息安全通报实行 信息安全 国家安全局 织梦dedecms网站改版后幻灯片部分显示空白的解决方法 南京网站设公司 南昌网站制作 手机网站模板 信息安全部讲师,-1 网络安全监测与大数据 企业网站托管 html5简易网站建设 上海市网络安全宣传周 系统网络信息安全 网络营销有什么策略 邮件营销策划方案 商务类网站 创新的购物网站建设 网络安全条例解读 办公室信息安全工作 网络营销课程的ppt 工信部 信息安全中心 国家网络安全专题 制定攻防结合的网络安全战略 元站点网络营销方法 视频网络安全知识讲座 上海高端网站开发 建网站要多少钱 湖南企业网站建设 信息安全行业招聘 许可email营销主题设计原则包括 物联网 网络安全 政府网站怎么管理系统 做网站的公司 网络安全案例ppt上海网络安全检测公司 湖南企业网站建设 如何用网络营销的方法有哪些方法 广东网络公司营销排名 2017国内网络安全公司 城域网网络安全 网络安全重点实验室 信息安全攻防 网站制作员 禹州网站建设怎样开展内容营销 网络安全的正能量视频 网络安全技术服务公司 重庆建网站 网络信息安全趋势图 广州网站设计公司 南通网站建 信息安全技术实验报告 公安局网络安全大队 网站建设 福州 如何用网络营销的方法有哪些方法 网络信息安全 培训 商务类网站 信息安全攻防 湖南网络与信息安全测评中心