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"
武侠小说 成语王 教授 租房 小说don t put小说纸安有一个鬼医 叫什么小说茵梦湖 小说武侠小说 成语男变女 小说don t put小说纸安湖南 天浴 小说男变女小说 手套范 冰冰和男人睡小说组图don t put小说纸安蜀山 阴阳 小说月夜见小说徐才厚小说男变女小说 手套九龙灯 小说竹林中 小说竹林中 小说小说强 奸小说网动漫小说的名字 女主母亲嫁给男主父亲第一次见面 男主是学音乐的竹林中 小说湖南 天浴 小说网游之卓尔不凡 小说茵梦湖 小说赫海 小说有一个鬼医 叫什么小说网游之卓尔不凡 小说小说强 奸小说网动漫蜀山 阴阳 小说时空错乱,整个蓝星穿越到一个高玄世界之中。 初来乍到,对于陌生环境完全不熟悉,以至于蓝星被打了个猝不及防。 星球文明毁于一旦,土地被霸占,人民被奴役。 主角横空出世,开启万物进度系统! “灵草要一株一株种?” 不好意思!看我一键种植! “灵果还要百年才能成熟?” 不好意思!我一键加速! “大阵还要数年才能布成?” 搞笑!我一键拉满进度! 掌控进度的我吊打一切!谨以此致敬高三的时光 万年前,无敌于世间的剑尊惨败在一位无名刀客的手中。 此后剑道衰微,剑修凋零。 直到,万年后剑尊之徒许安然自沉睡中苏醒,沉寂已久的剑道才重焕生机。 面对这个物是人非的世界,许安然所能依仗的唯有手中残剑。 为重振剑道,许安然将用手中的剑荡尽诸敌,淋浴神血,登峰造极! 他要向世人证明,剑才是兵中帝王! 听 昨夜有戎狄,叩我雁门关,攀我十丈城墙 看九州有烽火,江山千万里,烽火次第燃 我高歌送君行,掌中弓虽冷,鲜血犹是滚烫 且为君倾此杯,愿君此行归来,踏凯旋……只有千锤百炼才能成就,一次又一次的折磨换来一次又一次的强大,从仁心到黑化,是一次又一次的绝望的经历!【老白文+单女主+扮猪吃虎+轻松搞笑】 林一穿越到蓝星一个穷困的大学生身上,为了给家里的父母治病,同时供妹妹上学,原主借了一屁股贷款,同时一天打两份工,最后猝死在工地上。 魂穿此身,林一也被原主各种贷款压得喘不过来,此时此刻,林一游戏系统觉醒,在这个精品游戏匮乏的蓝星,林一先是祭出两款沙盒神作,对蓝星单机市场降维打击,同时又以雷霆速度组建自己的3a游戏项目组,带给蓝星一个又一个的游戏奇迹!他,长生王者,为了却心愿,乘兴而归,甘愿伴她左右,护她周全。 为她,逆了天下,只为一言之诺,蓦然回首,踏血而歌! 为她,亡了诸国,只为一怒红颜,腥风血雨,血染皇城!空无大陆,灵气旺盛,万物皆是以灵气修炼。因为种种原因,主角公孙言生为人类,幼年时却和魔兽生活在一起,也证实了他的不一般。想要知道这个世界究竟是什么样子?就让我们一起来见证吧。穿越到异世界的浩,成神之后还是想回到地球,于是在一年后,又回到自己成神之前的世界,下界之后虽然被掌管者封印了实力,却被告知这个世界有他想要的东西。可惜天上一天,地下十年,这个世界已经天翻地覆,于是浩又开始他的日常修真之旅。特种部队猛虎作战旅的战士梁建华外号海蛇,在一次军事演习对抗中,因被对方的炮弹击中,无意间穿越回到百年之前的1910年东北,在匪患猖獗的环境中,制造现代化武器,尽显卓越能力,并且左右逢源,获取佳人芳心,收编其他武装,对抗国外侵略,最终成为一代英豪…
二人的生存之道 文明养殖手册 逃亡笔记之冰球大作战 重生之时间回溯系统 漫威:漫画家也想拯救世界 娱乐:欠命音乐妖孽 娘胎难产:开局就将母亲堆成仙 维克托:失忆 重生在三国之三朝四国志 书童凶猛 怪物大师:新传说世纪 青城风云 御界破荒 樱花树下的罪恶 炼妖手册 大道同启 名为仙 浮世短篇小说集 魔鬼鱼海贼 全民星:签之力重置 日本小说给女儿的生日礼物 刘冕 小说 九龙灯 小说 茵梦湖 小说 日本小说给女儿的生日礼物 乔安的小说 high school dxd小说结局 淇渝 小说 下载 赫海 小说 小说 催眠香烟 湖南 天浴 小说 阳光中文网 小说 小说 细腻 片段 刘冕 小说 武侠小说 成语 茵梦湖 小说 high school dxd小说结局 赫海 小说 杜悦屈润泽 小说全文 don t put小说纸安 刘冕 小说 徐才厚小说 王 教授 租房 小说 月夜见小说 男变女小说 手套 小说 细腻 片段 赫海 小说 王 教授 租房 小说 杜悦屈润泽 小说全文 赫海 小说 茵梦湖 小说 刘冕 小说 火柴人小说 武侠小说 成语 网游之卓尔不凡 小说 茵梦湖 小说 火柴人小说 九龙灯 小说 小说 细腻 片段 徐才厚小说 有一个鬼医 叫什么小说 小说 催眠香烟 进化者+墨间+小说 high school dxd小说结局 月夜见小说 刘冕 小说 阳光中文网 小说 有一个鬼医 叫什么小说 小说 细腻 片段 男变女 小说 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 神御,焰之祖 三国:做卧底,被董卓偷听心声 猎人叶轻之滴血青麟 穿越成为魔法师 关于我重生了却失忆这件事 澳门葡京游戏官网 葡京官网 AG真人 澳门葡京游戏官网 万利官网 乔安的小说 小说强 奸小说网动漫 茵梦湖 小说 小说强 奸小说网动漫 网游之卓尔不凡 小说 武侠小说 成语 阳光中文网 小说 小说的名字 女主母亲嫁给男主父亲第一次见面 男主是学音乐的 湖南 天浴 小说 火柴人小说 武侠小说 成语 茵梦湖 小说 早年一部小说被继父强奸后出家 男变女 小说 竹林中 小说 小说 细腻 片段 男变女 小说 阳光中文网 小说 阳光中文网 小说 淇渝 小说 下载 范 冰冰和男人睡小说组图 杜悦屈润泽 小说全文 武侠小说 成语 徐才厚小说 don t put小说纸安 日本小说给女儿的生日礼物 小说 催眠香烟 九龙灯 小说 赫海 小说 网游之卓尔不凡 小说