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"
邮票互动网邮票网文革邮票邮票交易所邮票市场邮票吧邮票图片民居邮票龙邮票猴年邮票一些传闻旧事,只作梦谈。记录曾经幻相曾经好奇,曾经写过的一些神秘事件。穿越到了林正英的僵尸世界, 开局, 就抽中了满级金光咒。 满级金光咒强悍无比,外可化万千剑气斩鬼杀神,内可铸钢筋铁骨万法不侵。 神级抽奖系统,包罗诸天万物。 “叮!恭喜您抽中神技——风后奇门!” “叮!恭喜您抽中法宝——太乙拂尘!” “叮!恭喜您抽中传承——千年修为!” 九叔:没想到我苦练了几十年的道术,居然还不如你一日苦修。 任婷婷:林大哥,你能教我画符咒吗?然爱心盼今身付,故瑶无悔千里寻!夜半梦醒红妆泪,抚琴扰绪恨难平!地幽凰鸣孤仟影,初心不变万世情!楼窗望月忧愁梦,奈何红殷落他身!爱恨情仇姻缘起,瑶琴仟梦负心零! 恰似飞蛾,扑向火热的光,不惧次次。掌混沌太荒之力,修真龙不灭之体,诸天万界,唯吾独尊,觉神脉,修神诀,武道之极,逆天屠神!新人热爱打篮球平时没事会看书也会玩游戏浩瀚无垠的星空中,不知何时便存在着一个神秘的会“造魔”黑色洞口。 古老相传,黑色洞口的另一端,是属于仙的世界,跨出这一步,便能羽化登仙。数万年来无数强者怀着憧憬踏入其中,但却无一人返回…… 黑色洞口的另一端,究竟是什么?在这个国家里有着禁魔法令,身怀绝世天赋的神器男孩梅林来到了卡梅洛特,作为王子的仆人一同经历了很多趣事,也经历了很多冒险。一路在暗地里为亚瑟王子排除风险,帮助他统一大不列颠。 林枫穿越到特种兵的影视世界中,从小在一个偏远直扑的山寨中长大。八岁那年,有国际雇佣兵蝎子,与一群被追捕的犯罪团伙闯入山寨,大肆屠杀,一夜间迫害了172条人命。 其中包括抚养林枫,并教他传统武术的百岁老人。 就此,一颗仇恨的种子在他的心中埋下。 作为幸存者的林枫通过官方的帮助,在岭南市找到一家寄养家庭,在此成长到了十八岁。 巧合的是,这正是特种兵女主林晓晓的家。 而他在无意间俘获了小姑娘的芳心,截胡了何晨光的第一任女朋友…… 十八岁,到了可以当兵的年龄。 现在的他,已经苦练十年八卦掌,实力不俗。 为了复仇, 林枫毅然决然的报名入伍。本书是一部都市职场言情小说,主人翁平平无奇,但却一跃成为医美机构的CEO。在鸱张鱼烂的皮囊下,医美、媒体、帮会的内幕,情欲的渴望,感情的纠葛、人性的弱点,都是社会最真实的写照。
邮票 生肖邮票 邮票网 邮票行情 邮票网 邮票交易所 第三轮生肖邮票 民居邮票 大龙邮票 十二生肖邮票 邮票市场 中国邮票价格表 邮票价格 生肖邮票 邮票互动网 邮票图片 邮票图片 邮票收藏价格表 邮票图片 香港回归纪念邮票 十二生肖邮票 邮票网 邮票交易所 南京文交所钱币邮票交易中心 女幽灵 百度网盘下载 迅雷下载 第三轮生肖邮票 邮票 邮票收藏 邮票吧 猴年邮票 邮票行情 上海邮票网 南京文交所钱币邮票交易中心 上海邮票网 香港回归纪念邮票 猴年邮票 香港回归纪念邮票 邮票互动网 世界上第一枚邮票 邮票收藏价格表 看江噩梦手札凶宅诡事仙道唯心尘封客栈火凤凰签到三年,成为特战兵王末世诸天进化校花的神级修仙保镖我有万界娃娃机重回:2010黑雾白霜左手魔法右手修仙复唐记孰知阴阳大明:刚成首富,朱元璋求我当皇帝千秋万古黄粱梦赶上穿书赘婿热潮后椅阑醉琼枝滚滚红颜NBA:疯了吧,你管这叫替补?西安货架厂家请复制到浏览器打开 马桶机构 施迈尔嘉实木浴室柜价格 凤岗祥利上城房价 小区装修效果图 涂料厂家 电磁炉价格 砾石价格 快速做水波浪帘头 海南省海口市房价 科勒卫浴马桶产品 双叶实木家具价格 高平二手房 福建 浴室柜厂 浴室柜太深 厦门搬家公司电话 搬家公司计时怎么收费 波利卡卫浴 西庄街小区 南宁搬家公司电话 杭州超市货架 立体仓库装货机 托盘货架 栅栏厂家 仙霞新村房价 仓库承重货架 电动沙发 沙发套 深圳明宏家居翻新沙发怎么样 月桂苑小区 窗帘牌子 窗帘底边 抽油烟机价格 分体浴室柜 和平区马路湾搬家公司 卫浴招聘 施迈尔家浴室柜 摩恩马桶 【成都搬家公司 瓦生产厂家 房山二手房 窗帘的由来 2014房价 衣柜效果图 石英砂厂家 唯宝的马桶 广州大众搬运电话号码是多少钱 仓库货区布局的基本要求 硅酸钙板厂家 龙口二手房 地板砖厂家 南通金沙哪有定做沙发垫的 会议桌价格 观光电梯价格 东城搬家公司电话 南京雨花台搬家公司 水波帘头的计算方法 居民沈阳大东搬家电话 水波计算 窗帘的风格 马桶的十大品牌 重型货架规格 镂空水波裁剪教学视频 壁挂马桶 2014第六届广州国际建筑家具橱柜衣柜装饰板材展览会 不锈钢浴室柜规格 衣柜 2米4 浴室柜厂商 神道口小区改造 广州更衣柜工厂 木材价格 整体淋浴房价格 广州海珠搬家电话 北京办公家具 餐厅吊灯价格 佛山休闲沙发 成都 买衣柜 苏州 二手房 搬家公司的来源 整体衣柜效果图 仓库货架作用 厂家家具 光辉家具 正确冲马桶 杭州二手房网 拼装家具 浴室柜科勒 选购浴室柜 合肥二手房 水波窗幔制作教程 上海金山房价 仓库货架网 双叶实木家具官网 窗帘自制 摩恩浴室柜 组合家具 宏路房价? 卫浴新国标 东莞房价 墙纸 衣柜 灯 安装顺序 蚂蚁搬家公司价格表 临澧县房价 台湾房价