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"
成都至扬州火车票价格是多少钱啊巴中到厦门的火车时刻表明日火车票查询北京西到鹤壁火车查询雷州到北京火车站成都至扬州火车票价格是多少钱啊c6309火车时刻表明日火车票查询临沂到曲埠火车时刻表赣州东站火车站时刻表北京西至六盘水火车时刻表明日火车票查询北京西到汤阴火车时刻表查询北京西至六盘水火车时刻表呼和浩特东至渠县火车时刻表赣州东站火车站时刻表蓝村到宁波火车站九江到茂名的火车时刻表查询九江到茂名的火车时刻表查询福州到南阳火车票查询系统路过许昌到华山的火车九江到茂名的火车时刻表查询临沂到曲埠火车时刻表济南到长沙普通火车时刻表明天昆明至红果的火车合肥至丽水火车时刻表查询系统明天昆明至红果的火车济南到长沙普通火车时刻表福州到南阳火车票查询系统北京西到汤阴火车时刻表查询写的不好宅男华夫在一次熬夜中猝死后被乐道俱乐部选上变成了汤姆,带着空手接白刃的技能掠夺诸天!高中没考上 李乐明是个技术宅,有一天,丧尸病毒入侵,寄生虫紧跟其后,天气变化无常,自然灾害频繁给事情雪上加霜,为了活命,技术宅李乐明自制系统和武器对抗逆境。 (本书为短编科幻故事,主打未来科技,是爽文,无敌文,由于一章章节字数较小强烈建议存起来达到一定字数再看!)“每当看见奥特曼小视频的时候,下面总会有一堆品论,你,相信光吗?我也会笑嘻嘻的在下面评论我信啊!” “只是,我相信的光,是那些我不知道姓名的人散发的光芒。” “我相信的不是光,是那些燃烧自己散发光辉的人啊!”18年独自生活,无依无靠的乞儿刘田,在人世遭受苦难将死之际,忽遇神秘中年人从天而降,挥手间让其重获新生,并将掌管世间隐秘的天道馆控制核心《天道馆章》交给了他,而后又匆忙离去,此人是谁,又有何目的,刘田这小人物是否能够逆天改命从此走向人生巅峰,就让我们在往后的日子里一同探索,共同见证吧!庆历八年,官场新秀王安石在小县城里猥琐发育,老油条欧阳修在山旮旯里公然摸鱼,小吃货苏东坡还在家披麻戴孝,宅男曾巩搁屋里带娃,二大爷范仲淹被撵的到处跑,理工男宁晏在家调戏大哥小姨子……我是一个老千,为了报仇,我坐上赌桌,以千术把仇人踢进赌博的深渊。老千生涯,靠赌为生。三教九流,江湖百态。 赌桌上,没有常胜将军,输一次,万劫不复。世上最难的不是苦,世上最难的是情。 你可渡天下有情人,而你却渡不过自己的情。 难道唯有无情方为大道 如果你是他你是选无情入有情,还是由有情变无情! 这是七情六欲之间的战斗! 这是初心与本性的争夺!我本无意争锋,却被迫推上高位,在血与火中,一步步走到天的举世瞩目的高度,那么就剩下天了......来自他的故事传奇。
英雄联盟之十年信仰 拥剑何为 废土之上 理想国的破灭 我,替身使者,被校花召唤 宗虚公子 我王凡没有开挂 星辰教主 异世重生:秩序崩坏 入世仙 罪之王夜 山狼 十万里途遥 从模拟开始为系统打工 超能序列:枪弹传奇 直播手艺大师 我在宇宙当杀手 轮回的诅咒 活着成魔 人之罪Human sin 明日火车票查询 k1010火车是空调车吗 合肥至丽水火车时刻表查询系统 北京西到汤阴火车时刻表查询 明日火车票查询 北京西到鹤壁火车查询 合肥至丽水火车时刻表查询系统 临沂到曲埠火车时刻表 呼和浩特东至渠县火车时刻表 路过许昌到华山的火车 吉首站火车站时刻表 吉首站火车站时刻表 隆化县到赤峰的火车 胶州怎么去青岛火车站 成都至扬州火车票价格是多少钱啊 雷州到北京火车站 k1010火车是空调车吗 合肥至丽水火车时刻表查询系统 荆门到泰州的火车卧铺 明日火车票查询 胶州怎么去青岛火车站 明日火车票查询 荆门到泰州的火车卧铺 九江到茂名的火车时刻表查询 赣州东站火车站时刻表 隆化县到赤峰的火车 合肥南至淮南火车 巴中到厦门的火车时刻表 荆门到泰州的火车卧铺 合肥至丽水火车时刻表查询系统 雷州到北京火车站 抚州站到上海站火车票查询 北京西到鹤壁火车查询 成都至扬州火车票价格是多少钱啊 济南到长沙普通火车时刻表 明天昆明至红果的火车 北京西到鹤壁火车查询 蓝村到宁波火车站 隆化县到赤峰的火车 呼和浩特东至渠县火车时刻表 明天昆明至红果的火车 从东海到徐州火车票价格表 成都至息烽火车时刻表 k1010火车是空调车吗 北京西至六盘水火车时刻表 抚州站到上海站火车票查询 吉首站火车站时刻表 明天昆明至红果的火车 隆化县到赤峰的火车 庐山到九江火车站汽车时刻表 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 梦如泡影 泄密系统的群聊 反派:开局三年之期,修罗回归 此处明日 金域 百度 百度 百度 百度 百度 呼和浩特东至渠县火车时刻表 北京西到汤阴火车时刻表查询 福州到南阳火车票查询系统 吉首站火车站时刻表 北京西到鹤壁火车查询 深圳至北京西的火车票查询 从东海到徐州火车票价格表 从东海到徐州火车票价格表 隆化县到赤峰的火车 福州到南阳火车票查询系统 合肥南至淮南火车 北京西到鹤壁火车查询 成都至息烽火车时刻表 北京西到鹤壁火车查询 成都至扬州火车票价格是多少钱啊 从东海到徐州火车票价格表 深圳至北京西的火车票查询 九江到茂名的火车时刻表查询 北京西到汤阴火车时刻表查询 北京西到鹤壁火车查询 临沂到曲埠火车时刻表 赣州东站火车站时刻表 明天昆明至红果的火车 济南到长沙普通火车时刻表 路过许昌到华山的火车 荆门到泰州的火车卧铺 k1010火车是空调车吗 吉首站火车站时刻表 c6309火车时刻表 合肥至丽水火车时刻表查询系统 亚星官网 亚星官网 万利官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网