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"
吉安顺丰电话吉安怎么寄顺丰快递电话号码吉安顺丰电话号码多少吉安怎么寄顺丰快递电话集美邮局寄快递电话吉安顺丰电话惠城区顺丰总部电话号码吉安顺丰电话号码多少浑南物流电话惠州单位电话填写号码惠水县的电话号码大全吉安顺丰电话号码多少惠州沙田顺丰快递电话号码惠水县的电话号码大全吉安顺丰客服电话惠州单位电话填写号码惠东百世汇通快递电话集美邮局寄快递电话号码集美邮局寄快递电话惠州市固定电话号码伙伴物流电话集美邮局寄快递电话号码浑南物流电话惠州石湾邮局电话号码吉利区快递网点电话货运公司投诉电话吉利区快递网点电话惠州石湾龙邦快递电话号码惠州市固定电话号码惠城区顺丰总部电话在深夜的小巷中,霓虹灯的光亮洒在了铺满了油渍的水潭上。空调机的嗡嗡作响让人昏昏欲睡,月亮被云朵笼罩,让人有事看不清前路。 突然,一道绯影闪过,在小巷中急速且宁静的狂奔着,终于,那光闪身进入了一件空房中,渐渐暗淡了下来,才知道那穿梭之物是一个稚气未脱的孩子...... 这孩子年龄不大,十一二岁左右,靠在墙角的隐蔽地,喘着粗气。他抬起手,看着手中隐隐约约发出蓝光之物,陷入了沉思......虽出身白丁,但可与鸿儒比肩; 虽家境贫寒,但举手可赚钱万贯; 虽手无缚鸡之力,但弹指万军灰飞烟灭; 我虽布衣,可做公卿。张启,一名高二的学生。母亲在一年意外去世了,父亲伤心过度之后被查出有精神疾病每天卧床不起。在很多地方都试过治疗父亲的病,却没有多大的效果。同时也欠下了许多债务。但张启并没有放弃父亲,周一到周五上课,周末有空就做做兼职,用来补贴家用,却远远不够。某一天,债主找上门来。知道张启没能力归还,便将他绑到小黑屋,准备咔腰子。但过了三天,却什么也没发生。于是张启变逃了出来,却发现大街上没有一个人。只见漆黑的夜空上。六道红光划过,从此张启的人生发生了巨大的改变。年轻一代高人气医生,被人陷害出了重大医疗事故,无奈只能回到乡下当了一名默默无闻的小村医! 不过,是金子总会发光的! 得了魔医老仙传承,一身医术出神入化,从小山村开始,名震天下!某天,苏泽无意间收到一封名为《时间邮箱》的快递,彩票发财,买进股票,市场营销................. 不,这些老掉牙的事情苏泽毫无兴趣,拯救校花,俘获芳心才是正经事......................... 简介无力,请看正文穿越到历史严重断层的平行世界,韩休发现这里有档名为《前世今生》的节目,登上节目,就可以帮助选手回忆起前世记忆。 当韩休登上节目后,观众们惊骇的发现,他轮回九世皆为英烈! 第一世蜀汉武侯诸葛亮:功盖三分国,名成八阵图! 第二世抗金名将岳武穆:靖康耻,犹未雪;臣子恨,何时灭! 第三世铁骨铮铮文天祥:人生自古谁不死?留取丹心照汗青! …… 第九世炎帝神农:安知尝试者,百死百生来! 当前世曝光,全网泪崩!拼搏三十多年,即将赴港上市,这时,我竟然重生了... 回到高三时代,马上面临高考,这次我逝去的青春,我不会再留有任何遗憾.... 这个时代,也是最波澜壮阔的时代,有人曾说嘛,就是个猪,都能做一头飞猪,更何况我这个重生者....关问天奉老仙之命独闯锦城,老仙交给他一个光荣而艰巨的任务,要他两年之内娶到锦城黄、白、蓝、红四大家族家主之一女儿。 一年后,关问天傻眼了,四大家主同时上门提亲…司马韶华的力作《无知小子逆天记》李杰加入了密逃团,可以正式出道了。他会发生什么事情呢?
修真神医在都市 这个江湖归我们做主 疯子笔记 末路逢妖 诸天万界之神级商人 水墨剑仙传 天魔之引 界脉天 无限纪元之战神传说 我在修仙界混日子 命途纪 王者止尊 欧布奥特曼格斗进化 那些年的深刻记忆 C界 华夏英雄觉醒之拘魂遣将 创世神转世 绝望书屋 神级选择:我的熊猫亿点强 浩瀚无境 货运公司投诉电话 惠州伯恩天源韵达电话 惠州市水口邮政局电话 集美邮局寄快递电话 吉安怎么寄顺丰快递电话号码 惠州石湾龙邦快递电话号码 惠州市水口邮政局电话 惠州沙田顺丰快递电话 惠州石湾龙邦快递电话 惠州沙田顺丰快递电话号码 惠州水口的邮政局电话 惠州水口的邮政局电话 吉林省和龙市机关电话 惠州伯恩天源韵达电话 吉安顺丰电话 集美邮局寄快递电话 惠州市水口邮政局电话号码 货运公司投诉电话 伙伴物流电话号码 吉安顺丰电话号码多少 惠州伯恩天源韵达电话 吉安顺丰电话号码多少 伙伴物流电话号码 集美邮局寄快递电话号码 惠州单位电话填写号码 吉林省和龙市机关电话 货运公司投诉电话 伙伴物流电话号码 伙伴物流电话号码 惠州石湾龙邦快递电话 集美邮局寄快递电话 惠阳淡水邮政局电话 吉安怎么寄顺丰快递电话 吉安顺丰电话 惠州石湾邮局电话号码 吉利区快递网点电话 吉安怎么寄顺丰快递电话 惠州市水口邮政局电话 惠州石湾邮局电话号码 吉安顺丰客服电话 吉利区快递网点电话 惠州沙田顺丰快递电话 惠州市固定电话号码 惠州市水口邮政局电话号码 惠水县的电话号码大全 惠阳淡水邮政局电话 惠州水口的邮政局电话 吉利区快递网点电话 吉林省和龙市机关电话 惠东百世汇通快递电话 亚星官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 最后纯血统 九转冰魄2两界相通 穿越上古世界 基因吞噬纪元 湮灭洪荒 百家乐官网 欧博官网 亚星管理平台 葡京官网 皇冠登3出租 吉安顺丰客服电话 集美邮局寄快递电话 惠城区顺丰总部电话 集美邮局寄快递电话号码 吉安怎么寄顺丰快递电话 惠阳淡水邮政局电话 惠州石湾龙邦快递电话号码 浑南物流电话 惠州石湾邮局电话号码 惠州单位电话填写号码 惠水县的电话号码大全 惠州沙田顺丰快递电话 浑南物流电话 惠城区顺丰总部电话 惠州沙田顺丰快递电话 吉安顺丰客服电话 惠州沙田顺丰快递电话号码 惠东百世汇通快递电话 货运公司投诉电话 惠州市水口邮政局电话 惠城区顺丰总部电话 惠州水口的邮政局电话 集美邮局寄快递电话 惠水县的电话号码大全 集美邮局寄快递电话号码 伙伴物流电话号码 惠州市水口邮政局电话号码 伙伴物流电话号码 鸡西桥北德邦物流电话 吉安顺丰电话号码多少