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"
那次我感动了作文600字面对痛感新闻作文痛悟母爱的细节描写作文难忘的记忆作文700字那一缕芬芳作文600那次我感动了作文600字母亲作文900字作文母爱的细节描写作文南充的春节作文500字那时花开作文关于初三慢跑英语作文母爱的细节描写作文描写东湖的作文400慢跑英语作文母爱的细节描写作文描写保定的作文描写身边同学的作文500字描写三亚的英文作文那一缕芬芳作文600描写同学上课的作文600内蒙古文化作文描写三亚的英文作文南充的春节作文500字南江县红塔写作文那一堂课作文开头描写兵马俑的作文800字那一堂课作文开头描着妈妈对我好的作文描写同学上课的作文600描写晚上景色作文100字建文末年,燕王入京,即皇帝位,年号永乐。 一个伟大的帝国,就此掀开了一页崭新篇章,即将迎来千古治世。 后世青年不幸魂穿大名鼎鼎的烤肉王爷朱高煦,面对英明神武的永乐大帝朱老四,体弱多病的太子大哥朱高炽,备受宠爱的好圣孙朱瞻基…… 朱高煦本能地选择从心,去做个声色犬马的逍遥王爷。 “什么?监国?老爷子你可不能这么坑人啊……” “大哥,跑起来,这是全套畊宏体操……” “大侄儿啊,玩什么蛐蛐,跟你二叔玩倭寇去……” 世人皆知汉王凶横淫荒、狡黠跋扈,却不知大明王朝已经在汉王爷的驾驶下,逐渐偏离了原本的航向,驶向了一片广阔新天地。 五龙同朝,三龙两蟒,内阁三杨……这是大明,最璀璨的时代! 本书又名:《父皇,坚持住》《大哥,跑起来》《侄儿,不要怂》一个驻外星小士兵,偶得可以进化的智慧程序,跨入宇宙,逐渐接触到高等级文明,打造高端武器与战舰,血战星海,播撒炎黄民族神威。 本书为纯粹的科幻,预计四百万字,没有狗血剧情,没有打脸公式,仅有不断攀升的战斗智慧与铁血勇气。自从遇到了闷骚这个道士后,我的世界似乎发生了一些变化…古武世家的杨冬冬在一次意外中穿越到了浑元大陆,化名林郁随身而来的只有自己曾经对古武的理解与记忆。 这个世界百花齐放,万古长青。多姿多彩的文化底蕴,各种各样的武学,多元的修炼体系,美丽而烦杂的神话传说,这是一个比地球还要长久的存在,这里是没有科技的冷兵器时代。 看林郁如何已足够的方式,在这片土地展现出古武的风采。 (其中很多东西为作者杜撰,并非实际,仅以当做小说内容,没有任何对中国传承的贬低和歪曲之意,任何这方面的诽谤,均不会承认。)感谢大家对作者的关照,对作品的喜欢,希望各位看官多多鼓励。一家人的命运因为一个孩子就此改变!【玄幻+反派+多女+非黑暗】 穿越玄幻世界,我居然成了背靠不朽世家的大反派? 睁开眼,开局就是三年之期,修罗回归? 不用担心,我有系统。 修罗歪嘴,我直接给他嘴堵上。 什么? 你还有女主? 不好意思,通通归我了。 你安心的去吧,作为大反派,这世间我会替你主宰好的!【我可以回家吗?】 【我让人找过了,提瓦特大陆不在这个世界,也就是说,你可能回不去了。】 【我需要回去,那里有我的朋友、战友……】 【我帮你,不过,你可能需要在这里呆一会儿,巴尔泽布,或者说,雷电将军小姐】 邹锦辉看着面前的女孩,露出了一丝微笑。 雷电将军想了想,点了点头。 因为 是这个人,在自己受伤和虚弱的时候,救了自己。 【那么,你想要什么东西报答呢?】雷电将军笑着问对方。 【以后再说吧】 邹锦辉看着她,笑了笑。游戏里被称为百科全书的凌云,因为过渡代练意外猝死,重生来到了十五年前。这一世他要称为职业选手,为梦出发。末世来袭,废土之上,你我又要怎么生存!异次元空间入侵蓝星,精神力强大的人类点燃精神火种,觉醒魂玉,成为卡牌大师。 【卖火柴的小女孩】在圣光下觉醒,身穿纯白花嫁,如同神明少女般看向自己的守护骑士。 “我的守护骑士,我的笑容,只为你绽放。” 【狼堡女王】端坐在银狼古堡的王座上,翘起二郎腿,端着摇晃的红酒杯,看着外面的血月之森,眼神中满是期待。 “在你将我从黑暗中救赎的那一刻起,你就已经占据了我的身心。” 【灵剑少女】白衣若雪,在深山中的断壁残垣间舞剑。 手中三尺青锋剑气纵横,却斩不断三千烦恼丝。 “灵剑山下,一眼万年。” 这是一个卡牌的世界,空间交错,次元入侵,只有当你真正体会到纸片人新娘养成计划的乐趣后,才会在这条路上越走越远。
我们在洪荒的那些年 我在古代直播带货 笑折梅花 圣域九歌 无常寻道 我的姐姐是大明星! 天道: 坑坑世界 宙域星界 九字真言诀 屠魔傻儿 灵动元极 全能大宝鉴 浩瀚的校园 宠物店主不想拯救世界 奇志录, 全民高武我在武修堆里修仙 创世天傲 路人系统之命运重生 秦卒 描写兵马俑的作文800字 描写保定的作文 描写时间的作文400字 那一缕芬芳作文600 面对痛感新闻作文痛悟 描着妈妈对我好的作文 描写时间的作文400字 描写大连景点作文 描写洛阳牡丹的作文 描写东湖的作文400 描写自己的朋友作文500字 描写自己的朋友作文500字 南江县红塔写作文 描写保定的作文 那次我感动了作文600字 那一堂课作文开头 描写一个开朗的人作文 描写兵马俑的作文800字 那天我与____相遇作文 母爱的细节描写作文 描写保定的作文 母爱的细节描写作文 那天我与____相遇作文 描写三亚的英文作文 那时花开作文关于初三 描写辛弃疾的作文 描写兵马俑的作文800字 那天我与____相遇作文 那天我与____相遇作文 描写洛阳牡丹的作文 那一缕芬芳作文600 南阳的玉雕作文300字 难忘的记忆作文700字 那次我感动了作文600字 南江县红塔写作文 那一堂课作文开头 难忘的记忆作文700字 描写时间的作文400字 南江县红塔写作文 南岳衡山的雪景作文 那一堂课作文开头 描写大连景点作文 描写同学上课的作文600 描写一个开朗的人作文 慢跑英语作文 南阳的玉雕作文300字 描写自己的朋友作文500字 那一堂课作文开头 描写辛弃疾的作文 描写身边同学的作文500字 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 我亦是英雄吗? 十方主 异界人才 大唐腾飞之路 心中锄头手中刀 亚星管理平台 葡京官网 AG真人 亚星管理平台 万利官网 描写兵马俑的作文800字 描写大连景点作文 母亲作文900字作文 面对痛感新闻作文痛悟 描写身边同学的作文500字 描写东湖的作文400 描写一个开朗的人作文 那一堂课作文开头 描写美丽的祖国的作文300字 那一缕芬芳作文600 内蒙古文化作文 描写时间的作文400字 内蒙古文化作文 描写同学上课的作文600 面对痛感新闻作文痛悟 内蒙古文化作文 描写东湖的作文400 描写晚上景色作文100字 描写时间的作文400字 描写洛阳牡丹的作文 描写一个开朗的人作文 母亲作文900字作文 南充的春节作文500字 描写三亚的英文作文 南阳的玉雕作文300字 慢跑英语作文 面对痛感新闻作文痛悟 描写自己的朋友作文500字 面对痛感新闻作文痛悟 那次我感动了作文600字