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"
英语分享作文题目英语作文无偿服务英语作文零花钱带翻译学会变通作文700字英语的重要性语文作文一件写人的作文优秀的勇于探索的作文题目英语作文零花钱带翻译英语作文投诉信的格式有气势的爱国作文稿800一本书350字作文英语分享作文题目有关考试心态的作文写樟树的作文150英语作文零花钱带翻译有气势的爱国作文稿800英语作文:合理使用钱写瀑布的作文600写瀑布的作文600一朋友为题五年级作文英语作文介绍电话写瀑布的作文600英语作文投诉信的格式英语作文的好短语英语的重要性语文作文科学重要作文200字学会变通作文700字英语旅游计划作文句子英语作文网络连接世界有关考试心态的作文千年之前莫残雪,千年之后齐唤心!身具文武双魄,行走世间维护苍生,风水阴阳,奇门五行,降妖王,收厉鬼,斗僵尸,战魔王,最终成为一代宗师。一个中年上班男意外进入异界星球,开始流浪融入闯荡的故事!空间科学家公孙广,由于实验事故,穿越空间通道到了一个宇宙夹缝的星球——科赛星,这是一个源力的世界,无数的宇宙文明原因种种原因被吸引到了这里,从而形成了万族共存的局面,各族以部落的形式散落在科赛星上,而这其中就包括了中国古代求长生的炼气士,公孙广在接触了自称天命族的汉人,知道了他们想要回归的愿望后,提出了自己的建议,从而开启了科赛星万族争霸,走上文明融合的道路,而这一切的最终目的——冲出科赛星,回归各自文明!夏历2222年,黑色的太阳突然从极渊升起,在天穹之上悬挂七日,全球陷入一片黑暗。 此次事件中,整条赤道全线崩坏,水蓝星裂开一道长达4万公里的影渊,横贯东西。 七天后,黑日退去,光明重洒大地。 可当人们欢呼灾难结束之时,却不知无尽的恐怖正从影渊之中醒来。 自此,全球复苏,百鬼夜行。 本人是新人作者,有什么写的不对的地方望各位读者多多包涵现在是天元年2220年,距离上一次兽潮已经过去了两千两百二十年。 十万年前洪荒大陆上各大顶尖高手离奇失踪,原本平静的大陆上开始出现神秘的黑洞,神秘而强大的异兽纷纷从黑洞中走出威胁着人类的安全,人们在不断躲避异兽的同时,开始创造出各种机甲武器和钢铁城墙与异兽展开了对垒,至此人类进入了长达万年的异兽入侵时代。穿越到玄幻世界,莫无念大站自己成了绝天魔域最强魔主,身负世人骂名。 然而他早有预感,料定会有天命之子来割韭菜...... “禀报魔主,属下已经找到了身负大气运之人。” “????” “此子身上有一缕残魂,和我魔域还有莫大关系,更和那古家......” 果然,剧本还是来了。 作为穿越者的莫无念怎能忍受得了。 “传令整个魔域……” 【叮!绑定系统】 【本系统为反派服务】 …… 战神之子,被视为杂种废物,入赘以保族人,生死之际激发绝世传承,觉醒逆天体质。自此,世间再无欺我亲人者,弑我族人者。若国无道,我便为帝,若天不公,我便伐天!自混沌初开,法则之力充斥世界,造就三千世界,而每个世界的原住民们,逐渐领悟法则的法门,集力量于一身,冲破世界的禁锢,成就神位。成就神位的人们仍然禁锢于另一方世界的一隅,在他们的前面仍然有法则之上的力量-原力阻碍他们的前行。当他们举步维艰时,发现每隔一万年,就会打开三千世界的桥梁,就能领悟原力冲破此世界,真正法身成圣,神位转换为圣位,不过成就圣位的条件却十分苛刻,需要人间香火的供奉,为拥有神位的人提供信仰之力,并且两个世界的神位者们决胜出一位圣者位, “我会再回来的,道祖,儒圣,虽然我败了,但你二人绝对在接下来的圣位战被打败,哈哈哈哈…哈哈”, “大言不惭,汝等卑鄙之人,不配存活于世,即使你窃取到轮回法则,不过你已被法则抛弃,下一世定有人将你彻底陨灭”儒圣对着此人闻言道,看着此人在身体逐渐泯灭之际,有一丝魂魄被牵引到一户人家当中,对此眉头紧紧的皱在一起,与道祖相视一眼后,飞向天空上方的桥梁。 张启,一名高二的学生。母亲在一年意外去世了,父亲伤心过度之后被查出有精神疾病每天卧床不起。在很多地方都试过治疗父亲的病,却没有多大的效果。同时也欠下了许多债务。但张启并没有放弃父亲,周一到周五上课,周末有空就做做兼职,用来补贴家用,却远远不够。某一天,债主找上门来。知道张启没能力归还,便将他绑到小黑屋,准备咔腰子。但过了三天,却什么也没发生。于是张启变逃了出来,却发现大街上没有一个人。只见漆黑的夜空上。六道红光划过,从此张启的人生发生了巨大的改变。
太虚无上 异度虚空 异世界:开局对战最强勇者 误入传奇世界 一剑独仙 小玄子与方苏昕 大秦:开局剑逼祖龙退位! 践道风云录 逆天进化成龙 大道同启 天渊辰 智能迷失 穿越时间的思念 灭世荒主 娱乐:欠命音乐妖孽 文明养殖手册 帝星九炼诀 融神面具 绝罪 随身一个仙境农庄 用屠呦呦做论据的作文 一春游公园的作文 英语作文:合理使用钱 写瀑布的作文600 用屠呦呦做论据的作文 英语的英语话题作文 英语作文atweekends 有特点的人作文500字 科学重要作文200字 有关考试心态的作文 英语作文投诉信的格式 英语作文我想开始运动 英语作文的好短语 有气势的爱国作文稿800 一件写人的作文优秀的 英语的重要性语文作文 英语作文atweekends 科学重要作文200字 英语作文介绍电话 英语分享作文题目 一春游公园的作文 英语作文零花钱带翻译 英语作文无偿服务 写樟树的作文150 有气势的爱国作文稿800 英语作文的好短语 科学重要作文200字 英语作文无偿服务 英语作文介绍电话 科学重要作文200字 英语的重要性语文作文 一春游公园的作文 有益动物的童话作文 英语分享作文题目 英语旅游计划作文句子 英语的重要性语文作文 有益动物的童话作文 英语作文:合理使用钱 英语作文的好短语 有益动物的童话作文 英语的重要性语文作文 有关童话的作文400字 一朋友为题五年级作文 英语作文我想开始运动 写樟树的作文150 一春游公园的作文 英语作文我想开始运动 学会变通作文700字 英语作文网络连接世界 勇于探索的作文题目 亚星官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 六道仙人之逆天修改器 重启赛亚 汉汉 国运游戏归来,我被全世界误解 用双手挖矿 成就无上仙位 欧博游戏官网 百家乐官网 亚星管理平台 欧博游戏官网 亚星管理平台 写狂风的作文200 英语作文投诉信的格式 一件写人的作文优秀的 写瀑布的作文600 英语的英语话题作文 英语作文零花钱带翻译 英语作文无偿服务 写樟树的作文150 英语作文网络连接世界 写狂风的作文200 写狂风的作文200 一春游公园的作文 有气势的爱国作文稿800 英语的重要性语文作文 写樟树的作文150 有益动物的童话作文 有关考试心态的作文 英语作文我想开始运动 一朋友为题五年级作文 英语的重要性语文作文 英语作文:合理使用钱 英语分享作文题目 英语作文介绍电话 写樟树的作文150 英语作文网络连接世界 写狂风的作文200 写狂风的作文200 一件写人的作文优秀的 英语分享作文题目 英语作文的好短语