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"
邮票市场中国邮票香港回归纪念邮票大龙邮票生肖邮票香港回归纪念邮票邮票收藏邮票吧香港回归纪念邮票邮票图片世人虽渺小,可是每个人都想挣脱束缚。 诸神虽伟大,可是神也总有陨落的一天。 仙侠恩怨,王朝争霸,爱恨情仇。 且看他们演绎一场不朽传奇。 “祖师,您在等什么?” “第三柄圣器出世,不,准确的说是在等第三个持圣器之人出现!” “为什么?” “屠神!”异世界,魔王,勇者这些本应存在幻想世界的事物却降临在了我一个平凡的美术实习生的身上。 异世界,现实?两者交融,一股神秘力量将我卷入其中,而我身边只有绘画及工具而已,以“笔"为剑开始了我的异界之旅,又有什么在等待着我,神秘而又未知.....几个少年重振门派的故事徐通穿越洪荒世界,成为未来的圣人通天。 想到未来自己的悲惨命运,熟知洪荒剧情的徐通决定苟起来再说! 紫霄宫听道?不去! 创立截教?休想! 任他洪水滔天,我自稳健修行! 待我出关之时,一切腥风血雨量劫落幕。 至此,尘归尘土归土,天上飞天,地下入地,西方的和尚上西天!树林,沼泽,血污,以及被抛弃的人便是这个岛上最常见的东西我,苏杭在杭州是一名的哥,还是一名常年没人来打车的的哥,生活无望 但在另一个世界,神州,我是轻功第一兰梦蝶师傅的徒弟,修真第一家族揭岳的开门弟子,边怀抱美人,边俯瞰世界这世界本来就是一剧你方唱罢我登场的英雄史诗,人人都有自己的故事人人都能成为故事的主角。而在现在,举世大乱,北方草原的天选之子诞生,他一步步坐上了可汗之位,在一路成为了漠北天可汗进而反抗命运争逐天下。而南方在一场天下震惊的叛乱后,各路反贼或是英雄也开始逐鹿中原。当漠北的天可汗携大军而下,南方群雄又被迫共御强敌,同时又各自心怀鬼胎,于是一场南北之战就此展开。同时在那场叛乱后,这块大陆上也出现了许多本该不属于此的事物,宛若腐朽枯木的巨人,仅剩枯骨的亡灵,一切都开始变得不同寻常。孔融让梨这个故事,国人应该老少咸知,但有关孔融因为孝道死于曹操之手,晓者却是不多。如需洞察详情,敬请阅看全文。楚尘,意外穿越到了修仙界 后成一个底层的杂役,更是直接奋斗到了圣地的圣主。 结果刚上任却发现,瑶池圣地即将面临破产。 随后他又动用他那聪明的脑瓜子,开始了修仙界的。科学之旅。 开始搞起来瑶池牌小灵通 更是开启了瑶池快递。 金丹送快递 元婴,群聊 女神们,为了那微博粉丝人数 开启了直播卖货
邮票网 邮票收藏价格表 邮票价格 南京文交所钱币邮票交易中心 上海邮票网 邮票交易所 邮票收藏 邮票市场 第三轮生肖邮票 大龙邮票 邮票吧 大龙邮票 邮票网 邮票市场 邮票价格 邮票市场 邮票交易所 邮票收藏 邮票交易所 纪念邮票 邮票互动网 龙邮票 十二生肖邮票 龙邮票 邮票吧 第三轮生肖邮票 邮票吧 生肖邮票 邮票图片 邮票收藏价格表 邮票 邮票 纪念邮票 邮票图片 邮票网 上海邮票网 民居邮票 欧美群迅雷下载 邮票 民居邮票 帝都往事之职场江湖战鹰战隼2闲情自传网游之不朽风华这个卡师绝对有问题穿越成废太子大秦:金榜降世,祖龙求我监国百缘传奇人生:梅林穿越 战双:帕弥什逃亡笔记之新世纪所做之梦是否真实缤纷剑南宫传奇黎明笼罩太虚仙尊重回都市界纪战歌擂大飞探案记切面玄话南通二手房请复制到浏览器打开 博克曼的衣柜 质量问题 明月江南二手房价 水波工字折图片 房价 镇江 西安西郊搬家电话 木屋价格 凯瑟琳的衣柜 店铺货架 水波平幔照片 南京副六门搬家公司 衣柜顶部 杭州复兴南苑最新房价 温江 衣柜定制 懒人 沙发 嵌墙衣柜 透光板厂家 河南花都办公家具 从化二手房 上海二手房房价 丰贝浴室柜 佛山 卫浴 水波帘头的计算及裁剪 工具货架 电动卷帘门价格 燕山搬家公司电话 舟山二手房 葫芦岛巴塞罗那小区公交 个人搬家车电话 双井的小区 新德小区 卡茜卫浴 福建搬家搬厂电话 鑫苑名家二手房 南京便宜的搬家公司 窗帘样本书 衣柜 北美樱桃木好 还是南美好 卫浴主题 深色家具 日本搬家公司收费情况 上海浦东阳光花城小区房价多少钱一平 北京搬家公司排名 价格 电话一站查询 好莱客衣柜怎么样 济南天桥青年居易房价 附近有没有搬家公司 雷捷小区 通讯电缆价格 美式三角水波窗帘 整体衣柜十大品牌排名 水波尺的安装 浴室柜论坛 光纤价格 吸音板价格 霸州货架厂 一般仓库货架尺寸 小户型家具 扬州孕婴货架 半日沙发床 实木家具好不好 福田区专业沙发维修哪家好 窗帘水波帘头的计算公式 迁安房价 欧派衣柜 泉州晋江仓库 不锈门厂家 钢带货架 山东厂家 窗帘的分类 货架仓库笼 卫浴的微信 陶器马桶 珠海园林花园二手房价 意牌卫浴 天津房价走势 浴室柜陶瓷盆优缺点 永丰县房价 原料价格 兴盛货架 搬家公司运费 马桶配套 大个搬家电话 卫浴沈阳 大众搬屋公司 电话 m d沙发怎么样 马桶盖材质 江津二手房 窗帘镂空水波的裁剪 黑色床 白色衣柜 斯可馨沙发 西安 广东木塑厂家 上海东方汇景苑小区网 广州卖促销货架 北京旧宫搬家公司 世嘉卫浴 货架图形 水波帘头的宽怎么计算 衣柜收纳 彭山二手房 天坛家具 天洋城房价 窗帘水波窗幔的制作视频 木材烘干设备价格