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"
十二生肖邮票文革邮票猴年邮票南京文交所钱币邮票交易中心奥运邮票十二生肖邮票邮票收藏价格表邮票吧龙邮票邮票新人小白第一本书,一个小故事,每个人都有一个武侠梦一个被遗弃少年的奇幻冒险光鲜亮丽的皮囊只是一副躯壳,当它干涸,会露出里面的东西。 古陵穿越仙武世界,成为道宗被废弟子。被打入禁地渊薮,觉醒签到系统。 “叮!签到成功,恭喜宿主获得先天圣体道胎!” “叮!签到成功,恭喜宿主获得元辰精神术!” 一百年后,修行界大乱,在古陵走出禁地的时候,豁然发现,自己举世无敌。童念承诺之前说的话,不再抛头露面,待在家里大门不出二门不迈,继续写侦探小说,保持当红女作家的地位。 后来,童念得知自己的父亲成为东署警局第二任局长,心里感到非常高兴。 童念借此机会,想把太叔劂介绍给自己的父亲认识,去了一家电影院,结果发生杀人事件。 《女侦探童念》系列小说的第二部!特种兵赵阳一觉醒来却发现自己竟然魂穿三国时代,并且获得了无双帝皇系统。他从此开始收名将,纳美人,灭刘备,退孙权,拒曹操煌煌一世。曹操:“我曹氏子弟不如子炎分毫。”刘备:“谁能帮我除了赵子炎,我封他为王。”孙权:“赵子炎是上天派来惩罚我的吗?”赵阳:“我还没发力,你们全倒下了,还让我怎么玩啊?”最后问鼎江山一统天下。赵阳看着眼前的皇座,心中无限感慨:“我本低调,但实力不允许,奈何奈何~~”一个受过特训的现代警察突然穿越到了南宋,而且是精神穿魂魄穿几合一,统一了水浒世界与岳飞之后的真实南宋,改变了历史走向,征服亚欧大陆的金戈铁马传奇霸业。东汉末年,黄巾肆虐,朝廷衰亡,乃至群雄并起,皆想在乱世之中建起属于自己的势力。先帝旧臣董重率先夺取邯郸城,五年后。此城一户许姓人家诞生了一名异童,此人在不久的将来,或许会颠覆整个历史。本书内容纯属虚构,各位看官切勿当真。平平无奇的30岁青年厉青因救人重生回到高中时代,又获得了能力复制系统。回想起那些毁了他的生活,让他日夜挣扎在水火之中的人们…… 我要亲手断送,你们的未来!大易王朝景元年间,时国师夜天为天下至强者,把持朝政,下鱼肉百姓,民不聊生;上残杀修士,致尸横遍野。啸聚虎狼之众,组成暗网,专门诛杀异己。一时间,九州天下,白骨露于野,千里无鸡鸣。当此之时,秦天易,起于青萍之末,止于草莽之间,举起反抗苛政的大旗,解救众生于水火之中。从微末境界,一步步成为天人强者,诛杀国师;运筹帷幄之间,将锦绣江山皆收入囊中。最终,秦天易携天下大势,结束了大易王朝的残暴统治,还天下万民一朗朗乾坤,最终成就千古一帝。
十二生肖邮票 生肖邮票 鸡年邮票 中国邮票 南京文交所钱币邮票交易中心 邮票交易所 欧美群迅雷下载 邮票价格 大龙邮票 邮票价格 民居邮票 邮票收藏 鸡年邮票 邮票收藏价格表 邮票图片 南京文交所钱币邮票交易中心 邮票吧 世界上第一枚邮票 邮票价格 中国邮票 邮票价格 十二生肖邮票 南京文交所钱币邮票交易中心 上海邮票网 纪念邮票 香港回归纪念邮票 邮票收藏 邮票市场 欧美群迅雷下载 邮票行情 女幽灵 百度网盘下载 迅雷下载 邮票行情 邮票价格 邮票收藏 邮票互动网 大龙邮票 邮票行情 女幽灵 百度网盘下载 迅雷下载 龙邮票 鸡年邮票 异世重生的神王不是一般的校园修仙剑荡人生死亡时护你花都之枭雄九段妖孽慕薄渊这不是个养成游戏吗?承包商:D区往事玄幻:我这身体亿点强裂隙现实至尊剑帝玄雍前传:乱世枭雄第一次遇见神待少女宇宙之外之人类的自我救赎飓风星神进化最强宠物我摆烂了我与道士的那些事它人即地狱御祈师亚星官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星游戏官网 皇冠登3出租 薇-電 132-②⑧⑧⑧-8433 【薇-電132-②⑧⑧⑧-8433】皇冠登3出租 皇冠登3出租 薇-電 132-②⑧⑧⑧-8433 【薇-電13228888433】皇冠登3出租 【薇-電132-②⑧⑧⑧-8433】皇冠登3出租 快链下载 - 上海曲德曲网络科技有限公司 快链加速器 - 上海曲德曲网络科技有限公司 快链加速器 - 上海曲德曲网络科技有限公司 快链加速器 - 上海曲德曲网络科技有限公司 快连官网 - 上海曲德曲网络科技有限公司 快链下载 - 上海曲德曲网络科技有限公司 快链加速器 - 上海曲德曲网络科技有限公司 Lets快连 - 上海曲德曲网络科技有限公司 Lets快连 - 上海曲德曲网络科技有限公司 快链下载 - 上海曲德曲网络科技有限公司