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"
开原驾校地址句容冠腾驾校投诉电话开原哪家驾校强考驾校课时考驾校右手残疾能学吗开原驾校地址开发区四方驾校开原哪家驾校强莒县恒吉驾校报名费康城驾校天津开原通达驾校好吗开原哪家驾校强开平通达驾校开原通达驾校好吗开原哪家驾校学车好康城驾校天津开发区湘运驾校电话考驾照跟驾校有关系吗考驾照跟驾校有关系吗科二补考驾校收费高莒县恒吉驾校太黑了考驾照跟驾校有关系吗莒县恒吉驾校报名费劲松驾校视频考驾校需要哪些证件句容容安驾校教练考驾校需要哪些证件劲松驾校视频科二补考驾校收费高开平通达驾校在梦里,我梦到了一片海,在海边有一百个人静静地看海。他们说愿意把每个人的故事讲给我,让我写出来。我很羞愧,至今我的作品仍无人问津。他们说相信我,总有一天会闪闪发光。 带着他们的信任我把他们的故事转述出来,这次看似我是作家,其实写作的是他们自己。由于核战争的爆发,大量的能量,摧毁了地表许多的城市但是一直在各种动植物体内沉睡的基因苏醒了。各种各位出现过的神奇动植物都出现。人类的生存空间越来越小…… 阿浪曾把男人分成三种,一种是老天爷赏妞型,第二种是自求多福型,第三种是听天由命型,至于方便则超出万物之外,不在无形之中,称为干瞪眼型,可偏偏就是这样一个傻小子,意外和部门里公认的美女擦出了火花。。。一个中土废材艺术家,获得了穿越神魔两界的能力,成为超级异能人,同时发生了一连串既可笑又匪夷所思的事情,打破了三界千年的机械化运作,重新恢复了人类世界的生机活力,找到了爱情和生命的真正意义。我叫神不渡,是一个瞎子,他们说外面很危险,有丧尸,变异兽,我看不到,我听到他们在我身边,为什么,异能者不救我,他们不救我?我是不是快死了…… 原来,我才是神,那么,我宣布,神不救世!一次机遇之下少年重获再活一世的机会来到了一处崭新的世界,这里没有花俏绚丽的魔法,人人却都崇尚修炼魂力,修行极其艰难却不断有人前仆后继,因为命运的安排少年同样踏上了这条永无止境的道路那他又会到达怎样的地步?这其中又会有多少命运的羁绊?又会有多少的艰难与辛酸...... &amp;lt;万界魂破&amp;gt;是我的第一本书,所以希望承蒙各位读者的关心主人公韩叶因一场梦而从此踏入那奇幻多姿的大陆---奇魄世界; 外传里介绍地球上残余魄者的生存。意外闯入修仙世界,且看少年张天纵如何力压群雄,争霸天下天龙国皇权覆灭后百年来有三个派系组成,士族派,中立派,变革派维持着整个国家的平衡。 但因为一个二三岁的男人改变了这种平衡,他为变革派代表,一心想要铲除世家门阀让国家成为一个人人平等的国度。倒斗小白王解,平平无奇的他却被一个公司和一件奇案卷入了“盗墓污水”,被诅咒的吊坠…活人身上的尸斑…祖上的产业…黑市里的摸金校尉魁首…明明是摸金校尉,却为什么也会发丘指?随着王解对谜底的深入探究,血观音的谜底逐渐浮出水面……
剑指神路 九域凡仙 神魔守护者 孟婆传说的由来 进化文明年编史 核欣 玄幻:开局拥有百亿黄金 龙神之争又名龙神重生归来 仙警局 镇冥人 残余 表白校花,获得魔幻水晶果 异世玉佩 深空之灾 带着手机去万界 行走在理想尽头的旅者 西安新青年 怪道 我有亿万家财 双瞳世 句容黄梅驾校电话 凯特驾校下午几点开门 开发区湘运驾校电话 考驾校右手残疾能学吗 句容黄梅驾校电话 巨野县昌邑有驾校吗 开发区湘运驾校电话 康达驾校是福清的? 句容容安驾校教练 康达驾校属于福清哪里 开封县的驾校 开封县的驾校 均民驾校排名 凯特驾校下午几点开门 开原驾校地址 考驾校右手残疾能学吗 开封市驾校考场 句容容安驾校教练 莒县最好的驾校 开原哪家驾校强 凯特驾校下午几点开门 开原哪家驾校学车好 莒县最好的驾校 开原通达驾校好吗 康城驾校天津 均民驾校排名 句容容安驾校教练 句容冠腾驾校投诉电话 莒县最好的驾校 句容容安驾校教练 考驾校右手残疾能学吗 凯里驾校考场 考驾校课时 开原驾校地址 劲松驾校视频 考驾校需要哪些证件 考驾校课时 开发区湘运驾校电话 均民驾校排名 开原哪家驾校学车好 考驾校需要哪些证件 康达驾校属于福清哪里 开原都有那些驾校 开封市驾校考场 开原通达驾校好吗 凯里驾校考场 开封县的驾校 考驾校需要哪些证件 均民驾校排名 开发区四方驾校 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 后周帝国 乱宇古帝 剑名凌天 妖往长生 金戈铁马画江山 百家乐官网 澳门葡京游戏官网 澳门葡京官网 百家乐官网 亚星官网 莒县最好的驾校 句容容安驾校教练 开原哪家驾校学车好 巨野县昌邑有驾校吗 句容冠腾驾校投诉电话 均民驾校排名 开手动档跟驾校不一样 开发区湘运驾校电话 开发区四方驾校 开原都有那些驾校 劲松驾校视频 开原驾校地址 凯里驾校考场 康城驾校天津 开原驾校地址 莒县最好的驾校 凯特驾校下午几点开门 康达驾校属于福清哪里 康达驾校属于福清哪里 考驾校右手残疾能学吗 开原哪家驾校学车好 开发区四方驾校 句容容安驾校教练 均民驾校排名 巨野县昌邑有驾校吗 开封县的驾校 考驾照跟驾校有关系吗 康城驾校天津 开封县的驾校 莒县恒吉驾校太黑了