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"
信用卡餐饮编号信用卡部分还款是什么信用卡查询次数信用卡查余额的影响信用卡不还被法院起诉流程信用卡餐饮编号信用卡不能在atm取现信用卡查询次数信用卡不想办能撤回吗信用卡不开卡没事吧信用卡不还被起诉后果严重信用卡查询次数信用卡不可以提前还款吗信用卡不还被起诉后果严重信用卡查询次数过多怎么办信用卡不开卡没事吧信用卡不能在atm取现吗信用卡不还被起诉后果信用卡不还被起诉后果信用卡部下午几点上班时间信用卡不销户后果信用卡不还被起诉后果信用卡不想办能撤回吗信用卡部分还款是什么意思是什么意思信用卡不还被法院起诉流程信用卡部分还款是什么意思信用卡查余额的影响吗信用卡部分还款是什么意思是什么意思信用卡部下午几点上班时间信用卡不可以提前还款吗二十年前,一场大火,父母双亡,与妹妹分离。 二十年后,接到刺杀任务,在战斗过程中,猜测目标是和自己分开了二十多年的妹妹。 因为这个猜测,导致任务失败,受到组织惩罚,“意外”死亡。 重生后,在成长路上,发现了二十年前的那场大火里,还隐藏着不为人知的秘密……一天高二学生王羽被奶奶叫回家中,告诉了他世界的真相和家族的秘密,从此走上修真之路一代仙尊陈子时重生到二十二岁。 上一世,陈子时站在宇宙之巅,却无人相伴。 这一世,重新来过,好好体会这凡尘烟火。 手持一把杀猪刀,斩尽天下不平之事。大夏皇朝,文武并存。 妖魔鬼怪,无奇不有。 孙七天穿越而来,以逆天悟性文武双修,问鼎巅峰。 朝廷江湖中,皆是他的传说。 他是大夏棋圣,举手投足间,胜天半子! 也是大夏诗仙,绝世诗篇,信手拈来! 还是文道魁首,以创新之法,使文道昌盛! 诸多头衔之中,孙七天最为看重的,是大夏执剑人!   “吾孙七天,大夏执剑之人,以手中之剑,斩尽天下不公,开万世太平!”我的誓言就是:绝不背叛国家!绝不背叛战友! (第一次写文,跑题了,活生生写成了玄幻战争??)太古如梦的神魔故事,演绎正邪的七大剑派,侠 骨柔情的快意江湖,胜那天上宫阙的九灵宫,最神 秘不过的冰雪国。 漫漫长长的寻凶之路,一剑一酒一宿醉一代战神,因失去记忆,流浪街头,却稀里糊涂成为了秦城豪门朱家的女婿。 受尽欺辱的他,受到重创,记忆恢复,王者归来。 且看他如何收拾曾经欺辱过他的宵小之辈?如何踩着那些为富不仁之徒踏上世界之巅?如何千里走单骑救父母于危难之中? 他就是令边境悍匪和国际雇佣兵闻风丧胆的龙国战神龙之刃林灿。你知道世界末日吗?这片土地上曾经出现过一次巨大的浩劫,我只记得天空之上,无数火球从天空坠落,很多生灵消亡在那场浩劫之中。那后来呢?后来,当时世界最强大的人拯救了世界,他用尽能量震碎了无数火球,只见火球陨落地面砸出无数巨坑,只剩下一个最大的火球,按火球撞击地面的威力看,那个最大的火球可以击穿整个大陆,那个人释放全部能量冲击向那个火球。最后呢?他拯救了世界,但他也就此消失了。他死了吗?谁知道呢。那他是谁?他,他就是当年起兵叱咤整个世界击败混沌的不败王者,啊,你应该也知道了,他就是辰。北方农村,早已干涸的堤坝之外 一条深深的沟壑底部 隐匿着一座地下荒村 村子的入口 有一面镜子这里,现实与虚幻的分界点,而外边,是逐渐笼罩的黑暗。 你们这群疯子,都想探寻真相是吧?那就去吧,真相藏在外边,藏在历史和迷雾中!
我才是地球的守护神 血奴营一号 末日重生倒计时 法规世界 鞶镇往事 全球武魂:开局觉醒混元道宫 吾僵 七组的故事 都市神龙拽少 封神:我,人皇帝师,摆下先天杀阵 天呐!我变成了器灵 寒门国士 弱冠少年逐道行 高武:我和我的天命系统 至暗时间 负极因子 坦荡的征途 空灵髓 仙人世界 蛹变z 信用卡部分还款是什么意思是什么 信用卡不可以充值支付宝吗 信用卡不提现有什么用 信用卡不还被法院起诉流程 信用卡部分还款是什么情况 信用卡部分还款是什么意思是什么 信用卡不能在atm取现吗 信用卡不可以充值支付宝吗 信用卡部分还款是什么意思 信用卡不可以提前还款 信用卡不提现有什么用 信用卡不提现有什么用 信用卡部分还款是什么意思是什么意思是什么 信用卡不见了能激活吗 信用卡餐饮编号 信用卡不还被法院起诉流程 信用卡不使用不注销 信用卡部分还款是什么意思 信用卡不用有费用吗 信用卡查询次数 信用卡不见了能激活吗 信用卡查询次数过多怎么办 信用卡部分还款是什么 信用卡不还被起诉后果严重 信用卡不开卡没事吧 信用卡部分还款是什么意思是什么意思是什么 信用卡部分还款是什么意思 信用卡部分还款是什么 信用卡不用有费用吗 信用卡部分还款是什么意思 信用卡不还被法院起诉流程 信用卡不激活能销卡吗 信用卡查余额的影响 信用卡餐饮编号 信用卡部分还款是什么意思是什么意思 信用卡不还被法院起诉流程 信用卡查余额的影响 信用卡不能在atm取现吗 信用卡部分还款是什么意思是什么意思是什么 信用卡查询次数过多怎么办 信用卡查余额的影响吗 信用卡不可以提前还款 信用卡部下午几点上班时间表 信用卡不使用不注销 信用卡不还被起诉后果严重 信用卡不见了能激活吗 信用卡不提现有什么用 信用卡查余额的影响吗 信用卡部分还款是什么意思是什么意思是什么 信用卡不能在atm取现 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 江湖风云诡谲 重生,自带无限技能 末日道士行 大明:家父永乐,永镇山河 优秀了我为什么找你 澳门葡京游戏官网 AG真人 快连下载 澳门葡京游戏官网 欧博游戏官网 信用卡不还被起诉后果 信用卡查余额的影响吗 信用卡不使用不注销 信用卡不还被法院起诉流程 信用卡不激活能销卡吗 信用卡不能在atm取现吗 信用卡不见了能激活吗 信用卡部下午几点上班时间 信用卡不可以充值支付宝吗 信用卡部下午几点上班时间 信用卡部分还款是什么情况 信用卡部下午几点上班时间表 信用卡不能绑定第三方 信用卡查询次数过多怎么办 信用卡不能绑定第三方 信用卡部分还款是什么 信用卡不能在atm取现吗 信用卡不能绑定第三方 信用卡部下午几点上班时间 信用卡不能在atm取现 信用卡不想办能撤回吗 信用卡部分还款是什么意思是什么意思 信用卡不想办能撤回吗 信用卡不见了能激活吗 信用卡不用有费用吗 信用卡不激活能销卡吗 信用卡查询次数 信用卡不激活能销卡吗 信用卡部分还款是什么 信用卡不可以充值支付宝吗