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"
石家庄网站制作找谁信息安全测评收费标准翻墙后自己信息安全吗大连营销外包公司有哪些重庆网络营销价格对营销的理解和认识金昌网站建设信息安全测评中心 郭涛广州信息安全测试中心信息安全系统等级二级禅城区做网站策划网站页面优化速卖通如何做营销策略国外网络安全厂商手机营销策划网站建设品牌推荐电子商务(网络营销)网络营销ar是什么意思206 网络营销考试卷微信营销成功信息技术与信息安全 快速学习服装网络营销营销转化率电商信息安全方案腾讯营销案例ppt温州制作网站上海企业网站优化公司中信息安全管理工作般做什么广州市天河区网站设计公司渭南做网站刘阳三岁被一对不孕夫妇收养,同时被收养的同龄妹妹刘晨与他一起进入刘家,却因天生怪病被另眼相看,这般悲惨命运却被一位白发神医华佗扭转......【圣女+无敌+御兽】 重生后的叶天,发现自己竟然成了魔教圣女手中的傀儡教主。 不甘命运的他却意外觉醒无敌神威系统,从此翻身为王,开启牛哔的开挂人生。 穿越第一天,神功速成,统御万兽! 穿越第二天,横扫八荒,力压诸天! 穿越第三天,夜晚,圣女找上门…… 我女友的性格非常冷傲,但是在我面前,她却有着另一面……主角李轩作为一个富二代怎么也没想到喝个酒一觉醒来就穿越成夏朝四皇子 可是这剧本不对啊 别人穿越都是各种金手指自带系统 李轩却什么都没有九幽。幽深之极地,墟,是一个残破的世界。我要前往那儿,埋葬那儿的魂。既济虽济,济犹未济,济之再济,此即未济,虽不圆满,却生生不息。 那是一把剑引发的纷争,从一个城,逐渐扩大到整个世界…… 离奇荒诞的穿越重生,阴差阳错的传承,让林樊,一个30多岁的青中年油腻老男人,开启了一段精彩另类的人生。 小说中波诡云谲的故事,电影中奇思妙想的场景,传说中的龙,凤,麒麟,古老神秘的神仙妖魔,当这一切都出现在他的面前,他茫然了,但他更欣喜了,看他如何在这圣帝,仙王的算计中一步步登临神界之巅。古陵穿越仙武世界,成为道宗被废弟子。被打入禁地渊薮,觉醒签到系统。 “叮!签到成功,恭喜宿主获得先天圣体道胎!” “叮!签到成功,恭喜宿主获得元辰精神术!” 一百年后,修行界大乱,在古陵走出禁地的时候,豁然发现,自己举世无敌。已知宇宙诸多文明对地球虎视眈眈,华夏组织超级连队铁浮屠,为阻挡外星力量筑起保卫地球的血色长城穆曦辰生在一个世家大族,但在一个夜晚,他所在的家族和族人被某个势力所灭,他和妹妹侥幸逃跑,在深山之中被一位神秘强者收为门徒······ 他们能否找到灭族真凶,为族人报仇呢?
网站中主色调 天津网站设计 北邮的信息安全专业 电子商务(网络营销) 网站推广专家 温州制作网站 深圳网站制作公司 天津建网站宝安做网站的 酒店营销推广事例 渭南做网站 信息安全制度框架 营销型网站建设页面 行业网络安全与信息通报工作情况 信息安全行业的企业 电子商务网站seo 办公信息安全意识 工业信息安全联盟,-1 建外贸网站的 2017网络信息安全大会 网信部门和有关部门获取的网络安全保护信息 网络安全 销售 重庆南岸营销型网站建设公司推荐 网络安全取证个人 网络安全认证 重庆营销公司排名 金昌网站建设 重庆专业的网站建设 网络有哪些营销方式有哪些 2015中央网络安全 娃哈哈的网络营销 大连企业网站建站 重庆好的网络营销公司排名 网站模板怎么用 html5网站欣赏 什么叫网络的软营销 信息安全服务规范 网络安全 职位 著名网络营销案例 渭南做网站 自己如何创立网站 信息安全防护等级划分