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"
短信尊敬的信用卡用户调整工行信用卡还款日期短信尊敬的信用卡用户多办几个信用卡高铁 信用卡 推荐东莞通银行信用卡房贷申请办理信用卡二类卡和信用卡区别房贷记录办信用卡额度吗个人异地买社保怎么办理信用卡个人5张信用卡额度是多少钱短信尊敬的信用卡用户仿制黑金信用卡个人5张信用卡额度是多少二类卡和信用卡区别个人异地买社保怎么办理信用卡房贷客户办信用卡额度多少钱个人5张信用卡额度吗个人5张信用卡额度吗东亚银行信用卡面试调整工行信用卡还款日个人5张信用卡额度吗房贷记录办信用卡额度吗东亚信用卡预约上门吗高铁 信用卡 推荐定火车票可以信用卡吗多办几个信用卡东亚信用卡预约上门吗东亚银行信用卡面试仿制黑金信用卡 封林是一个在北京潘家园旧货市场开旧物店的小老板,一次在给店里的老房屋装修的机会,竟然在家里墙壁地下暗格发现一个密室,不太大的密室角落里有着一口上了锁的红色的木箱子,盒子打开后里面有着几样东西,一块巴掌大纯金的腰牌。 一本非常破旧的遁甲巫术古书, 还有着一本记录了很多秘事的明朝古书,还有一张残缺不全的地图,箱子里面藏着很多的秘密,让他知道了自己的家族竟然是一个传奇盗墓家族的后人 从古至今的家族秘密缓缓的被揭开,父亲的突然消失,也与此事有关,是为了寻找哪些传说中的东西。 自己兄弟的回归,退役特种兵赵雷,去追寻着父亲的脚步去寻找那传说中的古遗迹,不得不踏入那些恐怖之地。 入活人的禁区,与僵尸斗法,与活人斗智,有一张尸面的鬼狐仙,荒冢野坟墓里的媚女,害人的白皮千年老狸子,披着美女人皮的行尸走肉,几十年难得一见沉没在海里的幽灵鬼船。 一张残破不全的地图,一截刻满符文的龙骨,到底藏着什么秘密? 不周树下埋真仙,星外来客接连天。 日子人朱长明如何走向仙途?60年代的一次偶然相遇,从此,他和她的命运便紧紧联系在一起。他为了她,抛弃地位和财富,宁愿一切从零开始。她为了他,含泪步入他门,但心灵深处却从未与他远走。两心相依,是他们今生的企盼。来世聚首,是他们此生最大的心愿。且看他们在生命的路途中,如何用青春的音符,演奏一曲都市恋歌;怎样用智慧和汗水,携手编织明天的彩虹。一段爱恨情仇,一代精神领袖,横跨三界,携美女畅游九州,奋战疆场,金戈铁马,策马奔腾,穿越万里河山,与夏王开华夏一统,与褒姒调丝竹之情,领勇士救刘邦,出入汉宫,霓裳羽衣,再现华夏文明,助太宗杀兄泡嫂,与李治共享武媚,环肥燕瘦,皆出其手,他,是英雄、是败类、是奸雄、还是淫贼,上下五千年,皆无定数,一切皆有后人评说……江湖并不只存在古代,现代江湖更加澎湃。 风起云涌时谁将乘风而上,变异突生时谁又能保全自身。 本书无系统,传统类都市。言钦雅有四张面具,首为狐耳,是对黎明百姓仁慈与怜悯,然愚民不可救,围而攻之,遂出黑龙,怒而屠城;冷静之后,蝶衣覆面,游荡江湖,放逐为自由;奈何红颜为君倾,赠君鸣凰,携妻归庙堂。想要变强吗?想要成为不可一世之人吗?去吧!去读书吧!没错我把一切都放在了那里! 学渣资质的单良表示:问题不大,大也没用。升级干就完了,另外赌狗必死。陈羽穿到了一个人人都是创世主的世界。 每个人到达十六岁之后,就会觉醒世界种子进行创世。 世界的等级,决定着每个人的实力与地位。 许多人苦思冥想,不知道如何创造出一个强大的世界,只能够按部就班,千篇一律的创造前人们已经创造出来的世界,而陈羽脑海中却装着无数的小说、神话。 所以,陈羽一开始就决定创造记忆中最强神话,最强世界,最强文明——洪荒世界! “你具现了先天至宝混沌钟。” “你具现了祖巫精血。” “你具现了十二祖巫,获得盘古真身。” “……” 武道世界、西幻世界、仙侠世界、科幻世界……诸天万界,无数世界,洪荒为尊! 古往今来,世间流传仙、神的传说,而时至今日,仙路缈缈,已然进入末法时代。 天空中,有人矗立,乌云压顶、身处雷电中心;海面上,有人漫步而来,由远及近,片刻却又消失不见,这些是海市蜃楼产生的幻觉? 有传言,海市蜃楼是连接另一时空的桥梁,聚现另一个世界正在发生的景象! 神话故事是否虚构,仙、神,真的存在过吗?”一颗弃子乱了数千年的棋局“
传说在木叶 空尘传 神级操盘手 奥传之绝世武神 最后一个苍狼典客 末路王朝 妖武大帝 异能一本书 我本一书生,娶妻万人屠! 出色魔术师不是魔术 关于我废了之后的那些事儿 xiao周周 开局绑定医者仁心系统 华南之剑 圣荒之主 通玄!天地 云端之顶巅 笑傲江湖:开局签到迅雷剑法 洛海 修仙:我在修仙界开后宫 定存哪家能办信用卡 个人网上社保办理信用卡 房贷客户办信用卡额度多少钱 个人5张信用卡额度吗 定存哪家能办信用卡 定期办信用卡卡 房贷没担保怎么办理信用卡 各银行信用卡的有效期 定火车票可以信用卡吗 仿制黑金信用卡 房贷记录办信用卡额度吗 房贷记录办信用卡额度 东亚银行信用卡利息是多少 个人网上社保办理信用卡 东莞通银行信用卡 高铁 信用卡 推荐 房贷没担保怎么办理信用卡 定火车票可以信用卡吗 调整工行信用卡还款日 短信尊敬的信用卡用户 个人网上社保办理信用卡 二类卡和信用卡区别 调整工行信用卡还款日期 个人5张信用卡额度是多少 个人异地买社保怎么办理信用卡 东亚银行信用卡利息是多少 定火车票可以信用卡吗 调整工行信用卡还款日期 调整工行信用卡还款日 定火车票可以信用卡吗 高铁 信用卡 推荐 个人网上社保办理信用卡 兑换机票 信用卡 短信尊敬的信用卡用户 东亚信用卡预约上门吗 高铁 信用卡 推荐 兑换机票 信用卡 房贷客户办信用卡额度多少钱 东亚银行信用卡利息是多少 二类卡和信用卡区别 多办几个信用卡 福安哪里能刷信用卡 冻结的信用卡注销周期 房贷记录办信用卡额度 个人5张信用卡额度是多少 个人网上社保办理信用卡 房贷记录办信用卡额度 多办几个信用卡 东亚银行信用卡面试 房贷申请办理信用卡 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 遮天帝神 通灵转校生 灵界之下界 一颗陨石给我的力量 天魔,天狼 澳门葡京官网 快连下载 欧博官网 澳门葡京官网 欧博官网 个人网上社保办理信用卡 定期办信用卡卡 定期办信用卡卡 福安哪里能刷信用卡 仿制黑金信用卡 个人5张信用卡额度是多少钱 房贷记录办信用卡额度 房贷信用卡逾期能批吗 定火车票可以信用卡吗 冻结的信用卡注销周期 个人异地买社保怎么办理信用卡 房贷客户办信用卡额度多少钱 东亚银行信用卡利息是多少 福安哪里能刷信用卡 二类卡和信用卡区别 个人异地买社保怎么办理信用卡 个人网上社保办理信用卡 定期办信用卡卡 定期办信用卡卡 各银行信用卡的有效期 福安哪里能刷信用卡 个人5张信用卡额度是多少 个人网上社保办理信用卡 仿制黑金信用卡 高铁 信用卡 推荐 个人异地买社保怎么办理信用卡 调整工行信用卡还款日 东亚银行信用卡利息是多少 房贷没担保怎么办理信用卡 定存哪家能办信用卡