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"
烟台到杭州汽车票查询时刻表查询电话湘潭新长途汽车站规划烟台到义乌长途汽车莆田有多少个汽车站杭州到九堡汽车票价烟台到杭州汽车票查询时刻表查询电话梅州汽车站到梅县多远烟台到义乌长途汽车常熟南站到兴化汽车站时刻表蒲江到雅安汽车票价格贵阳6路汽车到几点烟台到义乌长途汽车燕郊到廊坊汽车电话贵阳6路汽车到几点宁波至萧山汽车多久时间表蒲江到雅安汽车票价格郑州汽车南站到荥阳鄂尔多斯到徐州汽车站时刻表杭州到九堡汽车票价钦州到开平的汽车总站从重渡沟到洛阳的汽车鄂尔多斯到徐州汽车站时刻表常熟南站到兴化汽车站时刻表今天嘉兴至青岛的汽车时刻表查询龙华到衡水汽车时间表西安到江门汽车票价查询龙华到衡水汽车时间表新泰到青州汽车站时刻表钦州到开平的汽车总站衢州到平湖的长途汽车时刻表查询 星际联邦面临内忧外患,人类文明危在旦夕,随着超级战士天羽的觉醒,宇宙又迎来了和平的曙光白小飞意外重生至高中时代,面对曾经一心追求的女神林笑笑和未来会跟他结婚的杨雪白小飞会如何作出抉择,奶奶还未确诊癌症,自己也拥有重新高考的机会他能否利用这次重生来改变人生呢?星源大陆,一片古老而又充满生机的大陆,在这片大陆上的每个人都以灵力决定强弱,根据灵力强弱可分为九阶每一阶都有段,第一段称为空天,而后每一段则称为几重天。除了修炼灵力,人们还可以通过修炼术士,灵兵,灵宠,丹药………来提高实力。 五十年前,一场大战让世间灵气衰弱,世人修炼的速度变得越来越慢,这场大战因一支笔而起,这支笔便是通向仙界的钥匙,被世人称作 ——社稷笔。然而在那场战斗后,社稷笔便也消失了。 直到十二年前,一位少年随紫金色的天空而来。 自虚幻世界无情地断裂成上界与下界后,文明间难以逾越的鸿沟便诞生了。年轻人,倘若你面前是充盈着未知气味的深渊,请不要害怕,提着灯大胆往前迈出那步吧。二次穿越的异世界勇者与他的伙伴接受神谕来到了一个被诅咒的世界,一个未知神灵祈求他们解除世界的诅咒,拯救世界。在经过一系列的金牌猎魔人的杀人事件中,勇者一行人逐渐找到了诅咒的源头,并得到了想得到的答案。   拥有冥界权能的金牌猎魔人突然开始大肆残杀人类,并与异世界的勇者们相遇。异世界的勇者们认为诅咒的来源就是这位金牌猎魔人,他们为了阻止他残杀人类,分布世界各地追捕这个猎魔人。主角竟是“创世神”盘古传世,一天主角在参如完毕业典业,在回家途中遇到车祸,等男主第二天睡来后竟发现自已身处洪荒世界!他该如何在哪个世界生存,并找回神格?命运齿轮缓缓转动,被命运抛弃的三旬青年,独自一人在他乡流浪。断靳刺,斩霹雳。快刀乱意斩豪门。初中生创作,写的不好请谅解明朝末年,张怀英在一场江湖纷争中失去了至亲,从此无依无靠,寄居伯父家,受尽同伴的冷嘲热讽。 直到某天,天边飞过一颗流星,将方圆五丈的树林夷为平地。 之后,张怀英从卧榻之侧立起,记忆零碎…… 从此在武当派崭露头角,随着等级的提升,张怀英开始问鼎中原。冥冥之中自有天意,穿越者何必天下无敌。人心正,自有天助。召唤师,万兽朝宗…… 战士等级:初级、中级、高级、青铜、黄铜、黑铁、白银、黄金、圣战士 法师等级:学徒、一级——六级、七级大魔法师、八级魔导师、九级圣魔导师 召唤兽法师:无等级区分
再世魔尊 最终序列 剑无尊 末世人类魂穿巫族后裔 神尊荒 二狗人生 王二浪的幸福生活 娘子是女魔头 都市之医神下山 神印浮雕 诸天答题游戏 他和他的剑 入赘后,娘子对我太好怎么 关于勇者想当我妹夫这件事 三国:气运图录,开局娶亲大小乔 如梦如真的两段人生梦 百诡夜艳 念凡纪元 衣冢 雪史功业 蓬安到营山汽车票价 去安庆的合肥汽车站时刻表 郑州汽车南站到荥阳 杭州到九堡汽车票价 湘潭新长途汽车站规划 新泰到青州汽车站时刻表 郑州汽车南站到荥阳 北京至郑州长途汽车站 西安到江门汽车票价查询 燕郊到廊坊汽车电话 黄山风景区上海汽车时刻表 黄山风景区上海汽车时刻表 汉口郴州汽车站时刻表 去安庆的合肥汽车站时刻表 烟台到杭州汽车票查询时刻表查询电话 杭州到九堡汽车票价 郑州汽车在线 蓬安到营山汽车票价 龙川到虎门汽车站 烟台到义乌长途汽车 去安庆的合肥汽车站时刻表 烟台到义乌长途汽车 龙川到虎门汽车站 鄂尔多斯到徐州汽车站时刻表 蒲江到雅安汽车票价格 汉口郴州汽车站时刻表 蓬安到营山汽车票价 龙川到虎门汽车站 龙川到虎门汽车站 西安到江门汽车票价查询 杭州到九堡汽车票价 鄂尔多斯到济南的汽车站 莆田有多少个汽车站 烟台到杭州汽车票查询时刻表查询电话 今天嘉兴至青岛的汽车时刻表查询 龙华到衡水汽车时间表 莆田有多少个汽车站 郑州汽车南站到荥阳 今天嘉兴至青岛的汽车时刻表查询 宁波至萧山汽车多久时间表 龙华到衡水汽车时间表 北京至郑州长途汽车站 钦州到开平的汽车总站 郑州汽车在线 贵阳6路汽车到几点 鄂尔多斯到济南的汽车站 黄山风景区上海汽车时刻表 龙华到衡水汽车时间表 汉口郴州汽车站时刻表 龙岗汽车站到重庆 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 帝国第一纨绔 玄幻:我,修改万物,万古独尊! 我在原始社会发展现代文明 双面魔圣 重生之年代风华 欧博官网 亚星官网 万利游戏官网 欧博官网 澳门葡京游戏官网 汉口郴州汽车站时刻表 新泰到青州汽车站时刻表 黄山风景区上海汽车时刻表 鄂尔多斯到徐州汽车站时刻表 蒲江到雅安汽车票价格 黄山风景区上海汽车时刻表 从重渡沟到洛阳的汽车 黄山风景区上海汽车时刻表 宁波至萧山汽车多久时间表 从重渡沟到洛阳的汽车 蓬安到营山汽车票价 烟台到杭州汽车票查询时刻表查询电话 龙岗汽车站到重庆 衢州到平湖的长途汽车时刻表查询 新泰到青州汽车站时刻表 龙华到衡水汽车时间表 贵阳6路汽车到几点 鄂尔多斯到徐州汽车站时刻表 钦州到开平的汽车总站 郑州汽车南站到荥阳 从重渡沟到洛阳的汽车 贵阳6路汽车到几点 烟台到杭州汽车票查询时刻表查询电话 钦州到开平的汽车总站 燕郊到廊坊汽车电话 烟台到杭州汽车票查询时刻表查询电话 莆田有多少个汽车站 北京至郑州长途汽车站 莆田有多少个汽车站 蓬安到营山汽车票价