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. Technical SEO Issues
    4. Switching to HTTPS from HTTP

    Switching to HTTPS from HTTP

    Technical SEO Issues
    3 3 82
    • 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.
    • Alick300
      Alick300 last edited by

      Hi,

      I have switched my website from http to https  but now I my facing a problem when I type URL with www ( e.g https://www.example.com) in browser that is working fine but when I type URL without www like https://example.com "This connection is untrusted" error is showing .

      All I want to is redirect https://example.com to https://www.example.com.

      Please let me know how can I redirect?

      Thanks

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

        I beleive editing the .HTAccess file will possibly resolve this issue.
        You need to push users via a redirect like the below if on an apache server. Hope this helps.

        RewriteEngine On
        RewriteCond %{SERVER_PORT} 80
        RewriteRule ^(.*)$ https://www.example.com/$1 [R=301,L]

        1 Reply Last reply Reply Quote 1
        • DennisSeymour
          DennisSeymour last edited by

          What Tim said.

          And be sure to add it again on Webmaster tools

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • Switched from and HTTPS to HTTP. My home page is facing a redirect issue from the http to https. Should I no index the HTTP or find the redirect and delete it? Thank you
            LandmarkRecovery2017
            LandmarkRecovery2017
            0
            3
            42

          • Https to http
            TAT100
            TAT100
            0
            5
            70

          • 301 Redirecting http to https
            Heydarian
            Heydarian
            0
            3
            663

          • Switching from HTTP to HTTPS and google webmaster
            MattRoney
            MattRoney
            0
            4
            1.0k

          • Responsive web design has a crawl error of redirecting to HTTP instead of HTTPS ? is this because of the new update of google that appreciates the HTTPs more?
            donford
            donford
            0
            2
            129

          • HTTP & HTTPS
            BlueprintMarketing
            BlueprintMarketing
            0
            5
            167

          • Switching to HTTPS
            Matt-Williamson
            Matt-Williamson
            0
            5
            216

          • Duplicate content and http and https
            Dr-Pete
            Dr-Pete
            0
            16
            31.7k

          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