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"
邮票市场邮票吧欧美群迅雷下载奥运邮票邮票收藏价格表邮票市场邮票市场邮票收藏邮票价格龙邮票天生至尊,为人族斩妖除魔!护人族万垂不朽!江宇泽前世遭兄弟的反水,亲朋的质疑,爱人的背叛,不幸陨落。烟消道散之时,竟发现在这大千世界之中,源灵大陆只不过是一粒尘埃。万年后得以重生,挖掘新的力量,开创新的规则,以源灵大陆为基础,向未知探索!尿出一道绿光,结果是仙术。 可催生动植物,可强身健体,更可治病救人。 小农民从此不一般,你是女神,是大佬,我都可以不认。昔日战神,回归山村,偶得仙医传承,本想娶个漂亮媳妇,过清静平稳的乡村生活。 奈何,实力它不允许啊! “勇哥!你怎么能这么厉害呢?”绝世美女问道。 沈勇:“我更想做一个傻子!”穿越到了大秦。 成了大秦的十九公子赵祁。 从小装疯卖傻,成了人人唾弃的废物。 此时正值大秦历三十七年,嬴政为寻长生,不顾百官阻挠,执意东巡访仙。 “父皇,你老了。” 就在此时,最不成器的十九公子赵祁提剑入咸阳宫。 【叮!】 【签到地点:咸阳宫】 【签到任务:逼迫始皇退位】 【签到奖励:一万大雪龙骑军】 面对一千始皇禁卫军。 赵祁有三千黑水台铁鹰卫效忠, 面对两万的黑甲禁军。 赵祁召唤出一万大雪龙骑军将其杀得抱头鼠窜。 这一日。 咸阳宫上。 蛰伏了足足十八年的赵祁第一次穿上黑水龙袍。 站立在龙椅之前。 高举手中雕龙长剑。 朗声道: “儿臣赵祁,恳请父皇退位!”塑圣魂,觅长生,热血前行,登仙道!除了人类文明以外,真的没有外星文明了吗?除了本宇宙以外真的没有其他的宇宙了吗?除了这种可能性,真的就没有其他的可能性了吗?这个世界总是需要仰望者.........抛妻弃子,间接害死了全家,李文军在懊悔中孤独生活了四十年后重生回到1980年。 这一世,他要做实业振国兴邦,带领各行业把技术提前二十年; 这一世,他要弥补所有过错,让家人温饱不愁,平安喜乐。 做出第一部对讲机,拥有了自己矿山,带领开发房地产,钞票哗哗流进来。 赚钱,对他来说才是最容易的事情。 陈晓穿越大唐贞观初年,继承了家中位于长安东市的酒楼。 哪知那唐皇李世民化名李二哥,成了酒楼的常客。 推杯换盏之余,李世民的问题也越来越奇怪: “陈掌柜,突厥屡屡南下劫掠,可有一劳永逸的办法?” “陈掌柜,蝗灾荼毒天下,朝廷应当如何应对?” “陈掌柜,天下之大,我大唐铁骑如何能雄霸天下?” 陈晓有些头疼,我就一开饭馆的,你总问我这干啥? 关键是,大唐铁骑怎么还真雄霸天下了?一个公布于天下,被豪门家族抛弃的弃子。另一面却是玩世不恭的纨绔少爷却忍辱入了赘婿,然后如何转变 创造他的商业传奇。。。。。一个爱回忆过去的人
龙邮票 邮票互动网 世界上第一枚邮票 中国邮票 猴年邮票 第三轮生肖邮票 中国邮票 邮票价格 邮票市场 纪念邮票 邮票行情 南京文交所钱币邮票交易中心 大龙邮票 十二生肖邮票 纪念邮票 邮票收藏价格表 邮票收藏 文革邮票 上海邮票网 邮票 上海邮票网 南京文交所钱币邮票交易中心 奥运邮票 邮票 邮票网 世界上第一枚邮票 香港回归纪念邮票 南京文交所钱币邮票交易中心 邮票交易所 女幽灵 百度网盘下载 迅雷下载 第三轮生肖邮票 邮票收藏价格表 中国邮票 南京文交所钱币邮票交易中心 民居邮票 邮票图片 女幽灵 百度网盘下载 迅雷下载 生肖邮票 上海邮票网 邮票图片 穹顶之上谁主沉浮我的前世记忆之太古山海玄令花时酒一瓢穿越之我的系统不对劲心主万界穿书反派的我只想杀青,女主人设崩坏了黑白通常依剑听雨梦与现实碎一地温岭灵异事件仙影魔踪诛万魔元宇宙:最后防线旅行青蛙:开局一颗烧烧果实,我炸了教室魔亭川老槐树下的故事阶梯上的故事重生之超级导演苟之道女装大佬的我混的风生水起银晶卫浴柜请复制到浏览器打开 法标浴室柜 百强马桶 窗水波幔帘工程量按"延长米"计算是什么意思? 昆山杨树路房价 雅宝沙发 水平旋转式仓库的货架 布艺沙发价格 沙发 牌子 百强家具官网 云南省怒江州泸水县有哪些小区 开搬家公司具体怎么做 定做衣柜 进口浴室柜 朝阳牌卫浴 衣柜品牌 包覆厂家 烟台实木家具 惠州二手房 空心砖机价格 仓库货架多少钱 白云苑小区 漆包线价格 落地浴室柜腿会发霉吗 朝霞小区论坛 长沙专业整体衣柜定制加工 衣柜展 微晶石马桶 长沙 沙发 什么鹰马桶 马桶座松了 盘龙山庄房价 二手房转让 高层小区 窗帘店上门 福州 自助仓库 顺德卫浴厂 材铝门价格 墙纸价格 沙发网论坛首页 箭牌卫浴报价 十字绣成品价格表 马鞍路房价 床 衣柜 颜色 柜锁厂家 新中式浴室柜什么材质好 欧式双层水波 一体马桶 肥城市内有多少小区共有多少人 走入式衣柜 党山浴室柜 冬青树价格 阳光家具有限公司 浴室柜厂名 装衣柜 插座要不要拆了 欧式衣柜线 临汾 警苑小区二手房 钢铁货架 大庆小区 福州轻型货架 广州大众搬家公司咨询 水口卫浴 形象柜货架 窗帘风格 水波尺是什么样的 成都万科魅力之城四期一栋房价 制作水波帘的视频 万事达货架 反光漆厂家 广州搬家公司电话 维卫智能马桶怎么样 华中卫浴 健牌马桶 红星浴室柜 帝陶马桶 仿古浴室柜第一品牌 挪亚家家具 成都二手房价 多芬浴室柜 打桩机价格 武汉盘龙城房价 砌块砖厂家 地漏价格 郑州货架批发 北京车库门厂家 杉树价格 上海武宁区房价 付家庄小区 武威市廉租房价格 机械化货架仓库 厦门企业搬家公司 蜀山区设备搬迁电话 小户型走入式衣柜 海棠木家具的优缺点 上海正规搬场公司电话 浴室柜fp4692配的龙头 中b货架 高弟浴室柜 窗帘欧式水波幔头裁剪 不锈钢合页价格 中洁浴室柜 房价会跌吗