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网络安全主题网站营销学培训网站设计建设公司支付宝全网营销2017年网络信息安全在线营销型网站建设网络营销监管博客营销有哪些优势旅游网站案例当吴狄秉着爱国,诚信,敬业,友善的优良品质,混进金庸先生笔下的武侠世界当中,成为一名武当道士时 面对上辈子无数个夜晚在床上幻想过的武功秘籍,看见那一位位老爷子笔下倾城倾国的女猪脚们,吴狄表示 别无选择,唯有制霸江湖!洛无邪重生了,这一次她再也不要错过爱慕的陆小北学长。 如果不是苏柚羽推她向马路的前一刻,说出了他的名字,到死也不会知道代替她下十八层地狱的人,竟然和陆小北有关。 第一次穿越居然遇到系长,才想起来这本笔记好像就是他的……“但得妖娆能举动,取回长乐侍君王......” 我竟穿越到了气运即将耗尽的商纣? 而且我还就是那个最昏庸无道的纣王帝辛? 骂我好色?忍了! 骂我嗜酒?也忍了! 骂我昏君?绝对不行! 拉龙族灭灾患抗天庭,维护人皇权威! 盈国库普教育得民心,重振大商雄风! 天庭西方阐教,我都不服 人族神族妖族,我全都要 我就是人皇帝辛!史上第一明君!一场意外,李信穿越异世界,成为了大乾王朝三皇子。 看着千里冰封、万里雪飘的封地,还没来得及感慨,就遭遇到了草原马匪袭击。 幸运的是,李信拥有远超这个时代的科技。 种种田,搞搞工业,建设封地,抵御草原马匪…… 直到有一天,等他回过神来才发现,当初贫瘠寒冷的封地,已经成为了一座钢铁雄城…… “什么?水泥、煤球炉、蒸馏酒……还有这些,都是信王殿下的发明?” “什么?信王殿下的封地,高楼林立、直入天际,那是人类的奇迹啊!” “什么?信王殿下的大军,荡平草原了?那简直是钢铁洪流啊!” “什么?信王大军入关,逼近京城了……” …… 世人在一次又一次震惊中,看着信王李信以封地为起点,逐步打造出一个钢铁皇朝! 无良中介坑骗老人,周铭受到老人恳求举报讨回血汗钱。 周铭:众老放心,不就是要个钱?简单! 三日后。 无良中介团伙被判诈骗罪,十年起步! 孙奶奶:只是让你举报要钱,全给送进去了? 牛爷爷:牛哇!牛哇!比我牛爷爷还牛! 某不知名老人:你缺媳妇不,把我家孙女介绍给你! ...... 父母遭到恶毒亲戚碰瓷...... 周铭:进去反省反省! 女警官遭到键盘侠网暴...... 周铭:你以为隔着屏幕我就抓不到你? 天下不平事太多! 我,周铭! 平定天下不平事!人鬼共生的年代,原本属于阴界的魑魅魍魉,潜藏在人类的恐慌中伺机而动,阳界的秩序岌岌可危。 幸而有一群懂得观星测位,画符念咒甚至可跨越阴阳两界的异能者,他们各职所能,为了维护阴阳两界平衡不惜堵上性命进行战斗。 这些人被世人尊称为“捉妖师”二十年前,他被一代道门隐脉奇人所救。二十年后,他遵守师父遗命下山踏入何家,阴差阳错之下成为何家的女婿,内心从抗拒到默默守护,皆因那一纸婚约而起!纪历元年,战争爆发,科尔特城市陷落,科尔特内形势复杂,官方为了取得科尔特城市陷落的秘密,派出萤火虫小队前往救援林凡刚准备接受命运的不肝 叮!系统升级完毕! 林晨:靠,你怎么才升级完毕 林晨:修炼这本玄阶功法我还怕你们几个?.....为保护女友而伤人的徐枫,入狱三年意外获得一身本领。 没想到出狱后,女友竟然要嫁给当年的仇人。 可怜这瞎眼的女人,本可一步登天,却选择坠入炼狱!
网络安全防护工具 昆山网站建设 网络营销实用教材 的教材框架是基于何种营销理念编写的 哈尔滨做网站 上海公安网络信息安全 网络安全应急响应中心 在线营销型网站建设 信息安全五个保护等级 娄底建网站 2015中央网络安全 网络安全实验 王老吉网络营销方法沧州网站制作 密码信息安全测评中心 云流网络安全吗 在线营销型网站建设 娄底建网站 2014年中国计算机网络安全年会 网络营销策划公众号 网络安全取证 网络安全 乌云 浙江网络安全 网站如何编辑 河北网站建设推广 浙江网络安全 30岁学网络营销 空间网络安全 网络安全技术有限公司 网站建设品牌推荐 随州网站建设 网络安全路由器认证 c端营销自主营销系统 网站页脚 网站建设营销的技巧 信息安全课堂 博客营销有哪些优势 上海公安网络信息安全 网络安全取证 一个网站多少钱 西安信息安全培训 网络营销实用教材 的教材框架是基于何种营销理念编写的 信息安全服务资质标准 上海市信息安全测评认证中心待遇 网络安全和渗透测试 YY上的匿名网络安全维护是干嘛的 在线营销型网站建设 关于信息安全的证书 北斗与信息安全,-1 关于信息安全控制 怎么把制作好的图片传到您们网站后台的有效空间的来获得url? 池州网站制作公 支付宝全网营销 制作公司网站价格 什么是信息安全技术,-1 华南信息安全中心信息安全等级保护修订 网络营销监管 南网站建设 国家网络安全大会 网络安全 ppt 2017 青岛网站建设找 信息安全 保密 网络安全防护工具 网站型营销 网络安全路由器认证 上海网络营销平台排名 舟山网站建设 简述网络营销的内涵 2018年的网站制作 2014年中国计算机网络安全年会 舟山网站建设 2018年的网站制作 信息安全 保密 昆山网站建设 怎么压缩网站 网络营销实用教材 的教材框架是基于何种营销理念编写的 移动公司信息安全培训 深圳制作公司网站 火山小视频营销 西安公司网站建设 杭州网站建设设计 网络安全信息安全 web攻防和信息安全 西安网站建设 山东省网络安全竞赛 上海公安网络信息安全 榆林网站建设 汕头网站推广 密码信息安全测评中心 信息安全服务资质标准 建立网站的价格 网络营销监管 关于信息安全控制 南网站建设 深圳制作公司网站 网站页脚 YY上的匿名网络安全维护是干嘛的 web攻防和信息安全 2017年网络信息安全 建立网站的价格 信息安全五个保护等级 上海网络营销平台排名 上海市信息安全测评认证中心待遇 江阴做网站 信息安全标准分为 网络安全 排名 中软网络安全考试 昆山网站建设 网站建设指导 网站建设咨询 唯品会的营销特点 网络安全实验 网络安全实验 信息安全 CC 认证 公司信息安全 系统有限公司 高碑店网站建设 营销学培训 廊坊做网站 公司网站与营销网站 保障网络安全 广州市信息安全企业,-1 信息安全网络靶场 无锡做网站多少钱 制作公司网站价格 网络安全威胁例子网站建设vs网络推广 网站建设营销的技巧 网站建设咨询 个人信息安全 国标 信息安全服务资质标准 西安信息安全培训 计算机信息安全保护等级 网站建设案例精英 博客营销有哪些优势 哈尔滨做网站 网络信息安全的发展 云流网络安全吗 怎么把制作好的图片传到您们网站后台的有效空间的来获得url? 2018年的网站制作 经典营销策划案例 网站建设品牌推荐 信息安全课堂 银行信息安全风险排查报告 网络安全 展览馆 2017 国家网络安全大会 简述网络营销的内涵 杭州网站建设设计 YY上的匿名网络安全维护是干嘛的