The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Intermediate & Advanced SEO
    4. Client has moved to secured https webpages but non secured http pages are still being indexed in Google. Is this an issue

    Client has moved to secured https webpages but non secured http pages are still being indexed in Google. Is this an issue

    Intermediate & Advanced SEO
    3 3 371
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • VanguardCommunications
      VanguardCommunications last edited by

      We are currently working with a client that relaunched their website two months ago to have hypertext transfer protocol secure pages (https) across their entire site architecture.   The problem is that their non secure (http) pages are still accessible and being indexed in Google.

      Here are our concerns:

      1.  Are co-existing non secure and secure webpages (http and https) considered duplicate content? 
      2.  If these pages are duplicate content should we use 301 redirects or rel canonicals? 
      3.  If we go with rel canonicals, is it okay for a non secure page to have rel canonical to the secure version?

      Thanks for the advice.

      1 Reply Last reply Reply Quote 0
      • donford
        donford last edited by

        Hi,

        1. Yes, http and https are considered different urls and duplicate content is an issue.

        2. You should redirect all http traffic to https inside your .htaccess file located in your root directory usually public_html

         <code>RewriteEngine On
         RewriteCond %{HTTPS} !=on
         RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]</code>
        

        3. You could use rel canonical but a 301 redirect is certain. It is safe to rel canonnical from http to https .

        You will also want to follow up and make sure you have a robots.txt in the https version

        Hope that helps!

        Don

        EDIT FOR A LINK: https://sites.google.com/site/onlyvalidation/page/301-redirect-https-to-http-on-apache-server

        1 Reply Last reply Reply Quote 3
        • Christy-Correll
          Christy-Correll last edited by

          Hi, thanks for your questions! Don has provided some great advice. In addition, you should verify both the http and https versions of your site in Google Webmaster Tools, and configure each account according to Google's guidelines for webmasters at https://support.google.com/webmasters/answer/6033085?hl=en&ref_topic=6033084. (You can also use GWT to tell Google your site has moved, denote the new site, remove old URLs, etc.) Hope that helps!

          Christy 🙂

          PS - To clarify what Don recommended on preventing duplicate content, it is best practice  to 301 redirect URLs when moving from http to https (vs. using canonical tags).

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • Google Indexing Of Pages As HTTPS vs HTTP
            ThompsonPaul
            ThompsonPaul
            1
            13
            1.4k

          • Our Web Site Is candere.com. Its PA and back link status are different for https://www.candere.com, http://www.candere.com, https://candere.com, and http://candere.com. Recently, we have completely move from http to https.
            94501
            94501
            0
            3
            102

          • Our client's web property recently switched over to secure pages (https) however there non secure pages (http) are still being indexed in Google. Should we request in GWMT to have the non secure pages deindexed?
            N1ghteyes
            N1ghteyes
            0
            3
            128

          • HTTP Pages Indexed as HTTPS
            friendoffood
            friendoffood
            0
            5
            95

          • Does Google still don't index Hashtag Links ? No chance to get a Search Result that leads directly to a section of a page? or to one of numeras Hashtag Pages in a single HTML page?
            Muhammad_Jabali
            Muhammad_Jabali
            0
            3
            748

          • Incorrect cached page indexing in Google while correct page indexes intermittently
            MikeRoberts
            MikeRoberts
            0
            2
            298

          • I have removed over 2000+ pages but Google still says i have 3000+ pages indexed
            CleverPhD
            CleverPhD
            0
            6
            148

          • Disallowed Pages Still Showing Up in Google Index. What do we do?
            KeriMorgret
            KeriMorgret
            0
            6
            896

          Get started with Moz Pro!

          Unlock the power of advanced SEO tools and data-driven insights.

          Start my free trial
          Products
          • Moz Pro
          • Moz Local
          • Moz API
          • Moz Data
          • STAT
          • Product Updates
          Moz Solutions
          • SMB Solutions
          • Agency Solutions
          • Enterprise Solutions
          • Digital Marketers
          Free SEO Tools
          • Domain Authority Checker
          • Link Explorer
          • Keyword Explorer
          • Competitive Research
          • Brand Authority Checker
          • Local Citation Checker
          • MozBar Extension
          • MozCast
          Resources
          • Blog
          • SEO Learning Center
          • Help Hub
          • Beginner's Guide to SEO
          • How-to Guides
          • Moz Academy
          • API Docs
          About Moz
          • About
          • Team
          • Careers
          • Contact
          Why Moz
          • Case Studies
          • Testimonials
          Get Involved
          • Become an Affiliate
          • MozCon
          • Webinars
          • Practical Marketer Series
          • MozPod
          Connect with us

          Contact the Help team

          Join our newsletter
          Moz logo
          © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
          • Accessibility
          • Terms of Use
          • Privacy