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"
电影《孤影》影院热映电影韩国电影运动鲁迅电影简介机械工电影在线观看电影《孤影》电影真人版 迅雷下载韩国电影运动山路弯弯 电影苏州河电影影评美国电影爱情故事下载 迅雷下载电影《孤影》电影 避孕大全美国电影爱情故事下载 迅雷下载韩国电影运动苏州河电影影评最讨女人喜欢的电影男主角围剿电影下集围剿电影下集火女电影结局瓜瓜影音电影网站刘德华最后死了的电影结局雀圣2电影的男主都是谁十三勇士电影下载机械工电影在线观看美国电影中诅咒变成僵尸鲁迅电影简介电影华雷斯血案火女电影结局电影 避孕大全魂穿海贼世界的亚瑟,一名普普通通科学家,在这全员变态的世界如何生存? 别慌,大发明家系统为您服务!附魔台、传送石、仙豆、竹蜻蜓...各种神奇的道具应有尽有。 这就样,亚瑟成了超越贝加庞克的“天才科学家”,不仅征服了海军,还让整个世界为之疯狂。 我们的口号是“发明改变世界!”袖内光藏神武剑,他年待正天西北 这是一个纯粹的剑的世界。 少年青璃,纯净如水,晶莹如玉,藏锋守拙。 公子花华,红莲灿世,燃尽苍穹,解皆烬土。 绿叶映红花,花萼相辉,一路生花。 剑的光影中,是沉沦,还是破除。 生生不息源源不绝还是万物尽皆焚灭于流火 且在这缤纷落英中寻得一剑。 他本对这个世界充满希望,可那贼老天一次又一次的给他带来劫难,身边的人一个个离他而去。 “我早已无牵无挂,何怕这世间万难” 异域战场,他是威名赫赫的龙魂战神。回归故乡,他是藉藉无名的退伍小兵。 潜龙出渊,王者傲世,龙有逆鳞不可触,触逆鳞者,虽强必诛!胡非魂穿大明,成为了华夏最后一任丞相胡惟庸的儿子... 作为一个标准的官二代,他本该走马架鹰,从此过上最嚣张的纨绔生活...   然而,当他意识到不对劲的时候,才突然发现…… 朱元璋为了巩固皇权,已经对权倾朝野的胡相动了杀心! 家父胡惟庸,貌似要凉!? 古神之战,将完整的大陆打得支离破碎,留下了遗址与破损的神器。旧天国,新天国,莱茵,福德,安格恩,天星,六潮……不同的国家都有自己的特色。在这里,还有一群有强大特殊能力的人,被尊称为称号使者,他们有着怎样的生活?和常人又什么不同?普通人难道永远达不到他们的境界吗?一切尽在《破碎的大陆》 (心动了吗?那就赶快阅读吧。BTW作者是业余的,更新比较慢,不过质量还是可以的)写以此书,致我们那个年少轻狂的岁月。萧子暮重生成婴儿,等反应过来自己已经夺了女帝修为。 “萧子暮,还我的修为。” “不然我让你死的很难看。” “听话,你虽然是女帝,但好歹是妹妹,小心我打你!” 女帝闭嘴,眼泪汪汪。 “乖!把你的修为再给我点吧。” 女帝破口大骂,只想一刀解决这个依靠自己灵力发育的天仙大帝!江湖的心中有一条江,江湖给它取名为“湖”。自此,江不离湖,湖不离江。而江湖的心里,住着一片江湖!我的红颜知己,倾国倾城! 我的后台靠山,权势无边! 我的武功医术,举世无双!
大秦:苟成千古一帝的我被曝光了! 重生我再也不会啃老了 逍遥小捕快 英雄的赞歌 太古第一神王 黟山传 清云九歌 文亦有道 修仙原来这么简单 活在封中 幻日 朔夜微茫 末世荡漾 破碎万域 邪灵武侠 神秘复苏之未来诡 神图师 从不良人开始牧马 最强小神农 丧尸的自我修养 我的透视超给力 老电影实习理发师失败杀人做造型 苏州河电影影评 最讨女人喜欢的电影男主角 围剿电影下集 老电影实习理发师失败杀人做造型 电影伐头岭好看吗 电影女孩剪影 印度电影讲印度教和穆斯林冲突 美国电影中诅咒变成僵尸 电影 避孕大全 雀圣2电影的男主都是谁 雀圣2电影的男主都是谁 十三勇士电影下载 苏州河电影影评 电影狐影43集播放 机械工电影在线观看 海根 电影 粤语 美国电影中诅咒变成僵尸 影院热映电影 电影《孤影》 温馨和电影组一句话 韩国电影运动 影院热映电影 刘德华最后死了的电影结局 印度电影讲印度教和穆斯林冲突 十三勇士电影下载 美国电影中诅咒变成僵尸 影院热映电影 瓜瓜影音电影网站 美国电影中诅咒变成僵尸 围剿电影下集 温馨和电影组一句话 鲁迅电影简介 电影《孤影》 十三勇士电影下载 机械工电影在线观看 北大荒电影简介 电影女孩剪影 十三勇士电影下载 北大荒电影简介 机械工电影在线观看 全城高考2电影完整版 火女电影结局 海根 电影 粤语 美国电影爱情故事下载 迅雷下载 温馨和电影组一句话 雀圣2电影的男主都是谁 机械工电影在线观看 怪兽 吃很多骨头 电影 电影真人版 迅雷下载 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 思过崖签到五十年,出关邪剑仙! 废土之红警3 女帝:世子才是真无敌 从天王开始的练习生 摩觉,下 快连下载 亚星管理平台 万利官网 亚星游戏官网 葡京官网 温馨和电影组一句话 怪兽 吃很多骨头 电影 苏州河电影影评 海根 电影 粤语 全城高考2电影完整版 苏州河电影影评 老电影实习理发师失败杀人做造型 印度电影讲印度教和穆斯林冲突 高潮 韩国电影 影院热映电影 电影真人版 迅雷下载 鲁迅电影简介 电影女孩剪影 鲁迅电影简介 火女电影结局 机械工电影在线观看 山路弯弯 电影 美国电影爱情故事下载 迅雷下载 山路弯弯 电影 怪兽 吃很多骨头 电影 影院热映电影 山路弯弯 电影 鲁迅电影简介 影院热映电影 电影伐头岭好看吗 韩国电影运动 电影伐头岭好看吗 电影真人版 迅雷下载 十三勇士电影下载 高潮 韩国电影