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"
营口哪家驾校能增驾顺安驾校连州城南永高驾校联系电话永泰县福泰驾校烟台高考学车驾校营口哪家驾校能增驾盐山驾校视永高驾校联系电话鑫鑫驾校a2盐山安驾校烟台招远兴达驾校永高驾校联系电话盐山驾校科二考场图片烟台招远兴达驾校永嘉驾校理论报名盐山安驾校盐山驾校视频烟台莱山考试驾校场地烟台莱山考试驾校场地英国驾校有效期兴安驾校属于什么行业烟台莱山考试驾校场地鑫鑫驾校a2银川驾校电话多少钱永通驾校报名多少钱顺达驾校电话盘锦永通驾校报名多少钱银川驾校电话多少钱英国驾校有效期盐山驾校科二考场图片幽魂怨鬼频频出现,这是意味着什么吗?世间即将大乱吗? 在阴穴里滋养数十年的厉鬼,我该怎么去应付? 被饿鬼蚕食的人类,我该怎么去拯救? 从地狱里冲出的鬼潮,我又该如何面对… 隐藏在世间的妖魔,我又该如何分辨… 埋在地里的千年僵尸,我又该如何消灭… 面对冤魂厉鬼我也很害怕,稍不留神就会要了我的命! 李昱穿越十年,用仅记得的十几首歌送给妻子。   没想到就此捧红,一飞冲天成为天后。   李昱也成为天后背后的男人。   可是当他出不了歌,妻子事业正当红时突然提出离婚,并表示事业比他更重要。   也在这时触发神级人气系统。   李昱表示,不装了,摊牌了。   我是天王巨星!神皇无道,天下共伐之! 伐天盟无数修士封印神皇于混沌烘炉,七日炼化,神皇必死! 叶枫:这都特喵大结局了,让我穿越到被干倒的反派BOSS身上干嘛? 哦,原来是有人生编辑系统,这下你们在神皇身上受到的委屈,压迫,我都可以解释了,笔来! 我要让全天下人都知道,神皇不是反派,更不该死,是全天下都误会神皇了! 整个天下,都欠我一条命! 全天下人,都欠我一声对不起!一代魔君萧逸枫被迫重生回到过去, 开局喜提战力天花板老婆,我于人间已无敌? 屁!当他说出,仙子,我真是你夫君时,堂堂一代魔君差点没被妻子掐死。 他发誓要重新征服这冷艳美人! 他腹黑,不舔狗,人狠话又多,为达目的不择手段。 对朋友他是完美的化身,对敌人他比魔教还魔教! 一人分饰两角,将幕后黑手的活全抢了! 表面上他是正道天才,背地里他化身魔教新秀搅动天下风云。这个世上有鬼吗? 真的有,而且有很多。 我叫徐艺,在我十八岁那年,我猛然发现了这个世界的真相。 这里是个多彩的世界,温情的世界,现实的世界,血腥的世界。极北冰垣、泊纳格岛、诡异的腥魂森林、神秘的迷零森林、残酷的努乐哈拉大沙漠、毒气弥漫的蛮荒沼泽,神级魔兽紫羽玄鸟,超级神兽赤须青龙…………主角将在这个世界重生,开始他的峥嵘旅程。 “每当看见奥特曼小视频的时候,下面总会有一堆品论,你,相信光吗?我也会笑嘻嘻的在下面评论我信啊!” “只是,我相信的光,是那些我不知道姓名的人散发的光芒。” “我相信的不是光,是那些燃烧自己散发光辉的人啊!”一卷封神榜,一座封神台,为异界带来一个异数,也是一个变数,掀起波澜壮阔的江湖烽烟。五百年必有王者兴,三千载则当圣人现,一万年沧海桑田,阴川之下,造化之工,天照点将,揭开三千年后封神大战的帷幕。龙啸九天,正心泯仇;凤鸣寰宇,修身弘愿。封神榜起,封神台终,登天梯下,上演着血与火的恩怨情仇…… 贫道纯属虚构,如有雷同,你能咋滴?拔刀吧——人生赢家!“天和武馆”是一个祖传武术世家,家族传承了五千多年的历史,从清朝末年便已经存在了,而且由于家族底蕴深厚,一直都保持着强大的武术底蕴。   随着社会的发展,这种古老的武学渐渐被新鲜事物所替代,不少的古老的武术家族渐渐没落了。 而柔道,跆拳道逐渐兴盛起来,并在全球掀起一股风潮,成为了全球最热门的运动之一,甚至在国际上都有了很高的知名度,很块融入了各个国家,成为了各个国家的重要的民间组织,柔道和跆拳道成为了一大特色的运动,一场传统武术与现代化武术的较量就此拉开帷幕……深渊之中机遇与危机并存,生死与命运相连,于这神秘中,在这深渊中,何者生存
这个魔方不太普通 海贼之破败天下 大明昙花 我永生不灭 我乃救世主 网游之剑铸传奇 采访:这记者能处,有事他真报 当神话出现 星月天帝 天穹:无上人皇 都市之狂帝归来 重生之绝世废少 觉醒白毛少女画风开始变了 轻语花传奇 末世之尸王 北世吟辰 大纪西游 我叫李三四 冒牌神语者 天行渐 顺畅驾校模拟仿真考试 延吉新丰有没有驾校 盐山驾校视频 烟台高考学车驾校 顺畅驾校模拟仿真考试 银川驾校电话多少 盐山驾校视频 盐山驾校教育培训基地 顺达驾校电话盘锦 盐山驾校考试场 鑫泰驾校招教练吗 鑫泰驾校招教练吗 应聘驾校教练员陪练员 延吉新丰有没有驾校 营口哪家驾校能增驾 烟台高考学车驾校 盐山驾校总驾校考场 顺达驾校电话盘锦 顺安驾校赖教练 永高驾校联系电话 延吉新丰有没有驾校 永嘉驾校理论报名 顺安驾校连州城南 烟台招远兴达驾校 盐山安驾校 应聘驾校教练员陪练员 顺达驾校电话盘锦 顺安驾校连州城南 顺安驾校赖教练 顺达驾校电话盘锦 烟台高考学车驾校 鄢陵县驾校 永泰县福泰驾校 营口哪家驾校能增驾 银川驾校电话多少钱 烟台高考学车驾校 永泰县福泰驾校 盐山驾校视频 应聘驾校教练员陪练员 永嘉驾校理论报名 永通驾校报名多少钱 盐山驾校考试场 荥阳有摩托车驾校吗 盐山驾校总驾校考场 烟台招远兴达驾校 鄢陵县驾校 鑫泰驾校招教练吗 永通驾校报名多少钱 应聘驾校教练员陪练员 盐山驾校视 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 苟且偷生猥琐发育 仇恨效应 最后纯血统 我在登基典礼上被截胡了? 仙尊系统,我重返仙界! 欧博官网 百家乐官网 澳门葡京游戏官网 欧博官网 亚星游戏官网 永嘉驾校理论报名 永高驾校联系电话 顺畅驾校模拟仿真考试 盐山驾校考试场 盐山驾校视 永嘉驾校理论报名 银川驾校电话多少钱 顺达驾校电话盘锦 烟台招远兴达驾校 银川驾校电话多少 英国驾校有效期 烟台莱山考试驾校场地 荥阳有摩托车驾校吗 盐山驾校科二考试计划 银川驾校电话多少钱 烟台莱山考试驾校场地 鄢陵县驾校 烟台招远兴达驾校 荥阳有摩托车驾校吗 鑫泰驾校招教练吗 荥阳有摩托车驾校吗 鄢陵县驾校 永嘉驾校理论报名 营口哪家驾校能增驾 盐山驾校科二考场图片 永高驾校联系电话 永通驾校报名多少钱 盐山驾校考试场 烟台高考学车驾校 顺达驾校电话盘锦