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. WPEngine Causing Redirect Chain

    WPEngine Causing Redirect Chain

    Technical SEO Issues
    8 4 988
    • 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.
    • AaronHenry
      AaronHenry last edited by

      Hi guys,

      Had a quick question that I wanted to verify here. After reviewing a Moz report we received some redirect chain error on all of our sites hosted with WPEngine. We noticed that the redirect chain appears to be coming from how the domains are configured in their control panel.

      Essentially, there is a redirect:

      • from staging/temp -> to live
      • from non-www -> to www
      • SSL redirect from http -> https

      The issue here is that the non-www is redirecting to www and then redirected again to https://www

      According to support the only way to get rid of this error is to drop the www version of the domain and to host everything under https://domain.com. To me it seems very odd that you cannot just go from http://non-www to https://www in just 1 301 redirect.

      Has anyone else experienced this or am I just not looking at the situation correctly?

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

        Just thought I'd shoot an update - according to WPEngine the redirect will always be there. No way around it on their platform.

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

          Hey Aaron!

          Jared from WP Engine here.

          I just wanted to reach out and provide a bit of clarification on the redirect chain here. On our platform, it is possible to have non-www go to https://www directly.

          To do so, it requires adding each domain individually within the User Portal under 'Domains'. (not combining them under redirects) Once done, you then create a Redirect Rule within the 'Redirect Rules' section with the following parameters:

          Name: (this can be anything)
          Domain: (your non-www domain)
          Source: ^/(.*)
          Destination: https://www.yourwwwdomain.com/$1

          Once configured and the cache purged, a request to the non-www version of your address will skip the http://www redirect and go directly to the secure https://www version.

          If you run into any trouble getting it set up, please reach out to our team and we will be glad to help configure it for you.

          Thanks,
          Jared Arnold

          AaronHenry DonnaDuncan Matt312 3 Replies Last reply Reply Quote 1
          • AaronHenry
            AaronHenry @JaredWPE last edited by

            Thanks for this information! All of the support agents I spoke with told me that it was not possible. They were all extremely professional, but perhaps they didn't understand what I was asking. I'm glad to hear there is a way to make it happen. WPE is a great platform for us.

            JaredWPE 1 Reply Last reply Reply Quote 0
            • DonnaDuncan
              DonnaDuncan @JaredWPE last edited by

              Same question but for the www version of the site. Can it route directly to HTTPS without a redirect? Do I just have to delete the existing non-www to www redirect and follow your logic above? It will take care of both www and non-www redirecting to HTTPS?

              I have also asked the help desk several times for a solution, although not recently. I was told it wasn't possible.

              JaredWPE 1 Reply Last reply Reply Quote 0
              • JaredWPE
                JaredWPE @AaronHenry last edited by

                Hi Aaron,

                You're very welcome and I'm glad that you've been overall enjoying the platform!

                It's very possible that they didn't quite grasp the request, though it is a bit of an SEO quirk to configure. I'll be following up with some of our team to help ensure our internal documentation's up to date so that should this be asked in the future, we can provide a more consistent experience for you.

                Thanks!
                Jared Arnold

                1 Reply Last reply Reply Quote 0
                • JaredWPE
                  JaredWPE @DonnaDuncan last edited by

                  Hi Donna,

                  Thanks for the followup!

                  This method would work for both www and non-www to get it over to https://. We handle redirects on the Nginx layer, so by adding in a Redirect Rule it overwrites any default platform redirect rules in the User Portal and ensures your preferred setup is handled first.

                  If you run into any trouble getting it configured, please reach out to us and we'll be glad to ensure it gets set up properly. Should anyone tell you it's not possible, request that they reach out to me and I'll be sure to instruct them on the method to get it squared away.

                  Cheers,
                  Jared Arnold

                  1 Reply Last reply Reply Quote 0
                  • Matt312
                    Matt312 @JaredWPE last edited by

                    Hi Jared,

                    In the WPE redirect rule editor, it doesn't provide an option for the non-www domain. Only "All domains" and "www.mywwwdomain.com". What do you suggest doing here to eliminate the redirect chain?

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post
                    • Redirection chain and Javascript Redirect
                      0
                      1
                      19

                    • Redirect Chain Issue
                      VELV
                      VELV
                      0
                      3
                      154

                    • Redirect Chain Issues - Cannot Fix
                      ruislip18
                      ruislip18
                      0
                      5
                      269

                    • Is link equity passed through redirect chains?
                      dhananjay.kumar1
                      dhananjay.kumar1
                      1
                      4
                      651

                    • Redirect Chain Issue
                      GardenGamer
                      GardenGamer
                      0
                      3
                      254

                    • Redirect Chain Domain
                      Ian_Lewis
                      Ian_Lewis
                      0
                      4
                      668

                    • IP Redirect causing Indexing Issue
                      0
                      1
                      61

                    • Redirect chains after a site migration
                      Dan-Lawrence
                      Dan-Lawrence
                      0
                      3
                      176

                    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