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"
王雷最新电视剧2014卧底的电视剧播放密使2电视剧王雷主演的电视剧战争片太行英雄传电视剧在线阅读王雷最新电视剧2014最近长春台播的电视剧密使2电视剧你是否依然爱我是电视剧么妓女和牛郎 电视剧pong最近演的电视剧王雷最新电视剧2014国外职场电视剧排行榜pong最近演的电视剧密使2电视剧妓女和牛郎 电视剧说爱我 电视剧太行英雄传电视剧在线阅读太行英雄传电视剧在线阅读赵薇最早演过的电视剧有哪些电视剧孤雁微博海上丝路 电视剧你是否依然爱我是电视剧么一部灵异警察电视剧小白菜杨乃武电视剧40乌鸦嘴妙女郎电视剧1王雷主演的电视剧战争片《暖爱》电视剧片尾曲赵薇最早演过的电视剧有哪些京城四少电视剧图片这是一个从2002年讲起的故事,跟随丛一从懵懂孩童,到叛逆少年,至发奋青年的青春过程。同时也见证了这个海滨城市十多年的变迁,在这个故事里,你绝对或多或少能看到自己的影子。岁月匆匆,或好或坏,终其一生,未能明白其中二三,蓦然回首,已无归途。到底什么才是这个世界真实的颜色。三年前,他家道衰落,被迫退婚! 三年后,他功成名就,强势归来! 作为战神,为了龙国安宁,他选择放下昔日仇恨;可让他没有想到的是,同袍竟利欲熏心,与仇人结盟谋害自己! 所幸天无绝人之路,林天权大难不死! 三年前,他能成就一方战神,三年后,他依旧能以天人之姿,让那些陷害自己的人,付出百倍、千倍代价!无数的故事,编织成了这个世界。神圣再现,风云再起,旧时代未葬下的魔,就由我来终结。(作者是个小白,文笔不好!)一代绝世天才意外死亡,魂穿地球,凭独门功法,纵横都市……一辰,你们家的床大不大呀,介不介意小女子们在此借宿一宿呢 你穿上衣服的样子真好看呢,你也是不穿更好看! 美女事业两不误,他全都,要要要!!!修炼界流传着只要跟沈于安成为朋友便会被他给带歪。 只因他满口的歪道理,而你会在不知不觉间认同他的道理,甚至是对他所说出的每一个道理都近乎于疯狂的崇拜,病态的崇拜。 他的歪道理甚至是能够帮助他人顿悟。 直到有一天沈于安告诉世人其实不需要苦修就能提升修为,这让人一听不就是妥妥的歪理吗? 众修士:“不苦修怎能提升修为?” 沈于安:“那你们用过我研究出来的道具没?” 众修士:“什么玩意?” 沈于安:“都是一群土鳖。” 众修士:??(◣д◢)?? 本书又叫:(思想不端正,歪理来矫正) 本书又叫:(本公子有一口流利的歪道理) 本书又叫:(沈大公子的歪道理满天飞) 本书又叫:(我的歪道理是用来引导人的) 本书又叫:(异界大哲学家,大道具师) 本书又叫:(唯我沈大公子的歪理能通神)短篇小说天道亦无常,人心更反复,世间三千疾,最苦是抉择。一个被命运驱使的少年自深山中走出,就此入世…风起云涌,仙道争锋,天意无常,人心不古…历经千难万险,又该作何选择?愿只随本心,纵错也无怨! 修道无始终,何以为巅峰… 偏拗执念深,百炼不为仙… 天意虽相悖,吾只随吾心… 万劫纵不复,无怨亦无悔…
鸦之报返 两界开端 墨青帝 天玄第一神 原子战神 在古代成为全才很正常吧 浮生剑语 契约双刃 论画饼,我是专业的 神本怪物 修仙三百年,你说这是武侠世界? 异界第一装逼王 我创造了最强惊悚世界 三话注 我在恶魔时代当战神 鬼怨校园:噩梦 小狼小狼 重生之闯山海 骓驲传 苦海无人间 封神榜电视剧老版 pong最近演的电视剧 最近长春台播的电视剧 王雷主演的电视剧战争片 电视剧孤雁微博 乌鸦嘴妙女郎电视剧1 最近长春台播的电视剧 妓女和牛郎 电视剧 卧底的电视剧播放 花千骨电视剧片花剧情 现在的电视剧都是给女人看的 现在的电视剧都是给女人看的 王的相爱电视剧 pong最近演的电视剧 王雷最新电视剧2014 小白菜杨乃武电视剧40 下载家经难念电视剧 乌鸦嘴妙女郎电视剧1 封神榜电视剧老版 王雷最新电视剧2014 车哓演的电视剧 密使2电视剧 封神榜电视剧老版 海上丝路 电视剧 花千骨电视剧片花剧情 张芯瑜演过的电视剧 乌鸦嘴妙女郎电视剧1 封神榜电视剧老版 电视剧孤雁微博 乌鸦嘴妙女郎电视剧1 太行英雄传电视剧在线阅读 车哓演的电视剧 王雷主演的电视剧战争片 王雷最新电视剧2014 一部灵异警察电视剧 小白菜杨乃武电视剧40 马文龙最新演过的电视剧 现在的电视剧都是给女人看的 一部灵异警察电视剧 马文龙最新演过的电视剧 小白菜杨乃武电视剧40 电视剧绝世宠妃图片 赵薇最早演过的电视剧有哪些 下载家经难念电视剧 pong最近演的电视剧 车哓演的电视剧 偶像剧情电视剧 小白菜杨乃武电视剧40 张芯瑜演过的电视剧 最近长春台播的电视剧 亚星官网 亚星游戏官网 亚星游戏官网 亚星官网 亚星官网 光厘 帝都往事之职场江湖 我是人类最出名巨星 方块一生 从零开始之始动 万利官网 欧博官网 百家乐官网 万利官网 欧博官网 小白菜杨乃武电视剧40 马文龙最新演过的电视剧 现在的电视剧都是给女人看的 小白菜杨乃武电视剧40 pong最近演的电视剧 说爱我 电视剧 pong最近演的电视剧 张芯瑜演过的电视剧 《暖爱》电视剧片尾曲 国外职场电视剧排行榜 pong最近演的电视剧 最近长春台播的电视剧 赵薇最早演过的电视剧有哪些 下载家经难念电视剧 双枪老太婆电视剧剧情 pong最近演的电视剧 密使2电视剧 双枪老太婆电视剧剧情 国外职场电视剧排行榜 王雷最新电视剧2014 王雷主演的电视剧战争片 封神榜电视剧老版 最近长春台播的电视剧 电视剧绝世宠妃图片 现在的电视剧都是给女人看的 王雷主演的电视剧战争片 赵薇最早演过的电视剧有哪些 小白菜杨乃武电视剧40 你是否依然爱我是电视剧么 说爱我 电视剧