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. Duplicate Meta Data from Http and Https

    Duplicate Meta Data from Http and Https

    Intermediate & Advanced SEO
    4 2 261
    • 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.
    • RaviAhuja
      RaviAhuja last edited by

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • StreamlineMetrics
        StreamlineMetrics last edited by

        When I try to go to the secure version https://www.moneyglare.com/, I am served the following warning message -

        www.moneyglare.com uses an invalid security certificate.

        The certificate is not trusted because it is self-signed.
        The certificate is only valid for Parallels Panel

        (Error code: sec_error_untrusted_issuer)


        I am not exactly sure what Parallels Panel is but if it's your webhost, you might want to try contacting them to see if they can fix this for you by 301 redirecting the https version of the site to the http version if you are not using SSL.

        Another option is to set the canonical tags to the http versions so the https pages don't get indexed in the search engines. Here's a quick way to automatically do this with PHP -

        $currenturl= $_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];

        //Check if it is using the secure https port which is 443
        if ($_SERVER["SERVER_PORT"] == "443") {

        //connected to secure port, formulate the http canonical version
        $canonicalversion="http://".$currenturl;

        //echo the canonical version to the HTML as link rel canonical tag
        echo '';
        }

        ?>

        RaviAhuja 1 Reply Last reply Reply Quote 1
        • RaviAhuja
          RaviAhuja @StreamlineMetrics last edited by

          Sorry, but I am not sure where to put this code.

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

            Now I have moved my hosting (because of lot of problems) but on new hosting https version is not working.

            Google is indexing one of my blog http://www.codefear.com with https version too. My blog traffic is continuously dropping I think due to these duplicate content . One with http version and another with https version.

            Please help me to overcome from this problem and after solving this duplicate issue, do I need Reconsideration request to Google.

            Thank you

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            • We are redirecting http and non www versions of our website. Should all versions http (non www version and www version) and https (non www version) should just have 1 redirect to the https www version?
              BlueprintMarketing
              BlueprintMarketing
              0
              8
              437

            • HTTP vs HTTPS duplication where HTTPS is non-existing
              Joe_Stoffel
              Joe_Stoffel
              0
              2
              75

            • From http to https
              LoganRay
              LoganRay
              0
              4
              95

            • Webmaster is giving errors of Duplicate Meta Descriptions and Duplicate Title Tags
              Taiger
              Taiger
              0
              7
              753

            • Faulty title, meta description and version (https instead of http) on homepage
              Christy-Correll
              Christy-Correll
              0
              8
              124

            • HTTPS pages - To meta no-index or not to meta no-index?
              TomVolpe
              TomVolpe
              0
              3
              856

            • Duplicate pages with http and https
              Diana.varbanescu
              Diana.varbanescu
              0
              6
              261

            • Http and https duplicate content?
              NakulGoyal
              NakulGoyal
              0
              5
              2.6k

            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