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"
邮票价格第三轮生肖邮票文革邮票中国邮票邮票邮票价格邮票价格邮票交易所邮票收藏十二生肖邮票欢迎大家走进C世界,里边有不一样的妖,不一样的王。天道之下的人,在追求着天道。只是,天道又是什么?人在追求什么?陈晨重生了,他来到了一个文娱的世界,不,玄幻的世界。 这里的大佬不注重修炼,居然注重休闲? 看我一首《算什么男人》,引爆全场! 《一首双节棍》使得多位大佬当场突破,引来阵阵雷劫! 《告白气球》让多位女帝对我钦慕有加! 最后再来一首《哥只是个传说》潇洒离场! 更多内容,敬请期待《震惊!我在玄幻世界开创文娱时代》。暑假打工仔王宇身为一个“现实”代好青年,当个小保安被一把小剑拐到铠甲勇士世界,出门看个书碰见恶参兽,看个海景又碰见铠甲欢乐2V2,去工地卖盒饭还有岩石兽搞破坏,异世界混口饭吃好难呀(ー_ー),王宇意外发现小剑可以吸收他人血脉转为已用,俺也可以穿铠甲啦,只要我勤找人,正义必有我,我救人爱财不过分吧(??¤????ω¤????)??天启年间,年轻的朱由校,望一举解决辽东之患,然而,事态之发展,却出乎他的意料,最后,竟然导致了更大的灾难……一介凡人妄图与天争个高低,实在是可笑至极,待看这天如何折磨这一介凡人。 我欲红颜斗万法,奈何苍天逆枉情。 【逆苍玄】有声读物已经开始更新,漫画版也在制作当中,敬请期待陈渊穿越成为侦察连的兵,绑定一个很争气的系统。 系统很成熟,只要条件满足,自己就能签出技能,并且监督修炼。 从小成到大成,再到圆满,凡是他的技能,都会自行修炼,陈渊想努力,都没什么机会。 奈何他的系统实在太争气了,只是签到三年,他就成为全球特战之父。段白云生来无缘仙道。 一句谣言,一朝灭门。 流落到云峰大陆的段白云机缘巧合开启了修仙之路。 他拿着万众执念的东西重回天洲,又将那东西摔落泥泞。 段白云:我就要以我废材之名告诉他们,不是什么人都能够飞升成神!红凯穿越成为全新的欧布奥特曼的格斗进化路程酷似特利迦的外形现实社会中我唯唯诺诺 重生之后看我重拳出击 开商铺,练武道,从此我成为了大齐帝国最出名的商业巨鳄....
邮票收藏 纪念邮票 中国邮票 中国邮票 十二生肖邮票 鸡年邮票 邮票市场 第三轮生肖邮票 世界上第一枚邮票 大龙邮票 鸡年邮票 猴年邮票 女幽灵 百度网盘下载 迅雷下载 龙邮票 邮票互动网 欧美群迅雷下载 邮票交易所 欧美群迅雷下载 南京文交所钱币邮票交易中心 邮票收藏价格表 南京文交所钱币邮票交易中心 上海邮票网 中国邮票价格表 邮票收藏价格表 民居邮票 中国邮票价格表 猴年邮票 上海邮票网 邮票收藏 中国邮票 邮票图片 邮票 奥运邮票 猴年邮票 邮票网 邮票收藏价格表 大龙邮票 邮票图片 南京文交所钱币邮票交易中心 生肖邮票 穿越倚天之我是张无忌末日灾害青山下的田园天生御兽师我有一座临仙楼原神之我到提瓦特对线天理我要抓妖精橘色年代剑道崛起南宫传奇相亲修炼手册无尽序列骨董江湖重生之拯救国足我和我的兄弟征战万界那小子竟然是洪门大佬烽火尽处高三回忆录我不是武夫第九世轮回之劫澳门代收货仓库请复制到浏览器打开 长沙整体衣柜定制厂家电话 塘沽第五大街房源房价 军兴小区小区详情 仓库的分类 郑州搬家公司哪个最好 2015年成都被盗小区 厂家生产床 莱阳二手房 电梯价格 德阳卫浴 蠡口 沙发 潮州风度浴室柜 沙发品牌前十名 百思特 傲奇家具 复合门厂家 衣柜 到顶 广州自动化立体仓库 水波帘头用布 智能浴室柜有哪些品牌 桂阳房价网 东海县二手房 布艺沙发 茶几 路易莎马桶 郑州仓库货架厂 辽宁货架 防裂网价格 浴柜价格 仓库立柱 车位锁价格 晾衣架价格 窗帘的清洗 南昌小仓库 珠海 沙发 团购 到普天小区 立体仓库设备组成 美标马桶怎么样 上海闵行区搬家电话是多少钱 泓朝衣柜 营口万达华府房价 水波帘头的制作与裁剪 郑州房价 定制窗帘布 窗帘单水波的制作方法 上海汤臣一品房价 衣柜 红木色 金顿浴室柜 苏州 蠡口 美式家具 京搬家公司电话号码 顺德家具信息发布网 三聚氰胺贴面 衣柜 铝单板幕墙厂家 风琴帘厂家 求购窗帘 大连市各搬家公司电话号码 二手房 税 窗帘定做 华士房价 窗帘水波太下 南通二手房 浴室柜哪里好 卫生间隔断厂家 青岛恒大绿洲的房价多少钱1平方 杭哪家搬家公司好 临汾 警苑小区二手房 仓库架板 玻璃胶生产厂家 九江窗帘店 仓库货架尺寸多少 怎么拆马桶 衣柜门 后现代浴室柜哪家好 卫浴瓷砖 昆明?r村租房价格 恒盛佳卫浴 光华尚居房价 红胡桃的门窗套和白色鞋柜电视柜地砖黄色配什么颜色的沙发好看 对南宁小区的评价 成都保利花园现在房价走势 十地板厂家 水磨石地面价格 安装衣柜 广州蚂蚁搬家公司怎?N样 后湖楚绑汉界房价 窗帘水波眉裁剪法 衣柜加盟 多层实木 颗粒板 衣柜 油松价格 玛莎浴室柜 虹口区大柏树搬家公司 世达工具价格表 美加衣柜 安阳小区 做窗帘进货 石堰小区租 公新搬场电话 卷帘门厂家 唯美窗帘 金辉货架 浴室柜供应合同范本 做窗帘 灰色 沙发 地毯