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"
中行如何办理装修贷款利率重庆汽车二次贷款利率中行银行抵押贷款中行装修贷款利弊中行信用卡装修贷款利率中行如何办理装修贷款利率重庆各个银行贷款利率是多少中行银行抵押贷款重庆金融汽车贷款电话是多少钱重庆二手房的贷款利率重庆gps汽车二次贷款中行银行抵押贷款重庆二手房的贷款利率是多少钱重庆gps汽车二次贷款中行装修贷款几年还款重庆二手房的贷款利率重庆金融汽车贷款电话号码是多少中银贷款口子中行信用卡装修贷款利率中行房屋装修贷款15年重庆哪里有小额贷款的中银贷款口子重庆金融汽车贷款电话是多少钱中行抵押贷款提前还款中行装修贷款骗局中行贷款申请电话是多少中行装修贷款骗局中行贷款申请电话是多少钱中行房屋装修贷款15年重庆各个银行贷款利率穿越修仙世界的林浩,成为天罡阁阁主的天才儿子。 开局被废掉修为关入魔窟,幸好觉醒签到系统。 只要在特定地点签到,便能够获得丰厚奖励。 “叮,签到成功,获得星辰丹田海!” “叮,签到成功,获得星辰剑!” “叮,签到成功,获得九龙宝珠!” 数年后,当林浩踏出魔窟,发现自己已经举世无双,可是,修仙却是一个骗局。近未来的某一天,一款划时代的虚拟网游问世,在人们狂热的追捧下,几乎所有人都沉迷在游戏里不可自拔,其影响力更是有影响现实社会的趋势,然而就是在这样娱乐至死的环境里,未知的危险亦悄然降临,让全人类都面临灭亡的危机,其背后埋藏万年的秘密也随之逐渐浮出水面。简介:本该人生平平无为的主角,从一个性格柔弱到脱变成刚毅的成长故事,后来主角从这跌宕起伏的生涯中成就无上荣耀。 宁星文明史上第一次星际战争就此爆发,胜利的天平究竟是倒向龙国还是天神帝国。 战后,一段绝佳的爱恋能否让龙瑞走出暗面,龙瑞也将如何引领龙国走向更远“让你买丹药回来,你却成为了丹药师?” “让你请医师回来,你却成为了医师?” “让你去买大宝剑,你却成为了炼器师?” “出远门咋这么快回来了?啥?你成为了驯兽师?骑霹雳飞龙回来的?” “去趟淘宝馆,你咋淘回了这么多极品宝贝?啥?你又成了鉴定师?” “不好!赘婿中毒了!快……不用了,没事了,他又成为了毒师。” 易尘抱头,没办法,系统太强悍了!在封建王朝翻云覆雨的伟大人物,竟是一个名不见经传的小卒。随着光芒的闪动,袁东升莫名其妙的参加了一场诸神举办的战争游戏。 在这宏大的虚空之中,每位玩家都会获得一块属于自己的领地地块,而随着地块面积的增加,玩家的领地终会在虚空中链接。 而胜利的唯一标准,或者说活下去的唯一机会,就是消灭所有的玩家。那么战斗吧,消灭无数的竞争对手,只为活下去!谁能左拥天下,右抱爱情,笑看风云数千载?太阳神?佛祖?朱雀?光神?青龙?水神?玄武?白虎?谁主宰风云数千载!一封邀请函中埋藏了几千年的阴谋,九死一生的鬼校中没有置身事外,处处血流成河。一念之间定生死,百人齐心决成败。华国,罗斯国,印国,东洋国,澳国,五个大国面临前所未有的危机。却不知这一切,只是决战前夕。 穿越到各大武侠融合的世界,成为了宋朝的皇子,赵月轩很是无奈。 咦,剧情还没展开?那我就不客气了。 九阳神功,九阴真经,神照经,六脉神剑……都是我的。 无忌别慌,本皇子这里有一本九阳神功,以后你好好修炼,千万别相信女人的话,让大哥帮你对付他们。 郭夫人,你也不想郭大侠在外受到伤害吧……
此刻我独领风骚 刚穿越的我差点被饿死 月老就是可以为所欲为 神谕引道 隐神山 仙键奇缘 娱乐!我真不想成顶流! 我家娘子怎么会是妖族女皇 太阳系的秘密档案 咏世销歌 女神的最终战争 重返西游 烟雨大唐 何以为家! 第十特区 盛释天下 咒术梦魇之真正的地狱 我才是地球的守护神 真罪:永恒之时 我进入异界开始修行之旅 中行贷款申请电话号码 重庆贷款利息是多少钱 重庆金融汽车贷款电话号码是多少 中行信用卡装修贷款利率 重庆汽车二次贷款利率 中行贷款申请电话是多少钱 重庆金融汽车贷款电话号码是多少 重庆二手房的贷款利率是多少 中行贷款申请电话是多少 重庆二手房的贷款利率是多少钱 重庆金融汽车贷款电话是多少 重庆金融汽车贷款电话是多少 中行房屋贷款基准利率 重庆贷款利息是多少钱 中行如何办理装修贷款利率 中行信用卡装修贷款利率 重庆金融汽车贷款电话号码是多少钱 中行贷款申请电话号码 重庆农商行创业贷款 中行银行抵押贷款 重庆贷款利息是多少钱 中行银行抵押贷款 重庆农商行创业贷款 中银贷款口子 重庆二手房的贷款利率 中行房屋贷款基准利率 中行贷款申请电话号码 重庆汽车二次贷款利率 重庆农商行创业贷款 中行贷款申请电话是多少 中行信用卡装修贷款利率 重庆贷款利息是多少 中行装修贷款利弊 中行如何办理装修贷款利率 中行抵押贷款提前还款 中行装修贷款骗局 中行装修贷款利弊 重庆金融汽车贷款电话号码是多少 中行抵押贷款提前还款 中行装修贷款几年还款 中行装修贷款骗局 重庆二手房的贷款利率是多少 中行如何办理装修贷款 重庆金融汽车贷款电话号码是多少钱 重庆gps汽车二次贷款 重庆贷款利息是多少 重庆金融汽车贷款电话是多少 中行装修贷款骗局 中行房屋贷款基准利率 重庆各个银行贷款利率是多少钱 亚星官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 重生九册 狙杀成塔 武灵至尊传 躺平的修仙之路 DG时代 欧博游戏官网 皇冠登3出租 亚星管理平台 欧博游戏官网 亚星管理平台 重庆二手房的贷款利率是多少钱 中行银行抵押贷款 重庆各个银行贷款利率 重庆农商行创业贷款 重庆各个银行贷款利率是多少钱 重庆各个银行贷款利率 中行房屋贷款基准利率 重庆各个银行贷款利率是多少 重庆金融汽车贷款电话是多少 中行贷款申请电话是多少钱 重庆金融汽车贷款电话是多少 重庆gps汽车二次贷款 重庆哪里有小额贷款的 重庆gps汽车二次贷款 中行装修贷款几年还款 重庆贷款利息是多少 中行贷款申请电话号码 重庆二手房的贷款利率是多少 中行贷款申请电话号码 中行装修贷款几年还款 中行贷款申请电话是多少钱 中行贷款申请电话号码 重庆gps汽车二次贷款 中行贷款申请电话是多少钱 中行房屋装修贷款15年 中行信用卡装修贷款利率 中行房屋装修贷款15年 重庆金融汽车贷款电话是多少 中行如何办理装修贷款利率 重庆金融汽车贷款电话号码是多少钱