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"
文革邮票邮票收藏价格表邮票互动网香港回归纪念邮票邮票收藏价格表邮票价格民居邮票邮票吧邮票图片民居邮票在乱世之中,李泽的天赋与才干展现得淋漓尽致。可兰萱始终是他心中的痛。别人穿越都是封侯拜相,为啥我穿越过来就只有半个小时的命? 还好有系统送了100亿两黄金! 花1两黄金就得1分钟寿命?这买卖划得来啊! 有什么事情,是用金元宝解决不了的? 1个金元宝解决不了,那就用100个、1000个! 一个落魄书生,靠着黄金开道,称霸天下的故事!我只想安安稳稳送个外卖,哪想到有一天居然真的黄袍加身! 还是在异界!! 送外买送到异界的恐怕只有我一个了吧? 看着满目荒凉的异界,杨一暖苦笑一声,开始了异界探险之旅… 外卖是不会再送了,星际贸易才是我的主业! 玻璃球换黄金,香水换翡翠,一个黑心倒爷就此诞生… 异界投资建工厂,寻宝探矿搞开发,从今天开始,我就是杨总! 新世界首富,异世界征服者,就此诞生!!作品讲述的是一个走投无路的人向死而生的过程。由于种种离奇的机缘与遭遇,被迫踏上自己从未想象过的奇妙旅程,最终他的命运会是如何?是生?是死?...深夜的酒馆,推杯换盏 和你喝酒的,究竟是人是鬼 没有归宿的灵魂啊 在这里,你将得到救赎在一片花飞过澜沧江的时候,叶沧澜跳进冰冷的澜沧江。再次醒来,是1997年的那个夏天,青梅竹马,邻家姐姐,冷傲校花,火辣教师……致逝去的青春!顶级特工失忆,悄然回到故乡; 各国巨头首脑,一夜之间沸腾! “他是可以一人攻破一个国家最高防御的利刃!” “他是医仙王诩的唯一传人,他是医好我不治之症的人!” “他还是我女儿的意中人……” “给我找!不论付出任何代价,一定要找到他!”一言定生死,一语变乾坤。玩归玩,闹归闹,回到汉末三国还得跟我皇叔混! 昔日屌丝秦耀,自穿越汉末以来,身无所长,心无所居,惶惶度日十载,历经黄巾之乱,成刘备帐下一无名小卒。 大战前夕,上司张飞醉酒发狂,险先误杀秦耀。秦耀大怒:“阉人张飞,安敢放肆!” 【叮,你的外挂已上线!】 得最强打工系统,做最帅打工仔! 助刘备,平蛮夷,灭世家,除军阀,揽群芳于铜雀,招贤臣于麾下,安天下于掌握,扶明主于帝位! 纵横天地间,谁能与之相扛? 秦耀:“在下秦耀,愿助主公成就千秋大业!” 刘备:“我得汉明,大事可期!” 本书是创造《盗墓笔录》的蓝本
中国邮票 猴年邮票 邮票网 香港回归纪念邮票 邮票收藏价格表 中国邮票 邮票行情 邮票市场 世界上第一枚邮票 奥运邮票 邮票网 邮票收藏价格表 邮票网 中国邮票价格表 邮票交易所 纪念邮票 欧美群迅雷下载 民居邮票 邮票吧 中国邮票 南京文交所钱币邮票交易中心 文革邮票 邮票吧 邮票收藏 邮票网 纪念邮票 欧美群迅雷下载 龙邮票 邮票价格 中国邮票价格表 欧美群迅雷下载 第三轮生肖邮票 邮票互动网 民居邮票 世界上第一枚邮票 邮票收藏价格表 十二生肖邮票 邮票收藏 邮票 邮票行情 非冒名顶替未来中寻找过去爱至深!爱至重北冥真经修仙:从给爷爷烧纸开始AngelDefend:夏末异世界的快乐冒险欧布奥特曼格斗进化冰火山河衍天道诀看守所笔记东西神魔录魔道剑心将行歌超神模拟,我有无数世界归家家客服中心开局一头牛偷天成仙重生剑圣传天生丹契深圳中银大厦旁边的房价请复制到浏览器打开 北京限价房价格 广州天河搬家公司 抽拉式货架 衣柜 设计软件 安居客大连二手房 厦门办公家具 禅城区?o沙发专卖店 北京二手房 百叶窗帘 海尔立式空调价格 恒洁马桶价格 沙发 框架结构 水波帘加工厂电话 自动仓库用什么货架 三人沙发 英文 北京家具展 经济适用房价格 大岭山搬家公司电话 沧州运河区房价 编码器厂家 佛山镀锌管价格 东郊小镇房价 水波帘的制作方法 马桶浴缸 几个水波帘头最好看 进了模具仓库工作可是不懂 豆袋沙发对 脖子怎么样 武汉汉西苑小区是什么性质房产? 卡座沙发 月浦二手房 广东浴室柜 窗帘环保 信然亭房价 金港镇搬家公司电话 裙摆 窗帘 济南天桥青年居易房价 水波窗帘头载剪方法!!! 卫浴市场 仓库超重型货架 富润家园房价 卫浴十大品牌排行榜 聊城二手房公安小区 壁纸价格 西安窗帘 货架大小 橱柜和衣柜 阳信房价 l洛阳钢制更衣柜 盛世江南房价 临沂搬家电话 窗帘水波帘头裁剪 水波窗幔图片 郑州超市货架厂 湖南仓库 沙发生产 5天 旧地板 家具 原木衣柜 发霉 陕西办公家具 广东 订制衣柜十大品牌 双色水波是怎么裁 蹲便器价格 到官方网看看2014年7月份全友家私特价两米衣柜款式价位 金特小区 硅藻土价格 仓库货架大全价格 广州门厂家 深圳南山窗帘 服装仓库货架摆放方法 汉斯格雅卫浴 tto卫浴 杭州金地自在城房价 浴室柜知识 16gu盘价格 法罗浴室柜 珍珠岩价格 建博会亚丹衣柜 仓库内使用的新设备 新中式浴室柜价格 净水机价格 合肥房价走势 彩色沥青厂家 名人字画价格 包店货架 屏蔽门厂家 卫生间浴室柜排水 卫浴如何选 深圳二手房出售 窗帘展厅设计 浴室柜制作 m d沙发怎么样 原料价格 威海二手房网 长沙十大最佳搬家公司 铁艺楼梯价格 仓库配叉车 轴承钢价格 广州最大货架厂 萍乡百乐小区 和成马桶盖 成都搬家公司哪些 榆木办公家具