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"
极速下款的小额贷款借条贷款人死亡怎么办分期贷款15万利息多少钱分期贷款能提前还款黑户怎么贷款20万极速下款的小额贷款廊坊小额个人贷款分期贷款15万利息多少钱老房子不能贷款吗?拉萨个人商业贷款15万快钱贷款利息高不高极速下款的小额贷款来钱宝贷款怎么样快钱贷款利息高不高分期贷款15万利息多少钱昆明一张身份证贷款廊坊银行贷款好批吗黑户怎么贷款20万黑户怎么贷款20万急用三万手机怎么贷款老人多大年龄不能贷款恒昌贷款人民的名义老房子不能贷款吗?金融公司贷款先签什么分期贷款怎么算利息怎么算建行2017车贷款利率分期贷款能提前还款金融公司 大额贷款利率急用三万手机怎么贷款廊坊房屋贷款利率我年龄还小,不能及时更,请谅解。这些都是我自己的真人真事。如果有写的不好的地方,就给我指出来妖魔乱世,鬼怪猖獗,大离皇朝动荡不安。 张韬一觉醒来,发现自己成为一名命不保夕的捉妖人。 妖魔图鉴,万物可辨。 凡是入手经过的妖魔鬼怪,都是不可多得的财富! 张韬惊喜发现,他竟然可以通过点亮妖魔图鉴,获取各种奖励... 阴冥之眼,九幽之瞳,换头术,赤霄真经,御神宝决,浮屠魔塔,九碑妖石,法相天地,长生不灭......我是一个老千,为了报仇,我坐上赌桌,以千术把仇人踢进赌博的深渊。老千生涯,靠赌为生。三教九流,江湖百态。 赌桌上,没有常胜将军,输一次,万劫不复。他本是星辰帝国的太子,可谁料发生叛乱,让当时年仅8岁的他,父母双亡,经脉被废,从堂堂太子变为废物。他本以为这辈子都不能修炼了,所以一心求死,可是却遇到了一位老仙人。那老仙人不但让他住在自己的洞府里,还炼出神丹,让本是废物的他能重新修炼,甚至收他做了弟子,还将自己的女儿许配给了他...... 他定要在这片大陆掀起波澜,报仇雪恨......大千世界,精彩绝伦,少年江辰不甘平淡,修炼篡改少年命,逆境险象皆环生,敢于苍天试比高,敢与大地撼乾坤,蜕凡涅槃终成圣,问鼎苍穹诛魔尊!殷歌穿越到古代世界,与嫂嫂相依为命,十年寒窗苦读。 然而一朝遇鬼,才发现这竟是一个妖魔世界。 鬼怪纵横,邪祟肆虐。 读书人在这个世界命比纸薄。 百无一用是书生? 不!我还有一腔书生意气! 一句“天地有正气,杂然赋流形。”无数鬼魅魂飞魄散。 一句“十步杀一人,千里不留行。”盖世妖王尸首两分。 一句“安得倚天剑,跨海斩长鲸。”无数修士为之俯首。 自此,这个世界上多了一个读书人,一个以文气斩魔的读书人。 由于我兄弟孟强的死,我走上了侦探之路,更是接触了很多喜气股改的事情,拐卖儿童、情杀仇杀,总结出了一条经验,不要挑战人性《从秀才到高僧》是部古代小说,叙事了一位纨绔少爷,在名师的教导下,喜欢观景吟诗。后受到朝政牵连,被逼出家做了和尚,成为名誉一方的世外高僧。危机四伏的皇宫,所有人都可以杀死自己。 宗亲们不喜欢他,因为他是庶子。 大臣们不喜欢他,因为他不懂规矩。 太监宫女们也不喜欢他,因为他不像一个真正的皇帝。 陈庶如何自救?在禽与兽的探索中走向自己的人生巅峰
游戏转生者与梦拉幻大陆 农村二狗的一生 天道酬情,人间悲苦! 我师兄明明满血却太过谨慎 龙域神尊 我与人间问天道 关于我复仇左拥右抱这件事 创世神的花样生活 光寂 浮世轻语 无念剑魂 万载第一神 随着大众去修道 小王的成长故事 超级僵尸先生 造化魔神系统 神仙带我到洪武 流浪的零零后 蛊的学习与研究 开局,我以登临巅峰 建行2017车贷款利率 昆明一张身份证贷款 廊坊银行贷款靠谱吗 黑户怎么贷款20万 借条贷款人死亡怎么办 金融公司 大额贷款利率 廊坊银行贷款靠谱吗 昆山买房贷款利率2016 建行房贷商业贷款利率 来钱宝贷款怎么样 廊坊银行经营性贷款利率 廊坊银行经营性贷款利率 金融公司贷款先签什么 昆明一张身份证贷款 极速下款的小额贷款 分期贷款怎么算利息怎么算 廊坊银行个人小额贷款 建行2017车贷款利率 金华义乌汽车贷款 分期贷款15万利息多少钱 快钱贷款上征信吗 分期贷款15万利息多少钱 金华义乌汽车贷款 恒昌贷款人民的名义 拉萨个人商业贷款15万 金融机构人民币贷款基准利率 中国人民银行 建行2017车贷款利率 金华义乌汽车贷款 金华义乌汽车贷款 建行房贷商业贷款利率 黑户怎么贷款20万 快钱贷款上征信吗 分期贷款能提前还款 极速下款的小额贷款 金融公司贷款先签什么 分期贷款怎么算利息怎么算 分期贷款能提前还款 廊坊银行贷款靠谱吗 金融公司贷款先签什么 分期贷款30年 分期贷款怎么算利息怎么算 昆山买房贷款利率2016 急用三万手机怎么贷款 廊坊银行个人小额贷款 快钱贷款利息高不高 快钱贷款上征信吗 廊坊银行经营性贷款利率 分期贷款怎么算利息怎么算 金融机构人民币贷款基准利率 中国人民银行 廊坊银行贷款好批吗 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 江湖锦衣卫 破晓之轮回 开局我成了一条警犬 不可公开情报 故楚忆歌 葡京官网 欧博官网 亚星管理平台 葡京官网 皇冠登3出租 廊坊银行贷款好批吗 急用三万手机怎么贷款 快钱贷款利息高不高 昆明一张身份证贷款 快钱贷款上征信吗 极速下款的小额贷款 老房子不能贷款吗? 建行2017车贷款利率 分期贷款15万利息多少钱 分期贷款能提前还款 分期贷款15万利息多少钱 廊坊小额个人贷款 分期贷款30年 黑户怎么贷款20万 黑户怎么贷款20万 急用三万手机怎么贷款 金融公司 大额贷款利率 快钱贷款上征信吗 廊坊银行个人小额贷款 老房子不能贷款吗? 廊坊银行经营性贷款利率 昆山买房贷款利率2016 基金贷款利率是多少钱 分期贷款能提前还款 昆山买房贷款利率2016 廊坊房屋贷款利率 昆山买房贷款利率2016 金融公司 大额贷款利率 来钱宝贷款怎么样 廊坊银行贷款靠谱吗