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"
瑞安到江西火车站沈北火车站小姐瑞安到江西火车站海口 直达 火车商丘到德州普通火车时刻表重庆到威信火车票查询杭州到哈尔滨火车票价宜春到镇远的火车票杭州普通火车k在哪里坐库尔勒一伊宁火车利川到韶关火车瑞安到江西火车站靖边到西宁火车票查询哪列火车经过抚州北站宜春到镇远的火车票库尔勒一伊宁火车峨眉山火车站到峨眉平昌火车平昌火车西安火车在哪青海到张掖火车票多少钱平昌火车杭州普通火车k在哪里坐重庆至邯郸火车票查询系统商丘到德州普通火车时刻表沈阳到金宝屯火车海口 直达 火车重庆至邯郸火车票查询系统西安火车在哪靖边到西宁火车票查询到达天然城本以为是一个新的开始,但似乎并不是这样。 “叶金瞳,这都什么年代你还写日记呢?让本仙女给你科普一下知识吧,大笨蛋。” “好,好啊。”一个玩世不恭的小子,因奇缘而获得特异奇能,在校园里由傻冒而一跃成名。走入社会,左右逢源,由此而暴富,走出一条自在的人生之路。“我不后悔,因为无论怎么选,最后都会后悔。”不知为何,我重生到初三的那个暑假,既然回来了,我就不会辜负这个机会“又是新书的开始。”王冉推开茶馆的大门,看着陌生的世界,说道。虽然他的故事从未停止......十三年前,李致在城郊梨花树下捡到一只垂死白狐。 十三年后,他开始被一个漂亮温婉的落难小姐倒追。 月夜之下战幕拉开。 李致翻手间剑光纵横雷霆天落,“我家夫人温柔贤惠娇贵可人,知冷热擅烹食……” 姜璃弹指间邪魔俯首山河崩坏,“我家相公谦谦君子文弱书生,温逊有礼好脾气……” 反派“……”这是一部青春时期的回忆录。每个人的青春都是丰富多彩的,值得可歌可泣的,值得大说特说的,我们富有热血,我们积极向上,我们有过迷茫,也曾失落彷徨,愿你们独一无二的青春,能够得到你们想要的结果,活出自己的自由。他本是龙国最年轻的国医圣手,却因为一次意外,重生回到了四年前。 上一世,他误入歧途,痛失妻女,尝尽了人间疾苦! 这一世,面对妻女的失而复得,他势要弥补当年的遗憾,快意恩仇。 且看一代鬼医传人,如何凭借一手鬼神难辨的惊天医术,守护心中挚爱,成为最强都市奶爸! 万年前,无敌于世间的剑尊惨败在一位无名刀客的手中。 此后剑道衰微,剑修凋零。 直到,万年后剑尊之徒许安然自沉睡中苏醒,沉寂已久的剑道才重焕生机。 面对这个物是人非的世界,许安然所能依仗的唯有手中残剑。 为重振剑道,许安然将用手中的剑荡尽诸敌,淋浴神血,登峰造极! 他要向世人证明,剑才是兵中帝王! 自上古以来,能长生久视者寥寥无几。如今星河异动,或许正是成仙的大好时机。少年星轲,怀懵懂入世,经生离死别、历万丈红尘,最终能否不醉星河?前路凶险万分,稍有不慎,便可能黄土不成。等待他的,是“云梦虚”、“生死妄”、“阎罗判”以及…… 研发五年的虚拟现实(VR)游戏《天下》终于上线,作为网瘾少年的林狼等人自然是无法抵挡诱惑,进入了游戏。作为首席开发设计师梦如与张楠却也成功进入了游戏,却怎么也没有想到,《天下》在朝着她们意料之外的方面发展……
我在佣兵团守护全人类 幻日 朔夜微茫 末世力王称霸 巍巍高楼起 隐避修仙录 我自成山河 于乐不太成功的自传 星燃X鬼魂袭 与神王负明 卿云游 守望:光与暗的对决 噩梦教室 雷剑尊 不能重来服务公司 重生:我天后老公的身份差点曝光了 炎帝! 剑侠情缘4之我爱宁芹芹 Mc乱世 雾何破案记 营救公主吧 温州站到瑞安市火车票 清河到汉口的火车票价 峨眉山火车站到峨眉 商丘到德州普通火车时刻表 温州站到瑞安市火车票 天津至文登东火车 鲁山到周口火车 桂林到丽江的火车票多少钱 沈阳到金宝屯火车 靖边到西宁火车票查询 杭州普通火车k在哪里坐 加格达奇至沈阳火车时刻表 火车乘客表 清河到汉口的火车票价 重庆到威信火车票查询 商丘到德州普通火车时刻表 鲁山到周口火车 沈阳到金宝屯火车 青海到张掖火车票多少钱 瑞安到江西火车站 清河到汉口的火车票价 宜春到镇远的火车票 沈北火车站小姐 哪列火车经过抚州北站 库尔勒一伊宁火车 火车乘客表 沈阳到金宝屯火车 沈北火车站小姐 青海到张掖火车票多少钱 沈阳到金宝屯火车 商丘到德州普通火车时刻表 清河到汉口的火车票价 海口到哈尔滨东火车时刻表查询 重庆到威信火车票查询 重庆至邯郸火车票查询系统 商丘到德州普通火车时刻表 海口到哈尔滨东火车时刻表查询 峨眉山火车站到峨眉 火车乘客表 宜春到镇远的火车票 海口 直达 火车 当阳一鹰潭火车 唐山到嘉峪关火车 加格达奇至沈阳火车时刻表 哪列火车经过抚州北站 清河到汉口的火车票价 加格达奇至沈阳火车时刻表 海口 直达 火车 火车乘客表 杭州到哈尔滨火车票价 亚星游戏官网 亚星官网 亚星官网 亚星官网 亚星官网 我不是坏男人之永生之路 我以星火荡尽世间不平 库洛伯之书 我能掌控诸天秘境 神话入侵:从模拟器开始斩神 AG真人 亚星管理平台 亚星游戏官网 AG真人 百家乐官网 宜春到镇远的火车票 火车乘客表 哪列火车经过抚州北站 海口到哈尔滨东火车时刻表查询 靖边到西宁火车票查询 库尔勒一伊宁火车 唐山到嘉峪关火车 商丘到德州普通火车时刻表 鲁山到周口火车 瑞安到江西火车站 靖边到西宁火车票查询 唐山到嘉峪关火车 西安火车在哪 茂名到深圳东火车 平昌火车 瑞安到江西火车站 瑞安到江西火车站 火车乘客表 西安火车在哪 宜春到镇远的火车票 海口 直达 火车 清河到汉口的火车票价 西安到宁川火车票 重庆至邯郸火车票查询系统 峨眉山火车站到峨眉 沈北火车站小姐 靖边到西宁火车票查询 西安火车在哪 杭州普通火车k在哪里坐 商丘到德州普通火车时刻表