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"
信息安全事件通报预警标准规范首都网络安全日报名张家口网站建设上海网站制作设计公司网站长沙英文网站建设公司2017上海网络安全大会东莞外贸网站推广网络安全态势感知系统艺术风格网站陕西营销型网站建设公司一流的成都 网站建设重庆好的营销推广公司郑州网站建设、协会网站建设餐饮业的网络营销郑州网站设计济南网站建设第六网建工业信息安全通报预警进一步提高信息安全意识信息安全的要素有哪些内容全球信息安全全球信息安全武汉市网站制作公司通信部门网站备案证明信息安全等级评估证书网络安全专家评审中山企业网站建设公司深圳官方网站制作信息安全认证一介神偷无意落入百年阴谋大局,在阴谋中成长,站在世界之巅。李天命做梦都要笑醒了。他家的宠物,竟然都是传说中的太古混沌巨兽! 他的家鸡,是以太阳为食的‘永恒炼狱凤凰’。 他的黑猫,是以雷霆炼化万界的‘太初混沌雷魔’。 连他家的小强,都是拥有万亿不死分身的‘万界永生兽’…… 从此,他驾驭十头太古混沌巨兽,化身万古第一混沌神灵,周游诸天万界,镇守无尽神域。万物魔灵,诸天邪魔,连爬带滚,哀呼颤抖! 刘墨发现了自己的爷爷是盗墓贼,他选择走爷爷的老路去探寻爷爷未知的墓,一路上结交了许多对于自己来说非常重要的朋友.湘西尸王和海底墓到底是什么关系?余亦辰的身世之谜?刘墨的爷爷为什么不要他从事盗墓?八星卧足墓的噬魂刀真的有这么厉害吗? 武神,是所有人都想达到修为高度,成为武神,便可傲视整个世界。但云飞所处的那一片大陆因一场前所未有的大战倒退了不知多少年,为了打破禁锢,他带领伙伴们毅然踏上那条虚无缥缈的成神之路,去寻找大陆传说中的神器,却发现一个巨大的阴谋。那个让世界陷入绝境,让人恐惧胆颤的女人即将重回大陆,她的名字让所有人为之颤抖,她是那个站在武神之巅的人,拥有大陆最强武器,一招便可灭世,出现即是末日,而一切都压在了他的身上..一旦好人被逼的举起毁灭之剑,这个世界将会走向何方? 张启灵本是一颗由各方大佬培养的火灵珠,因为一个意外流落民间。张启灵在人海浮沉,不仅处处受到欺负,更是因为毁灭之子的身份被人四处追杀。当他了解自己的身世以后,只能举起手中的剑,清洗这个暮气沉沉的世界…… 结婚三年,陈青牛被泼辣老婆驱使,受尽丈母娘一家子窝囊气。   一朝得蚌仙传承,从此鲤鱼化龙,媳妇变成了小乖乖,岳母一家逢迎。   带领全村人搞特色养殖,种植,发展旅游村,过上幸福日子。【老婆做封面,快乐永无限!】 陈阎在末日寻找病毒血清,在关键时刻惨遭女友背叛,濒死之际意外觉醒了死亡系统,转世重生到年前。陈阎:什么死亡才能变强?全球御兽时代,开局觉醒sss级天赋。 无尽提取! 提取铁元素,木剑进化成功,获得一把铁剑! 提取坚硬元素,自身进化成功,获得久久能力! 从此刻开始,走向御兽巅峰! 一朝穿越,成为朱元璋十七子。 赐封宁王,朱权有点皮。 朱元璋:朱家老十七,纨绔属第一! 直到洪武六十大寿…… 这一天,有人单骑斩叛将,纳哈出归降。 这一天,有人发粮赈灾民,百姓终活命。 这一天,天降祥瑞传国玺,大明得国正。 这一天,朱元璋册封朱权,无敌宁王! 以汉朝历史为背景,讲述一个平民小子,如何一步步成长为皇帝。 新人,新书,希望大家支持!
饥饿营销的作用 网站怎么制作 微网站系统 网络营销站点域名采用"企业网站域名/产品名或营销页面名"的形式属于 网络安全体 安络科技 网络安全攻防电视大赛 广州营销型网站优化 企业网络安全定级备案 联邦信息安全管理法 杭州网站建设公司联系方式 企业网站项目流程 网络安全实施 评价一个网站 一流的成都 网站建设 信息安全 怎样维护公司网站 郑州网络营销服务 东莞外贸网站推广 精准营销网 网站蓝色 信息安全等级分为几级 评价一个网站 深圳整合营销行业 idc isp企业信息安全,-1 网络安全预警技术 seo网站系统 济南 信息安全 海淀网站建设 网络安全空间 网络安全专家评审 网络安全态势感知系统 网络安全专家评审 网站制作公司哪个好 品牌营销对企业的意义 全球2014年的计算机网络安全事件 信息网络安全合格证 工控网络安全前景 关于企业网站建设的必要性 网络安全体 怎么建立个人网站