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. White Hat / Black Hat SEO
    4. 301 redirects for 3 top level domains using WP SEO Yoast

    301 redirects for 3 top level domains using WP SEO Yoast

    White Hat / Black Hat SEO
    14 3 531
    • 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.
    • DirkC
      DirkC @edward-may last edited by

      Hi Justin,

      Correct me if I am wrong - but I guess you use the same backoffice for the three sites. So if you redirect the page to an absolute url on the .com domain all these pages will be redirected to the .com domain.

      I am not really familiar with the Yoast plugin - but could you try to put the redirect url in relative - replace https://www.zenory.com/pet-psychic-readings by /pet-psychic-readings & check if this works?

      rgds,

      Dirk

      edward-may 1 Reply Last reply Reply Quote 1
      • edward-may
        edward-may @DirkC last edited by

        Hi Dirk

        I must of just missed your post -

        I updated it now as per what you were saying

        The post is now zenory.co.nz/blog/phone-psychic-reading 301/ to zenory.com/phone-psychic-readings.  The problem I'm facing as you can see from this scenario - if you went to https://www.zenory.com.au/blog/page/4/ which is the com.au your still on the blog - if you click on the old Phone Psyhic Readings listing - it will take you to zenory.co.nz/phone-psychic-readings (because that is the domain name i have se the 301 redirect too) but for the purpose of stopping the banks links that are crossing each domain - perhaps I'm doing this incorrectly?

        Hope I'm making sense here!

        1 Reply Last reply Reply Quote 0
        • edward-may
          edward-may @DirkC last edited by

          Dirk, Brilliant - that worked 🙂 Omg your a life saver! Thanks so much for fixing this for me! I had no idea what relative was until you mentioned it! Learning everyday from you ! Thanks so much I'm really grateful!

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

            Hi Justin,

            The redirect should not be:

            zenory.co.nz/blog/phone-psychic-reading 301/ to zenory.com/phone-psychic-readings

            but

            /blog/phone-psychic-reading 301/ to /phone-psychic-readings

            If you add the domains it will only be correct for 1 domain & wrong for the 2 others.

            Not sure if the plugin can handle this - but it's worth trying.

            rgds,

            Dirk

            edward-may 1 Reply Last reply Reply Quote 1
            • DirkC
              DirkC @edward-may last edited by

              Great! (you can ignore my last answer below - I wrote it before I noticed that you solved it already)

              Dirk

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

                Great to see you found an answer Justin!

                edward-may 1 Reply Last reply Reply Quote 1
                • edward-may
                  edward-may @Bob_van_Biezen last edited by

                  Haha Thanks Bob!!! 🙂

                  1 Reply Last reply Reply Quote 0
                  • edward-may
                    edward-may @DirkC last edited by

                    Hi Dirk,

                    I'm trying to create a redirect to the home page of com, com.au and co.nz but what do i put as the relative?   /zenory.com /zenory.co.nz /zenory.com.au to make sure it goes to that site and doesn't cross over? i found linking to category was fine but home page im stuck here.

                    I hope I have explained it clearly

                    Cheers

                    Just

                    DirkC 1 Reply Last reply Reply Quote 0
                    • DirkC
                      DirkC @edward-may last edited by

                      Hi Justin,

                      If you want to redirect to home I guess you should just put / as the destination url (as told - not really an expert in Yoast)

                      I think the rule should look like

                      Redirect 301 /folder_to_be_removed/ /

                      Could you give it a try?

                      rgds

                      Dirk

                      edward-may 1 Reply Last reply Reply Quote 1
                      • edward-may
                        edward-may @DirkC last edited by

                        Hi Dirk,

                        Sorry i only just picked up your message! 🙂 Thanks again for your response!

                        I will try adding what you have suggested, when you /folder_to_be_removed/ - can you explain what that means?

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post
                        • Moving website and domain name without 301 Redirect or rel=canonical
                          VanMaster
                          VanMaster
                          0
                          3
                          225

                        • Redirect a sub-domain to other domain
                          PatrickDelehanty
                          PatrickDelehanty
                          0
                          2
                          88

                        • What sources do you use to keep on top of SEO news?
                          ntcma
                          ntcma
                          1
                          10
                          173

                        • Redirect from old domain to a new domain
                          MoosaHemani
                          MoosaHemani
                          0
                          2
                          81

                        • Do I need to undo a 301 redirect to dissavow links from the source domain?
                          MichaelC-15022
                          MichaelC-15022
                          0
                          6
                          357

                        • If I redirect a penalized domain to a non-penalized domain, will the new domain still be penalized?
                          MangoMan16
                          MangoMan16
                          0
                          5
                          559

                        • 301 redirect from an unwanted non-affiliated domain
                          dohertyjf
                          dohertyjf
                          0
                          3
                          706

                        • New website :301 redirection of a established domain
                          Marcus_Miller
                          Marcus_Miller
                          0
                          4
                          762

                        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

                        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