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. Http -> https redirections / 301 the right way

    Http -> https redirections / 301 the right way

    Technical SEO Issues
    4 2 61
    • 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.
    • Chemometec
      Chemometec last edited by

      Dear mozers,

      Thank you for your time reading the message and wanting to help!

      So, we have moved our WordPress to https and redirected all the content successfully via htaccess file.

      We used a simple 301 redirect plugin, which we are using to redirect old URLs to the new ones.

      The problem today is, the redirections in the plugin are not working for http version. Here is an example:

      htaccess redirect:

      http --> https

      Plugin redirect

      domain.com/old --> domain.com/new

      but, the url http://domain.com/old is not redirecting to https://domain.com/new

      while

      https://domain.com/old does redirects to https://domain.com/new

      What can you suggest as a solution?

      Thank you in advance!

      P.S. I don't think having 2 redirects for each version of the URL is the smartest solution

      Best wishes,

      Dusan

      1 Reply Last reply Reply Quote 0
      • Andy.Drinkwater
        Andy.Drinkwater last edited by

        It sounds to me like a config issue in the .htaccess file. There is no real reason for it not to work otherwise.

        See if you find your solution in here:

        https://www.sslshopper.com/apache-redirect-http-to-https.html or here: http://stackoverflow.com/questions/13977851/htaccess-redirect-to-https-www

        -Andy

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

          Oh, it's solved.

          I forgot to say that we have switched hosting provider. From some reason it renamed our mu_plugins folder to mu_plugins_old. I have simply renamed the folded and reactivated cashing plugin, which creates the rule and writes in htaccess.

          Thanks Andy for your contrubution. The links you share are useful for anyone looking for the right way of doing 301 redirections.

          Cheers!

          Andy.Drinkwater 1 Reply Last reply Reply Quote 1
          • Andy.Drinkwater
            Andy.Drinkwater @Chemometec last edited by

            That's great news Dusan - glad you figured it out 🙂

            -Andy

            1 Reply Last reply Reply Quote 1
            • 1 / 1
            • First post
              Last post
            • Http:// vs Https:// in Og:URL
              ThompsonPaul
              ThompsonPaul
              0
              6
              637

            • Do you still loose 15% of value of inbound links when you redirect your site from http to https (so all inbound links to http are being redirected to https version)?
              LoganRay
              LoganRay
              0
              5
              74

            • From: http://www. to https://
              Tymen
              Tymen
              1
              4
              121

            • Http:// to https:// 301 or 302 redirect
              Kingof5
              Kingof5
              1
              7
              284

            • I cannot find a way to implement to the 2 Link method as shown in this post: http://searchengineland.com/the-definitive-guide-to-google-authorship-markup-123218
              Mark.RedGiant
              Mark.RedGiant
              0
              7
              459

            • To 301 redirect or not to 301 redirect? duplicate content problem www.domain.com and www.domain.com/en/
              Chris-CA
              Chris-CA
              0
              5
              456

            • Http:// vs http://www.
              fun52dig
              fun52dig
              0
              8
              474

            • New website branding, differences between http://www and http://
              PathInteractive
              PathInteractive
              1
              10
              1.3k

            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