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"
江西省南昌市去成都的火车票达州到凉山火车象山县火车票预售点兰卅至喀什火车票重庆石柱到宜昌火车票江西省南昌市去成都的火车票信阳火车站象山县火车票预售点凯里到义务的火车票呼和浩特 额济纳火车济南到云南火车有到哪里的江西省南昌市去成都的火车票打印过期火车票济南到云南火车有到哪里的象山县火车票预售点呼和浩特 额济纳火车徐州至北京火车时刻表动车安徽砀山到济南的火车安徽砀山到济南的火车安庆到屯溪有火车吗天津河西区到北京火车从许昌到长葛的火车站火车黄泥河到安图宜昌火车站几点停止售票重庆石柱到宜昌火车票天水到张家界火车时刻表兰卅至喀什火车票天津一邹城的火车安庆到屯溪有火车吗打印过期火车票穿越者碰到的倒霉事是什么,你发现不至是你一个人穿越了,而是两人死对头和你前后穿越了。刘衡就碰到了这样的事,开始来回穿梭在两位穿越者之间,搞起了颠覆王朝的重大改革:(1)更天下田曰王田,私人不得买卖。(2)改奴婢为“私属&amp;quot;,亦不得买卖。(3)实行&amp;quot;五均六莞&amp;quot;制,即在国都长安及五大城市设立五均官,政府管理五均赊贷及物价,征收商税,由政府经营盐、铁、酒、铸钱、山泽等。(4)改革币制。(5)改革中央机构,加强相权、兵权;重新划分郡县,更改地名。(6)改革少数民族名称、首领称号。(7)改匈奴为十五单于。 从而在这被他搅的混乱世道做一个幕后王者。“师傅,时代变了!隔壁王二麻子都去做直播了,还赚的盆满钵满!我们算命的也要与时俱进啊!”叶白内心不断劝慰着已故的师傅,实际却是给自己找理由。 “大师,你算得准不准啊?怕不是江湖骗子吧!”网友质疑道。 叶白看着屏幕说道:“什么?你说我算得不准?那我告诉你,你老婆屁股上有颗痣!!!” 该网友当场暴走,顺着网线就要过来砍死叶白。 “这位朋友,你先别激动,我说这是我算出来的,你信不信???” ...... 叶白随手画出一道符箓,就能治病救人。 然而嘴里却劝说道:“朋友们,我们要相信科学!!!” 因为一个绝色女人,黑客和黑帮势不两立。 键盘侠如何跟舞枪弄棒的黑帮一决高低? ······ 中国版《教父》,脑洞大开,令人耳目一新!    同学是只黄鼠狼宇宙初开诞生天地奇宝,鸿蒙灵珠,生死碑,长生草,对应武者的精气神 ,得三件奇宝者可得永生。别人怀宝剑,我有笔如刀。 朝为田舍郎,暮登天子堂; 将相本无种,男儿当自强。他经受了一次次灾难险情的磨砺,意外修成了一些神奇的本领,却不知由来。他如同脱胎换骨一般,斩妖除害,从一个普通人成为功高盖世的战神。镇物,也叫镇邪之物。在民间,镇物用于镇墓、镇宅等。 镇物用得好可以救人,而被心术不正的人利用,也能杀人于无形。吊丝青年穿越唐朝当王爷,开始了诸王争霸战。机智权谋比不过太子李建成,文韬武略敌不过秦王李世民,拚杀玩命完败于齐王李元吉。奈何?唯靠一张利嘴,两把刷子,纵横天下,笑傲江湖。数天下英雄,还看我楚王李智云。陆规再次睁开眼时,看到自己又躺在了熟悉的沙滩上,他坐了起来,愁眉苦脸的叹了口气,望了会前方平静的海面。 然后抬手一巴掌打在自己脸上,一阵呲牙咧嘴。 “哎呦,疼!下手重了!” …… 此时世界,原海贼王罗杰凉了很久了,而性格神似二傻子一样的路飞,两年后也要出海了。 陆规不知道自己该何去何从,难道走老路,再死一回?
表白校花,获得魔幻水晶果 摩觉,下 重回游戏开服前 进激的体育老师 九域凡仙 我在异世界种田 帝国驸马爷 系统:转生成狗也要当最强 网王之世界之巅 大明:人在洪武,朝九晚五 你的名字,我的荣誉 夺宝龙城复仇传 荒漠幸存 我带着面板在诸天轮回 灵台神矢:我的兔女郎 刚要修仙,你要渡劫了? 第九行动小组 我是反派男一号 武者修罗 逆苍玄 从湛江南到湛江西火车站怎么走 重庆到遂溪有多少班火车 徐州至北京火车时刻表动车 安徽砀山到济南的火车 从湛江南到湛江西火车站怎么走 都匀到广州乘坐什么火车快 2018年火车团体票预定时间 上海-→西安火车 天水到张家界火车时刻表 打印过期火车票 火车黄泥河到安图 火车黄泥河到安图 宜昌火车站几点停止售票 呼和浩特 额济纳火车 成都火车北站到广元的火车 重庆石柱到宜昌火车票 2018年火车团体票预定时间 天水到张家界火车时刻表 天津河西区到北京火车 江西省南昌市去成都的火车票 重庆到遂溪有多少班火车 象山县火车票预售点 达州到凉山火车 从许昌到长葛的火车站 上海-→西安火车 宜昌火车站几点停止售票 天水到张家界火车时刻表 达州到凉山火车 天津河西区到北京火车 天水到张家界火车时刻表 安徽砀山到济南的火车 重庆到遂溪有多少班火车 兰卅至喀什火车票 江西省南昌市去成都的火车票 宜昌火车站几点停止售票 重庆石柱到宜昌火车票 广州火车站 到松山湖 2018年火车团体票预定时间 宜昌火车站几点停止售票 广州火车站 到松山湖 重庆石柱到宜昌火车票 祁东-广东火车 安庆到屯溪有火车吗 哈尔滨至安贵阳火车时刻表 从许昌到长葛的火车站 重庆到遂溪有多少班火车 火车黄泥河到安图 兰卅至喀什火车票 青岛至伊宁火车票 信阳火车站 亚星游戏官网 亚星官网 亚星官网 亚星官网 亚星官网 新回家的诱惑 白棋?黑棋! 武林剑客! 开局超强神技:化敌为友 具象者们 AG真人 亚星管理平台 亚星游戏官网 AG真人 百家乐官网 阜新--济南 火车 都匀到广州乘坐什么火车快 成都火车北站到广元的火车 祁东-广东火车 宜昌火车站几点停止售票 2018年火车团体票预定时间 象山县火车票预售点 从湛江南到湛江西火车站怎么走 重庆到遂溪有多少班火车 重庆到遂溪有多少班火车 天津一邹城的火车 宜昌火车站几点停止售票 达州到凉山火车 象山县火车票预售点 青岛至伊宁火车票 济南到云南火车有到哪里的 重庆石柱到宜昌火车票 徐州至北京火车时刻表动车 成都火车北站到广元的火车 上海-→西安火车 哈尔滨至安贵阳火车时刻表 济南到云南火车有到哪里的 从湛江南到湛江西火车站怎么走 信阳火车站 重庆到遂溪有多少班火车 江西省南昌市去成都的火车票 都匀到广州乘坐什么火车快 天津一邹城的火车 天津河西区到北京火车 从湛江南到湛江西火车站怎么走