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"
最终使命电视剧电视剧视频大全下载到手机软件中央第八套电视剧直播在线观看好看的丧尸电视剧排行榜怦然心动电视剧演员表最终使命电视剧电视剧凤求凰在线中央第八套电视剧直播在线观看热爱 电视剧 徐贤照片无间道电视剧咖啡店金牌投资人电视剧导演最终使命电视剧电影电视剧走光镜头金牌投资人电视剧导演中央第八套电视剧直播在线观看无间道电视剧咖啡店热门电影电视剧国产电视剧远大前程全集国产电视剧远大前程全集新电视剧《贺龙元帅》有爱的电视剧红楼梦电视剧高清视频下载郑和下西洋电视剧种子爱奇艺 电视剧 大丈夫02怦然心动电视剧演员表电视剧 死亡好看的丧尸电视剧排行榜我的丑娘电视剧全家福新电视剧《贺龙元帅》电影电视剧走光镜头不同的经历,不同的基因,不同的环境,造就一群不同的人。 总有人会从普通人群中脱颖而出, 有的人成为商人老板 有的人成为国家栋梁 有的人成为娱乐明星 而有的人却成为了普通人眼中的异类。【老婆做封面,快乐永无限!】 陈阎在末日寻找病毒血清,在关键时刻惨遭女友背叛,濒死之际意外觉醒了死亡系统,转世重生到年前。陈阎:什么死亡才能变强?“大哥,该吃药了。” 一碗药,让秦天穿越附身在同样被一碗药干废的同名天才少年身上。 “想我堂堂七尺男儿,怎能拜倒在你的石榴裙下,认一个女子当师傅。” “不拜师也可以,信不信我找几个弟子带条麻袋来陪你聊聊人生。” “师傅,请您喝茶!” 大丈夫,当能屈能伸,为了复仇,哪怕是裆下之辱,老子也得带着一脸痛苦钻过去。 修行怎能分心,该打。 你打坐的姿势不对,该打。 你出招的方式不对,该打。 谁让你私自突破的,该打。 谁让你...... 师傅,我就进来给你送杯茶,你怎么也打我啊? 额,谁让你送的茶这么烫。 不可能,我尝过了,根本就不烫。 你......穿越大唐,意外成为李靖的第三个儿子。 因刚穿越的他按照系统指示逃婚,两年后,对突厥用兵的李靖与李世民发现了他的踪迹......然后他们就懵了,这是什么?没见过吧土鳖,这叫华子,可好抽了,老李,你今有口福了,来吹瓶啤酒。 时代无情,岁月流逝。想要成为天地间最强大的存在需,勿忘初心,面对世间种种困难,不惧因果,敢于尝试,学会放弃。豺狼当道,虎豹环视,一招不慎,便是万劫不复;心不狠,站不稳,杀伐果断,只为无上权力。萧子暮重生成婴儿,等反应过来自己已经夺了女帝修为。 “萧子暮,还我的修为。” “不然我让你死的很难看。” “听话,你虽然是女帝,但好歹是妹妹,小心我打你!” 女帝闭嘴,眼泪汪汪。 “乖!把你的修为再给我点吧。” 女帝破口大骂,只想一刀解决这个依靠自己灵力发育的天仙大帝!大乾末年,工业革命刚刚完毕,天下大乱,帝国第一纨绔、当朝皇帝的外甥、帝国三等侯爵高绍义忽然觉醒了地球的记忆,本以为可以娇妻美妾,继续纨绔下去,但现在的大乾帝国风雨漂泊,外有强敌,内有昏君,保命都是个问题,高绍义无奈走上自强之路,卖了祖产开启武器兑换系统。 嘟嘟,恭喜宿主兑换成功98K两千只。 嘟嘟,恭喜宿主兑换成功155毫米重炮20门。 嘟嘟...... 靠武器兑换系统和自己的聪明才智,高绍义对内铲除奸臣,对外四处征战。 平原上数万坦克装甲车如万马奔腾一般。 海洋上百艘航母为首的三大舰队为帝国签下数百份不平等条约。 高绍义大手一挥,三军踏平一切胆敢抗天朝者! 束发少年,身处江东。面对蜀汉灭亡,晋国日益强大,怎能坐视不管?新皇登基,抚恤人民,开仓振贫,减省宫女,江东真可复兴?晋吴隔有长江天堑,吴国可还有周瑜、陆逊等英才?黄山将士,随我一起防卫江东!无双,南云洲文湖国二皇子,天赋绝世,却因一场突然的变故,卷入纷纷尘世…
笑展乾坤 全民国主:朕率大秦横扫八荒 生化之无人生还 重生后再次崛起杀回魔界 守望:光与暗的对决 私家侦探之遗产 不死武皇 留守儿童之阿礼 亡域轮回 此刻我独领风骚 道士下山之都市修行 雄威!大唐无双 修仙致富系统 新世纪之何生 骷髅神皇 皇霸天外天 生于春,凉于秋 大唐风雨录 逆天魔魂 抽刀难断回忆的河 黄金商道电视剧 无间道电视剧咖啡店 热门电影电视剧 国产电视剧远大前程全集 黄金商道电视剧 青春联盟电视剧全集在线观看 沈腾的电视剧电影2015 言情伦理电视剧排行榜前十名 电视剧 死亡 电影电视剧走光镜头 郑和下西洋电视剧种子 郑和下西洋电视剧种子 爱奇艺 电视剧 大丈夫02 无间道电视剧咖啡店 电视剧 陈娅 怦然心动电视剧演员表 亲吻电视剧大全 百度视频大全 电视剧 死亡 有爱的电视剧 最终使命电视剧 卧底归来 电视剧结局 中央第八套电视剧直播在线观看 电视剧视频大全下载到手机软件 红楼梦电视剧高清视频下载 言情伦理电视剧排行榜前十名 爱奇艺 电视剧 大丈夫02 电视剧 死亡 电视剧视频大全下载到手机软件 有爱的电视剧 电视剧 死亡 国产电视剧远大前程全集 卧底归来 电视剧结局 好看的丧尸电视剧排行榜 最终使命电视剧 爱奇艺 电视剧 大丈夫02 怦然心动电视剧演员表 搭错车电视剧2015简介 沈腾的电视剧电影2015 爱奇艺 电视剧 大丈夫02 搭错车电视剧2015简介 怦然心动电视剧演员表 电视剧孤儿洗澡 新电视剧《贺龙元帅》 亲吻电视剧大全 百度视频大全 金牌投资人电视剧导演 卧底归来 电视剧结局 郑和下西洋电视剧种子 怦然心动电视剧演员表 小草进城电视剧 电视剧凤求凰在线 亚星官网 亚星游戏官网 亚星游戏官网 亚星官网 亚星官网 走过云端 修仙致富系统 末世之黑门降临 师姐请自重 开局天降系统,我见义勇为 亚星官网 万利官网 欧博官网 亚星官网 AG真人 无间道电视剧咖啡店 电视剧凤求凰在线 我的丑娘电视剧全家福 最终使命电视剧 电影电视剧走光镜头 爱奇艺 电视剧 大丈夫02 亲吻电视剧大全 百度视频大全 搭错车电视剧2015简介 电视剧 死亡 无间道电视剧咖啡店 无间道电视剧咖啡店 爱奇艺 电视剧 大丈夫02 小草进城电视剧 黄金商道电视剧 中央第八套电视剧直播在线观看 新电视剧《贺龙元帅》 卧底归来 电视剧结局 国产电视剧远大前程全集 沈腾的电视剧电影2015 最终使命电视剧 电视剧孤儿洗澡 郑和下西洋电视剧种子 卧底归来 电视剧结局 电视剧 死亡 热门电影电视剧 无间道电视剧咖啡店 最终使命电视剧 我的丑娘电视剧全家福 爱奇艺 电视剧 大丈夫02 电视剧视频大全下载到手机软件