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"
平安信用卡客服人工电话交通信用卡取现手续费多少申请车主信用卡需要什么交通银行信用卡申请记录信用卡淘宝退款没收到平安信用卡客服人工电话信用卡外币捐款申请车主信用卡需要什么合肥民生信用卡办理华夏信用卡 优惠农业信用卡挂失以后又找到了申请车主信用卡需要什么温州信用卡垫还农业信用卡挂失以后又找到了平安银行信用卡2015洗车华夏信用卡 优惠招商银行信用卡cf广发信用卡柜台办理信用卡淘宝退款没收到广发信用卡diy卡额度昆明广发信用卡办理广发信用卡柜台办理合肥民生信用卡办理平安信用卡调临时额度建行信用卡淘宝退款招商信用卡可以无卡取款吗建行信用卡淘宝退款平安信用卡调临时额度广发信用卡diy卡额度包头市中国农业银行信用卡好办吗 未来世界,人类与人工智能大战之后,人类败退逃离地球,留下的人工智能与人类遗孤各自形成了两大对立阵营,人类社会退化到奴隶社会。动物界得到发展,各种史前生物野蛮生长,多种元素的结合,形成了一个多元的世界,这里有龙,有神,有妖,还有外星人。 玄霄云意外穿越到未来,他在未来遇见了整天追他要房租的美女房东,故事就此展开......莽荒之间,我叶枫开一剑独尊,创仙侠万世之洪荒,入无仙之境。领天灵派入大陆第一门派,修无力之魂,酿天地琼浆,品天河寒露,辟万古之剑,名曰:天影回光 在一片大陆上,一位神灵四处游荡,它走过之处都生出了无限生机。神灵的身上四散出灵,这些灵跟着神灵游荡,不同的旅程使灵不断变化,逐渐化为各种形态,形成了灵族和妖族… 一处灵在游历的时候不慎相互融合,亦为吞噬。吞噬后,幸存下来的灵成长速度异常加快,吞噬灵也渐渐痴迷上了这种成长方式。大量的吞噬灵不断吞噬,不断变化,逐渐形成了魔族、血族与鬼族。三族都需吞噬其它灵才能成长,若不愿再吞噬,轻则灵能枯竭,消逝加快;重则耗尽,在痛苦中死去…… 那位神灵总结了旅途中的所见所闻,被自然选择成为了自然之神。与此同时,它看见了人间的自然愈发恶劣,无奈无法干涉,它借梦的方式让部分人类来到了芸灵大陆,学习如何保护自然界的方法。芸灵大陆中的灵也感受到了人形的便利之处,渐渐都化为了人形。一些人在这里诞下子嗣,这些人类与灵或妖之子,集合组成了人族,而这一变化也被魔、血、鬼三族窥视着。在种种原因的促使下,第一次灵魔大战开始了……我以凤凰之身斩尽恶人, 我以血肉之躯除尽杀戮。 少年出生在一个普通到不能再普通的小村子里,无奈世界残酷至极,人和人,村和村,城和城等处处矛盾频发,少年父母因一些原因而被杀害,少年只能眼睁睁的看着,他愤怒,他一定要报仇,除尽世间杀戮。叶云运气爆棚意外得到一个高纬度制造的次元面板, 并且利用面板走上了穿越诸天万界......一个人,一座城,一段不朽的传奇,一步一步走向最高的巅峰。学生杨小东,无意中卷入一次激烈的足球赛后,便真正地热爱上了足球,经过一番刻苦的锻炼,更有一段离奇的经历,杨小东渐渐成长为了新的球王,他带领着自己的球队南征北战,东闯西杀,战绩辉煌,创造了一个又一个炫丽的神话…… 五年前大批人类觉醒,世界各地陷入一片混乱。一切来的太过突然,是天灾亦或是人祸?是上天赐予人类的礼物?还是世界末日的前兆? 五年游历,叶云经历无数次生死考验,他只求一个真相,以慰忌故友。 只是真相背后又是什么? 魔猴王擎天乃魔界之王、毁灭之王。血红魔眼,乌黑毛发蜘蛛猴血统的猴族传奇角色,来源擎国大陆,擎皇第九子。随故事发展有着形态多变与毁天灭世的武功,叱咤风云,统一整个魔界。 为想得到龙族鼻祖烛龙的力量,与其在众界中开战九天九夜,随后烛龙一爪将他打入深渊。擎天用尽所有力量还是死于非命,转世到一神秘世界大陆,此大陆名为“玄天大陆” 此界每人都有着战魂和属性技能,是修炼法则之界。这也有关于魔猴王擎天的传说。擎天转世来到此界,武功与世界观不符凡体战魂便一无是处,后在此界发展摄影兼业余小说家行业过着平凡生活。 擎天前世记忆会隐约想起便写作成书,后被商家看中提出合作。擎天带兄弟梵一同上路。中途遇飞机坠毁而亡。在冥界对立大闹冥府。冥王得知拿下且夺走等人灵魂,让他们成为鬼差终身为冥界效力。 成为鬼差的擎天得到冥界阴气,战魂化冥魂,前世实力也一一开发。最后找到烛龙烛九阴,再次开启腥风血雨的大战。 可悲的不是失去,而是失去后,无法继续前行。 这是一个冗长的梦,带你走进不一样的玄幻世界!
新回家的诱惑 何老医传 蜀国的冬天 模拟修仙人生 天荒:地煞篇 无极枪圣 海上城堡 凡尘炼体 妖人在都市 网客行动 万世之无敌 作为普通人,分身强亿点很合理吧? 异乡永眠 三国,想成仙,被曹操赐婚 你是天神 夕阳王朝 神奇的杰克 大汉之上 抱歉,这火我传不了 圣堂之眼 信用卡淘宝退款没收到 交通信用卡取现手续费多少 广发信用卡diy卡额度 工行 信用卡 车险 信用卡淘宝退款没收到 农业信用卡挂失以后又找到了 工行怎么查询信用卡帐单 怎样查询工行信用卡账单 农业信用卡挂失以后又找到了 光大炎黄信用卡好审请吗 申请车主信用卡需要什么 申请车主信用卡需要什么 农业银行信用卡网申都是500 交通信用卡取现手续费多少 包头市中国农业银行信用卡好办吗 浦发银行 信用卡 星巴克 平安信用卡客服人工电话 广发信用卡柜台办理 建行信用卡淘宝退款 包头市中国农业银行信用卡好办吗 支付宝能还交通银行的信用卡吗 信用卡外币捐款 建行信用卡淘宝退款 合肥民生信用卡办理 怎样查询工行信用卡账单 华夏信用卡 优惠 广发信用卡柜台办理 建行信用卡淘宝退款 交通银行信用卡申请记录 广发信用卡柜台办理 工行 信用卡 车险 支付宝能还交通银行的信用卡吗 招商银行信用卡cf 包头市中国农业银行信用卡好办吗 农业银行信用卡网申都是500 浦发银行 信用卡 星巴克 穿越火线信用卡申请 工行怎么查询信用卡帐单 平安信用卡调临时额度 平安银行信用卡2015洗车 建行信用卡淘宝退款 2015年信用卡开卡活动 工行怎么查询信用卡帐单 浦发银行 信用卡 星巴克 农业信用卡挂失以后又找到了 挂失他人信用卡 工行 信用卡 车险 建行信用卡淘宝退款 中信银行信用卡查询余额 穿越火线信用卡申请 亚星官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 中富帅找罪受 镜像森林 梦里的你再强大也是真的 灵异:最后一个扎纸匠 半步兵神 亚星管理平台 澳门葡京官网 葡京官网 亚星管理平台 万利官网 浦发银行 信用卡 星巴克 挂失他人信用卡 光大炎黄信用卡好审请吗 招商信用卡可以无卡取款吗 2015年信用卡开卡活动 温州信用卡垫还 农业信用卡挂失以后又找到了 浦发银行 信用卡 星巴克 包头市中国农业银行信用卡好办吗 怎样查询工行信用卡账单 广发信用卡diy卡额度 农业银行信用卡网申都是500 穿越火线信用卡申请 平安信用卡调临时额度 2015年信用卡开卡活动 申请车主信用卡需要什么 农业银行信用卡网申都是500 挂失他人信用卡 招商信用卡可以无卡取款吗 招商信用卡可以无卡取款吗 华夏信用卡 优惠 2015年信用卡开卡活动 农业信用卡挂失以后又找到了 挂失他人信用卡 温州信用卡垫还 信用卡外币捐款 合肥民生信用卡办理 平安信用卡客服人工电话 广发信用卡柜台办理 平安信用卡调临时额度