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 做网站合肥 人的营销 网络安全组组织架构 信息安全措施可分为 wow网络安全怎么做 电商信息安全监控 前世今生的缘分解读咨询【www.richdady.cn】 祖灵咨询【www.richdady.cn】 大龄剩女的社交技巧【www.richdady.cn】 前世今生的缘分揭秘【www.richdady.cn】 解梦的案例分享咨询【www.richdady.cn】 意外事故对家庭的影响咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 大龄剩女的婚恋心态如何调整?【www.richdady.cn】√转ihbwel 3. 情感与心理咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 灵魂化解的意义咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 与公婆前世的记忆解析咨询【σσЗ8З55О88О√转ihbwel 心特别累的咨询技巧咨询【σσЗ8З55О88О√转ihbwel 亲子关系的改运方法【企鹅383550880】√转ihbwel 升迁障碍的职场瓶颈如何突破?咨询【企鹅383550880】√转ihbwel 公司破产的案例分享咨询【σσЗ8З55О88О√转ihbwel 有官司的心理调适【σσЗ8З55О88О√转ihbwel 有官司的原因分析【企鹅383550880】√转ihbwel 存不住钱的案例分享【σσЗ8З55О88О√转ihbwel 与老公前世的因果关系咨询【微:qq383550880 】√转ihbwel 孩子厌学咨询【微:qq383550880 】√转ihbwel 人际关系不好的案例分享咨询【企鹅383550880】√转ihbwel 桂林做手机网站设计 优秀的网站设计案例 信息安全国际标准 营销软件站 北京信息安全公司业务 我国网络营销现状分析 设计类相关网站 网络安全和信息安全 大连做网站 电子商务的网络安全 部队网络安全 网站设计尺寸 沈阳做网站价格 q群营销 广州 网站 设计 美团营销推广流程 枣庄建网站 网络营销专业名词 企业h5网站建设 扬中做网站 天津 网络安全事件 低价网站建设 沈阳做网站价格 保山网站建设 网站域名域名 网络信息安全的真相pdf,-1 网络营销的常见问题 信息安全 展会 2017 专业做网站企业 2014年网络安全形势 怎么创立网站 网络营销实训教案 网站赢利 紫色网站 龙岗网站制作 信息流营销是什么 信息安全上网行为管理 网络安全实验教程 下载 提高网站安全性 中国信息安全学会 网络安全组组织架构 网站设计书 优秀企业网站欣赏 网站建设落地页 免费建网站系统平台 北京大学网络安全 2016网络安全大事 2016年信息安全产业,-1 杭州 网站建设公司排名 萧山网站优化 如何在饥饿营销策略 大连网站设计公司排名 信息安全 展会 2017 杭州 网站建设公司排名 网络安全la是什么意思 营销资料下载 深圳网络安全技术公司 wow网络安全怎么做 郑州网站建设更好 深训网络安全公司 具有国家信息安全等级保护测评资质的机构 互联网是网络的网络营销 保山网站建设 网络安全协议都有哪些内容 手机的网络营销方案 电子商务的网络安全 信息安全资质的机构 长春微信做网站 广州 网站 设计 什么叫做营销型网站 2017年信息安全会议 呢图网站 端午节微博营销 北京信息安全公司业务 营销必修课 2017年国家网络安全 网络安全协议都有哪些内容 好网站的标准 信息安全管理实践报告 网站赢利 超简单网站 三亚网站建设 互联网软文营销案例 网络安全仿真系统 微信企业号 移动营销做网站的文案 超简单网站 石家庄网站建设找哪家 做网站合肥 徐州商城网站建设 石家庄网站建设找哪家 北京北京网站建设 2017年信息安全会议 网站建设计划书 郑州网站建设更好 网站建设名牌 营销型网站案例 张斌互联网营销策划 人的营销 公司网站制作策划 网站制作公司电话 信誉好的龙岗网站制作 南京网站建设 网络安全和信息安全 网络营销的常见问题 深训网络安全公司 聚美优品营销ppt 企业网站管理 张家港专业的网站制作公司 中国信息安全联盟 营销的中心 阿里网站建设 信息安全五个等级 网络安全技术ppt 工业物联网网络安全 优秀的网站设计案例 网站建设三合一 信息安全的5大特征 营销软件站 网络安全审计 备案 信息安全资质的机构 我国网络营销现状分析 万和城网站 网络安全活动有哪些北邮的信息安全 网络安全和信息安全 北京平台网站建设 北京北京网站建设 电子商务的网络安全 苏宁 营销模式网站html设置首页 网站域名域名 网站设计尺寸 昆明网站开发多少钱 网络安全技术ppt q群营销 二维码网站制作 中国信息安全保护网