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万有归还时间吗农行信用卡怎样提高额度农行信用卡如何修改密码交行信用卡 淘宝支付信用卡分期和宝马金融年收入5万招商信用卡额度年收入5万招商信用卡额度2000元信用卡透支后逾期网上贷款不用信用卡的年收入5万招商信用卡额度交通银行信用卡初始密码信用卡黑名单5年后会消除吗平安信用卡消费记录查询建设银行信用卡注意事项平安信用卡消费记录查询信用卡黑名单5年后会消除吗2000元信用卡透支后逾期信用卡取现2万有归还时间吗为什么想要变强,因为所在乎的人需要我去守护。无限流系统搞笑来袭,看我修神良秀翻四方,这位小友,你准备好小钱钱了吗 我是天的审判者,弹指间人间灰飞烟灭。我是天的审判者,这个世界由我来定义。我有及其强大的实力,有过人的气运。我的一生是孤独的,也是精彩的。我用一生来寻求变强的理由,在我付出千辛万苦的努力下,最终找到了答案,原来变强没有理由。未来之后,人人生而平等。某个现代一个神秘的少年韩霄被一个神秘的世界穿越到武朝时代,但他来到末曾见过一个不一样的古代世界里。 他帮助武朝完成统一,实现了他未曾相识的世界。百年前一战,七股可以修改现实的力量分散到各地,形成七大家族,每个家族都拥有不同的天赋,到了现在,仍以某种方式影响着现实。半人半妖的他;提着修罗魔刀,踏上尸山血海的修罗路,一刀,一式,一人,灭魔,诛神,斩天道。叮!恭喜宿主拾取【神仙颜值】,林枭:“我终于能变帅了吗?”林枭走出家门,“轰”林枭顿时被劈的七荤八素,“叮!由于宿主颜值严重超标,所以宿主不戴面具出门会被劈”林枭:“·-·系统我真的好‘喜欢你’啊,我被感动了。”她宇文曼——大夏国第一个女皇帝。 坐上龙椅的第一天起,她就成为了不折不扣的傀儡。 本来想着就这样混吃等死,结果突然的一场兵变,连傀儡都做不成了...... 当她再一次夺回皇位时,世人对她依然缺乏认同。 在这个群雄争霸的年代,最弱的女皇,居然在所有人眼皮底下捡了个大便宜。 如果治理这个天下能算作便宜的话... 断壁残垣、饿殍满地、民不聊生... 战争带来了至高皇权,也带来了遍地枯骨。 宇文曼正襟危坐,身边是刚刚被册封的“国姓爷”文泰,殿外站着忠心耿耿、整齐成排的士兵,台阶下是一群诚惶诚恐的大臣。 大臣们曾经跪拜过她,又肆意污蔑她...如今为了日子过得去,只好颤颤巍巍的再次向女皇磕头。 好在女皇的心思还不在他们身上。 因为她是皇帝,所以没有退路——进则生,退必死! 奇迹不会一次又一次发生! 她必须整顿纲纪。 必须让难民归乡、让荒废的良田重新长出庄稼。 必须挥舞利剑,赶走那些盘踞中原的豺狼虎豹......自颛顼绝天地通,巫妖诸族皆避世而居,人族坐享其成,崛起已是大势所趋。 但辗转数千载,诸界风云突变,整片魔洲的攻伐几乎成白热化,伏天魔主以惊人魄力统一了整个中洲地界,继而开始布局继续南下。 结果可想而知,紧邻恶魔之眼的几个天国相继沦陷,直接导致人界受到前所未有的波及。 适逢群魔当道,天魔大帝横空出世,以惊人的魄力打开了恶魔之眼,顿时引来三界劫数,西方佛庭在群魔的围攻下,独木难支,惨遭屠戮。 为此,引得天庭震怒,诸神开始极力反思之前的保守策略,转而在玉帝的授意下,开启了末法封禁之战,而这其中最重要的一环,便是去魔洲寻找曾经自诩为神道根源的不世秘密。 就这样,在诸神的安排下,曾经的王者东皇太一开启了寻找力魄的艰难之旅!嘿,我回来了……唐虞帝国
书圣门 负极因子 白墨劫 星际探险:我让大夏国运滔天 无双殿 万神帝尊 入世仙 王者之巅之巅峰之战 至尊法师之龙的传人 没灵脉,那就成为卷轴师! 修吾记 万古帝尊 宗虚公子 人间问道 破天机系列之残马渡阴兵 这个医生有点憨 网游之万界 深秋时节 妻儿殒命:我意外重生赎罪 在异界当神祇的日子 信用卡透支2万分期还 招商信用卡哪种卡额度高 信用卡分期和宝马金融 交通信用卡办了有什么利息 信用卡透支2万分期还 武汉光大信用卡吃大渔铁板烧 信用卡分期和宝马金融 交通银行信用卡贷款分期 建设银行信用卡注意事项 刷信用卡2万 分12期 淄博信用卡贷款公司 淄博信用卡贷款公司 怎么知道自己名下有几张信用卡 招商信用卡哪种卡额度高 有车能办农行信用卡吗 交通信用卡办了有什么利息 买二手车刷信用卡 建设银行信用卡注意事项 贷信用卡需要什么 光大信用卡换肯德基 招商信用卡哪种卡额度高 光大信用卡换肯德基 贷信用卡需要什么 年收入5万招商信用卡额度 交行信用卡 淘宝支付 怎么知道自己名下有几张信用卡 信用卡透支2万分期还 信用卡欠款入狱怎么样 贷信用卡需要什么 建设银行信用卡注意事项 交通信用卡办了有什么利息 广发信用卡pos机单比最多刷1000 交行信用卡 肯德基 有车能办农行信用卡吗 信用卡黑名单5年后会消除吗 平安信用卡消费记录查询 交行信用卡 肯德基 信用卡分期和宝马金融 怎么知道自己名下有几张信用卡 农行信用卡如何修改密码 平安信用卡消费记录查询 交通银行信用卡贷款分期 建行信用卡上海寄到晋江要几天 买二手车刷信用卡 农行信用卡怎样提高额度 广发信用卡pos机单比最多刷1000 淄博信用卡贷款公司 平安信用卡消费记录查询 怎么知道自己名下有几张信用卡 银行为何鼓励办信用卡 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 修道之我把天劫当大补 秋与秋月 十二生肖战纪 诸邪退散 我写个小说,咋就成仙帝了? 百度 百度 百度 百度 百度 刷信用卡2万 分12期 淄博信用卡贷款公司 有车能办农行信用卡吗 招商信用卡哪种卡额度高 刷信用卡2万 分12期 交通银行信用卡贷款分期 交行信用卡 肯德基 贷信用卡需要什么 武汉光大信用卡吃大渔铁板烧 平安信用卡消费记录查询 交通信用卡办了有什么利息 交行信用卡 肯德基 买二手车刷信用卡 交通信用卡办了有什么利息 广发信用卡pos机单比最多刷1000 广发信用卡pos机单比最多刷1000 光大信用卡换肯德基 2000元信用卡透支后逾期 交通银行信用卡贷款分期 网上贷款不用信用卡的 信用卡欠款入狱怎么样 贷信用卡需要什么 信用卡取现2万有归还时间吗 农行信用卡如何修改密码 年收入5万招商信用卡额度 中国工商银行的信用卡好办吗 信用卡分期和宝马金融 中国工商银行的信用卡好办吗 交通信用卡办了有什么利息 信用卡透支2万分期还 亚星官网 亚星官网 万利官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网