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"
家教论文范文大全题目加强经济建设论文家教论文范文开头家庭教育论文我爱我家家乡近代史论文模板家教论文范文大全题目纪念改革开放历史论文家教论文范文开头加强党的建设 论文纪录片剪辑的论文家乡历史论文家教论文范文大全题目纪录片相关论文家乡历史论文家教论文范文开头家乡美大学生论文寂静的春天论文2500字家乡近代史论文模板家教论文小学3000字家 2000字论文加拿大的文化价值论文家教论文小学3000字寂静的春天论文2500字加强经济建设论文家教论文范文大全题目加强党内监督论文家教论文范文大全题目加强经济建设论文家 2000字论文家乡美大学生论文许家废少竟是万年难遇火神体?!且看废少逆袭之路!“那些瞧不起我的,嘲笑过我的,骂过我的,今天,我许言就在这玄武擂台上挑战所有人,谁敢与我一战!”或许常常会有人问 足球这项运动到底有什么意义 会让你如此疯狂的热爱 也许普通人不会明白 我们踢足球的人 因为你不踢足球 所以你不会知道 一块钱的矿泉水会有多甜 因为你不踢足球 所以不会知道 一场球可以让陌生人变成朋友 因为你不踢足球 所以你不会知道足球进网的声音 那就是天籁 球门它就在那里。苏凉穿越到玄幻世界,从此所到之处,鸡犬不宁 追瘸子骂哑巴,打疯子逗傻子,扒老太太裤衩子 无恶不作 仙界大能:他竟然把我镇宗功法印了整整十万份! 宗门少主:苏凉竟然把我活活搞成肾虚! 仙门圣子:欺人太甚!竟然把我与一头猪牵了本命姻缘线!害我爱上了一头猪! 天才圣女:谁看见他把我衣服偷到哪里去了? …… 这一次苏凉从大佬手里抢亲 彻底引爆了所有人对他的怒火修仙就是创业,牢牢控制术法技术壁垒,打造自己的修仙市场帝国,看清修仙市场趋势,利用一切能用资源,让你能白手起家,弹射起步。一年筑基,两年得丹,三年走上修仙巅峰!上头了没有,订阅!天才少年敖夜遭挚爱背叛,更是被其挖脉夺骨弃于乱葬岗。 临死之际融合祖龙精血,开启了逆天龙墟神藏。 高深的功法和武技自行修炼,更有一座座神藏等待着他去开启,有吞天霸体、有荒古圣骨、有极道帝兵... 从此逆势崛起,世家天才、豪门少主,以及诸天仙神魔,不服者统统打爆!一念天堂,一念地狱。 抛弃黑暗的过去,退役军医雷东选择做一个普通人——直到圣晶危机的爆发。 圣晶,所有人垂涎欲滴的能源,却引发了空前恐怖的生化危机,昔日繁荣的城市沦为不死族的圣地! 面对尸潮的袭击,极东古国当局却袖手旁观,背后竟然有更加恐怖的存在? 一千年,转瞬即逝。地下世界的霸主,HBY基金会一手遮天,阴影笼罩了整个极东。名为改造者的“魔族”重出江湖,基金会的堕落天使咀嚼邪恶,注视着深渊! 人类的始祖号召凡人与魔族并肩而战,对抗来自天上之人;上百位魔族的权威,诸位“罪恶圣人”兴风作浪,百圣争鸣! 雷东早在他不再平凡的那一瞬间,就卷入了风暴的中心点——只有消灭“堕落的天使”们,扭转魔族与凡人互相争斗的现状,这个世界才有救! 无辜的灵魂才有救! 吊丝青年穿越唐朝当王爷,开始了诸王争霸战。机智权谋比不过太子李建成,文韬武略敌不过秦王李世民,拚杀玩命完败于齐王李元吉。奈何?唯靠一张利嘴,两把刷子,纵横天下,笑傲江湖。数天下英雄,还看我楚王李智云。秦凤鸣,本是一名山村普通少年,误食无名朱果,踏入修真路,以炼器起家,凭借制符天赋,只身闯荡荆棘密布的修仙界,本一切都顺利非常,但却是有一难料之事发生在了他身上…… 本书自开更之日起,从未断更,请放心阅读。经典玄幻,就在《百炼飞升录》 楚江空晚。怅离群万里,恍然惊散。自顾影、欲下寒塘,正沙净草枯,水平天远。写不成书,只寄得、相思一点。料因循误了,残毡拥雪,故人心眼。——《解连环·孤雁》 身负家族血仇的燕孤鸿持三尺长剑,快意恩仇游戏江湖。强者如何?皇室亦如何?剑无形刀无心,何惧!万仙求道,万道来朝! 三百年前,陈少君被师父带上仙门,因为血脉原因难以练武,但却在炼器上天赋异禀,成为一代器君,与宗门六位师兄合称“北斗七圣”。 一场剧变,师父被害,北斗陨落,陈少君谪落人间,转生成为大商户部侍郎之子。 光阴荏苒,如今的他只是人间蝼蚁般凡人。 然而,这场剧变也同样打开了他身上的限制。 师父:“如果不是血脉的限制,你的成就就连师父也难以想像!” 书生宣讲,鬼神听道! 且看昔日器君如何一步步崛起,临天路,朝仙道,让诸天万界都为之颤抖! —— 欢迎大家关注我的微信公众号,关注请搜索皇甫奇。 QQ群:422905216
竹女传奇 幸运先生 隐世强龙 神秘的小葫芦 透视小农医 诸天传道系统 万界之征战 全体妖族起立,拜见先生 谋主天下 魔域之执念 全球进入鬼灵复苏时代 大明之重铸山河 炎炎历险记 神秘黑棺 重生85:财富人生 写字作画成祖神 我的超凡力 极品鉴宝狂婿 潇洒小魔医 我家尊上从来不会拒绝 加强自我权利意识论文 家乡美大学生论文 加拿大的文化价值论文 家乡近代史论文模板 加强经济建设论文 家暴法律与道德论文 加拿大的文化价值论文 纪录片解说词论文 家 2000字论文 纪录片相关论文 加强大学生权利论文 加强大学生权利论文 家风校风论文 家乡美大学生论文 家教论文范文大全题目 家乡环境变化论文 加拿大论文英文版 加强自我权利意识论文 加强国地税合作论文 家教论文范文开头 家乡美 长春 论文 家教论文范文开头 加强国地税合作论文 家乡近现代史论文 纪录片剪辑的论文 家风议论文曾国潘 加强自我权利意识论文 加强国地税合作论文 加强国地税合作论文 家 2000字论文 家乡近代史论文模板 家乡美 长春 论文 家庭教育论文我爱我家 家教论文范文大全题目 家风校风论文 家乡环境变化论文 家庭教育论文我爱我家 加拿大的文化价值论文 家风校风论文 家教论文小学3000字 家乡环境变化论文 纪录片解说词论文 家教论文2000字 加拿大论文英文版 家乡历史论文 家乡美 长春 论文 加强大学生权利论文 家乡环境变化论文 家风议论文曾国潘 寂静的春天论文2500字 亚星游戏官网 亚星官网 亚星官网 亚星官网 亚星官网 穿越之我在西游卖军火 永夜 我靠读书称霸诸子百家 桃花村里的那些风流韵事 最强战神之末日求生 快连下载 亚星游戏官网 亚星官网 快连下载 亚星管理平台 加强党的建设 论文 加强大学生权利论文 纪录片剪辑的论文 家教论文标题 家庭教育论文我爱我家 纪录片解说词论文 纪录片专业论文 纪录片解说词论文 家暴法律与道德论文 纪录片相关论文 加拿大的文化价值论文 加强自我权利意识论文 家乡美 长春 论文 家乡近代史论文模板 加强大学生权利论文 家风议论文曾国潘 家教论文范文大全题目 家教论文标题 加强国地税合作论文 家乡美大学生论文 纪录片专业论文 家教论文范文大全题目 加强自我权利意识论文 加强国地税合作论文 家乡近代史论文模板 加强自我权利意识论文 家风校风论文 家庭教育论文我爱我家 家风校风论文 加拿大的文化价值论文