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"
邮票市场鸡年邮票鸡年邮票香港回归纪念邮票邮票收藏价格表上海邮票网中国邮票邮票交易所邮票网邮票网玄天大陆,武道为尊!强者可以脚踏虚空遨游太虚,举手之间可破碎山河。 废物少年叶宁意外觉醒前世大帝记忆,获得天地至宝蕴神莲!从此握手青锋,败天下无数天骄! 前世的仇,今世的恨,他叶宁一一会报。紫金大陆,李文浩,由于母亲是婢女出身,从小被大房欺辱,养成了他坚毅果敢的性格,在一次采药途中巧合救下了一名炼药师,从此开始了不一样的人生,开启了追逐紫金巅峰之旅途……张强在末日的五年后重生回到了末日爆发的前十天,这一次他要拯救前世为了他而死的家人与爱人,就在丧尸爆发的前一天,张强觉醒了末日桃花求生系统,上来就是开挂的发展,一路碾压所有敌人无数美女蜂拥而来,最后整个星球都生满了他的孩子!什么是奇迹? 生命本身,就是奇迹。名面上的友好相处 背地里的暗争黑斗 在这繁华人世间 究竟有多少秘密 历史的长河 宛如藏着不可告人的真相… 随着时间的沉淀 这层真相的薄纱被慢慢揭开隔壁星球突然被点燃,自己的星球又被彻底隔绝联络,到底发生了什么事?我们该如何抉择?文明的归途到底在何方? 生存在茫茫浩宇之中,生命存续的意义何在?也许你能从本书中找到答案。其实没什么简介,冲就完事,奥力给干了兄弟们!这是一个快意恩仇的侠义江湖,这是一个弱肉强食的仙侠世界…… 在这里,洛凡掌握乾坤、剑指八荒,掀起武道风云…… 然而,当洛凡以为自己已经站在这个世界的巅峰之时,殊不知,他所掀开的那个世界,不过是浩瀚宇宙的冰山一角……天龙国皇权覆灭后百年来有三个派系组成,士族派,中立派,变革派维持着整个国家的平衡。 但因为一个二三岁的男人改变了这种平衡,他为变革派代表,一心想要铲除世家门阀让国家成为一个人人平等的国度。“滴,恭喜主人辅助击杀一位炼气四层修炼者,获得5点仙币”此时,石佳杭脑中传来机器人小妾的提示音。   “纳尼?辅助击杀?还获得5点仙币,MMP这是劳资击杀的好不”石佳杭先是一愣,随后反驳骂道。   “主人只是把人打成重伤,被别人击杀,所以只是辅助击杀”   石佳杭瞬间无语,感情,这仙币必须要杀人才得获得啊。辅助击杀一个炼气四层才5点仙币,那我昨天花的600仙币,得杀多少人才赚得回来啊。   “小妾,不辅助击杀,是我本人击杀,能获得多少仙币?”   “60仙币”   “卧槽。MMP,坑,太坑了,悬殊这么大,小妾,你丫的不早告诉我,这波亏大了”   “你又没问”   ......
邮票行情 奥运邮票 生肖邮票 邮票收藏价格表 邮票市场 文革邮票 中国邮票价格表 香港回归纪念邮票 邮票吧 邮票网 邮票 奥运邮票 邮票交易所 鸡年邮票 奥运邮票 欧美群迅雷下载 猴年邮票 女幽灵 百度网盘下载 迅雷下载 邮票价格 鸡年邮票 民居邮票 邮票行情 南京文交所钱币邮票交易中心 邮票收藏 邮票图片 奥运邮票 猴年邮票 第三轮生肖邮票 女幽灵 百度网盘下载 迅雷下载 上海邮票网 邮票收藏价格表 文革邮票 文革邮票 大龙邮票 中国邮票 中国邮票价格表 中国邮票价格表 邮票行情 南京文交所钱币邮票交易中心 邮票收藏 掐灭希望岭南疑案将军荣耀之武道不孤基因战争之龙裔我在宇宙做仙帝古今历史全册那些天,我病了天道圣使我在都市直播练武,弟子三千万活着来生活系统:转生成狗也要当最强天才的异世界之旅传送阵法都市守夜者栗子故事会剑,逍遥明!日月重生之剑神无形玄雍前传:乱世枭雄末日樊笼香河房价请复制到浏览器打开 坐便器价格 爱惠浦净水器价格 西安05仓库 北京天津上海房价走势2015 衣柜 简易 布衣柜 卫浴进出口 深圳房价走势 合肥办公家具 四川省营山县2016年房价怎么样 窗帘制作工艺 怎么用马桶 大连沙发厂换餐椅皮革 水波尺怎么看 深圳仓库网 My home定制衣柜 广州 沙发 修复 江陵康明小区 定制衣柜 最小进深 2012年杭州房价 井盖厂家 全抛釉价格 订制窗帘 上海仓库货架回收公司 水磨石价格 广州花都搬家公司电话号码 苏州 二手房 无为二手房 搬家公司的来源 半皮沙发 全皮沙发 接缝王厂家 双流二手房 艾茉莉家具 全屋定制家具 伊兰诺衣柜 仓库货架定做 零件货架 名牌浴室柜 窗帘店灯光 角美龙泉华庭的房价 虹吸式马桶原理 橱柜衣柜多少钱 佛山卫浴 江苏路第五小学 小区 散热器价格 伊美嘉衣柜 天津搬家公司-盛世搬家 敲瓷砖价格 水波窗帘帘头裁剪视频 衣柜的尺寸 水波水波帘头裁剪方法 沈阳小区环境排行榜 仓库 货架 木的货架 蹲便器卫浴 济南赖氏家具 电伴热价格 明式家具 沙发 镀锌钢管价格 妆台与衣柜 橱柜价格表 房价银行 国际搬家公司排名 圣象复合地板价格表 广州卖促销货架 番禺衣柜厂 仓储货架厂 德鲁尼衣柜 地砖价格表 浴室柜太深 拆惠安小区 海南省海口市房价 电厂货架 遮光窗帘价格 衣柜促销 白云石价格 韩式衣柜 福州 划片 群众小学 小区 长葛市高档小区 静安区江宁路房价 耐火棉厂家 玫瑰花茶价格 佛山衣柜门 搬家公司运费 天津 家具安装 电热水龙头价格 揭阳仓库货架 nems仓库 马桶九牧 茅草厂家 马桶出水件 东莞货架哪家好 沙发布料批发厂家 沙发布料批 窗帘布艺大全 想学做窗帘 大衣柜定制 欧式家具图片 电话费哪家公司便宜 非同富勒姆沙发 鹰卫浴地漏 金坛区景阳花园三期房价 马桶盖作用 安康二手房