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"
机器人 游戏大全饥饿鲨的世界小游戏机器人游戏排行机器人战机3d游戏破解版下载关于银河系的游戏机器人 游戏大全国际乒乓球大赛小游戏机器人游戏排行饥饿的鲨鱼游戏 爆发国产 学校 恐怖 游戏鬼镇冒险小游戏机器人游戏排行国产恋爱游戏大全鬼镇冒险小游戏机器人战机3d游戏破解版国产 学校 恐怖 游戏获取橙光游戏文本鬼屋历险记游戏攻略关于银河系的游戏机甲奥特曼正版游戏下载安装饥饿的熊二小游戏鬼屋历险记游戏攻略饥饿的鲨鱼游戏 爆发机场救火车游戏关于翼龙的冒险游戏饥渴游戏讲的是什么关于翼龙的冒险游戏饥渴游戏讲的是什么时候机甲奥特曼正版游戏下载安装国产模拟恋爱游戏末世危机突然降临,世间人性在末世的摧残之下统统暴露出最真实的一面,这凄惨人间是否需要毁灭,又是否能获新生?而又是谁来做出这一切?天地不仁,以万物为刍狗!执棋者,以天地为棋盘,众生为棋子,身为棋子却想掀翻这棋盘,而他做的便是“要这天再也遮不住我的眼,要这地再也不能束缚我的脚步;我要踏碎凌霄放肆桀骜,我要用这铁棒打散那满天的神佛!”有那么一类人天生就是王侯将相的命,他们一人之下万人之上,享受着翻云覆雨的快感,殊不知,在他们头顶,还有一顶帽子将他们死死扣着,这顶帽子上面就只有一个字:皇。 红尘俗世,纸醉金迷,当一位潜心修道的少年踏入其中时,又会发生什么样的奇缘?踏着尸骨累累的道路走来,完成成为皇者的征途。他,注定是成为皇的男人! 求订阅!求票! PS:这本书不会太监,长歌会坚持写完,就算没人看也一样!【江湖+鉴宝+盗墓】我从小没上过学,跟着一位漂亮女人学了十年手艺。十年时间,她锻造了我一对“鬼眼”,辨识天下奇珍异宝。练就了我一双“佛手”,破局下套横行无忌。教会我一身“神技”,从容玩转江湖乾坤。 我用多年来在古玩江湖摸爬滚打的亲身经历,告诉大家一个颠扑不破的真理:古玩不是玩古,而是玩人! 简介:穿越平行世界,许聪收获了一个可爱的女儿。 可还没等到好好疼爱,女儿就被逼捐,被体罚。一怒之下,拥有系统的许聪,叫来了娱乐圈的一位天皇巨星! “敢欺负许先生的女儿,你这辈子就生活在阴影中吧!” 从此,许聪一边和小姨子带娃,一边靠着系统,在娱乐圈迅速崛起。 歌后,影帝,顶流,想得到我的指点帮助,成为我的门徒?先问问我乖女儿再说! 宣传、策划、投资,想开会和我商量一下?等着,没时间,没看我正陪女儿看喜洋洋呢吗? 乖女儿,来,亲一个!mua!平行时空,异世为人,不是王侯将相,没有未卜先知,唯有科学,唯有革命,你有你的孙子六韬,我有我的论持久战,论游击战。 本书又名寒门人士发家记,这个人怎么什么都懂,我在异界当龟公的那些年,天下石人一只眼,始知我命由我不由天两个月气走三个班主任。 面对有着教师修罗场,学渣游乐园之称的学渣特长班——七班。 即使教导主任开出极高的待遇,一群老教师们也是一个个坐如泰山,无人肯领命。 恰在这时,作为实习教师的陈楚激活最强教学系统。 于是毛遂自荐,成为七班新的班主任,从零开始打造世界最强特长班。 体育特长生:“我奥数竞赛全国第一。” 绘画特长生:“我科研竞赛全国第一。” 舞蹈特长生:“我知识竞赛全国第一。” 升学在即,领导视察,全懵了。 “让你代管特长班,怎么全保送了!?”武神,是所有人都想达到修为高度,成为武神,便可傲视整个世界。但云飞所处的那一片大陆因一场前所未有的大战倒退了不知多少年,为了打破禁锢,他带领伙伴们毅然踏上那条虚无缥缈的成神之路,去寻找大陆传说中的神器,却发现一个巨大的阴谋。那个让世界陷入绝境,让人恐惧胆颤的女人即将重回大陆,她的名字让所有人为之颤抖,她是那个站在武神之巅的人,拥有大陆最强武器,一招便可灭世,出现即是末日,而一切都压在了他的身上..沈倦,本是上古时代统治四方大陆的一代大帝,可在数万年前讨伐魔种的战争之中不幸身受重伤,灵气枯竭而亡。转世之后的他,又将在四方大陆之中掀起怎样一场浩劫呢??!【诸天副本降临,即将开启!】 【这是你们灵魂升华的一次机会!】 全球危机,罗明开启唯一性天赋! SSS级天赋——不对等交换! 【交换完成!您用半盒泡面交换SSS级潜力永不枯竭!】 【交换完成!您用一瓶悲酥清风交换斗转星移!】 …… 从此,罗明开启了交换新模式。
华夏首望 网游之下呀下大雨 开局契约麻雀,签到成凤凰 海天大案 从天王开始的练习生 毁灭世界的100种方法 爆笑末世之呆儍萌神 葬尽江湖 越空行者 愛意者 元墟行者 换赎 带着二手车冲出银河系 打穿儒道世界的莽夫 万祖 废柴的科技飞升 特异行者 坐化三千年,发小变女帝? 严舆列传 梦 魇 饥饿女孩 游戏攻略 鬼镇冒险小游戏 国际乒乓球大赛小游戏 机器人战机3d游戏破解版下载 饥饿女孩 游戏攻略 饥渴的保姆游戏在线玩 国际乒乓球大赛小游戏 滚动的数字游戏叫什么 饥饿鲨的世界小游戏 国产 学校 恐怖 游戏 获取橙光游戏文本 获取橙光游戏文本 饥渴游戏讲的是什么时候 鬼镇冒险小游戏 机甲奥特曼正版游戏下载安装 机器人战机3d游戏破解版下载 积分类小游戏规则 饥饿鲨的世界小游戏 饥饿的鲨鱼游戏 爆发 机器霸王龙游戏下载 鬼镇冒险小游戏 机器霸王龙游戏下载 饥饿的鲨鱼游戏 爆发 关于翼龙的冒险游戏 滚仓鼠球小游戏 饥渴游戏讲的是什么时候 饥饿女孩 游戏攻略 饥饿的熊二小游戏 饥饿的鲨鱼游戏 爆发 饥饿鲨的世界小游戏 机器人战机3d游戏破解版下载 鬼屋历险记游戏攻略 机器人游戏排行 机甲奥特曼正版游戏下载安装 饥渴游戏讲的是什么 机器人战机3d游戏破解版 机器人游戏排行 国际乒乓球大赛小游戏 饥渴游戏讲的是什么时候 机器人 游戏大全 机器人战机3d游戏破解版 滚动的数字游戏叫什么 机甲奥特曼正版游戏下载安装 击毙女特务游戏2下载 鬼镇冒险小游戏 滚仓鼠球小游戏 击碎冰块游戏 关于翼龙的冒险游戏 机房小游戏 积分类小游戏规则 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 陨星至尊王 浩瀚的校园 浊酒论剑 谁说人族不能登天! 我怎么混成了最强? 亚星官网 万利官网 欧博游戏官网 亚星官网 葡京官网 饥渴的保姆游戏在线玩 鬼屋历险记游戏攻略 积分类小游戏规则 击碎冰块游戏 击毙女特务游戏2下载 滚动的数字游戏叫什么 机房小游戏 机器人游戏排行 国产 学校 恐怖 游戏 国产公路赛车游戏 滚动的数字游戏叫什么 饥渴的保姆游戏在线玩 国产公路赛车游戏 国际乒乓球大赛小游戏 饥饿女孩 游戏攻略 鬼屋历险记游戏攻略 关于翼龙的冒险游戏 获取橙光游戏文本 机场救火车游戏 机甲奥特曼正版游戏下载安装 机房小游戏 饥饿的鲨鱼游戏 爆发 滚仓鼠球小游戏 国产恋爱游戏大全 机甲奥特曼正版游戏下载安装 饥饿鲨的世界小游戏 饥饿的熊二小游戏 机器人战机3d游戏破解版下载 饥饿女孩 游戏攻略 饥渴游戏讲的是什么