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.
    • edward-may
      edward-may @DirkC last edited by

      Hi Dirk

      Thanks for coming to the rescue again 🙂

      Here is a screenshot I took of the admin side in WP - I created a new page on the main site for Pet Psychic Readings https://www.zenory.com/pet-psychic-readings - I moved this post from the blog (zenory.com/blog/pet-psychic-readings) and entered a 301 redirect to https://www.zenory.com/pet-psychic-readings  - however when I go back to the blog post https://www.zenory.co.nz/blog/category/pets-animals/ (as you can see im on the co.nz - when I click on the article it redirects to the com - and this is because I have set it to go to the .com - but should this not go to the co.nz?  Im not too sure where I need to enter a 301 zenory.co.nz/pet-psychic-readings?

      Here is the screen shot -

      I hope I have answered your question? Let me know if I have the wrong end of the stick

      Cheers again Dirk

      new

      DirkC 1 Reply Last reply Reply Quote 0
      • 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
                          • What sources do you use to keep on top of SEO news?
                            ntcma
                            ntcma
                            1
                            10
                            173

                          • How to 301 redirect from old domain and their pages to new domain and pages?
                            andzon
                            andzon
                            0
                            9
                            5.5k

                          • What is the difference between using .htaccess file and httpd.conf in implementing thousands of 301 redirections?
                            esiow2013
                            esiow2013
                            0
                            5
                            1.1k

                          • Difference of Web/URL forwarding and 301 redirection from SEO standpoint?
                            Ratan
                            Ratan
                            0
                            2
                            126

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

                          • 302 redirects - redirecting numerous domains into main primary domain
                            Carson-Ward
                            Carson-Ward
                            0
                            7
                            505

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

                          • Link Farms and The Relationship between 2 domain with a 301 Redirect
                            RyanKent
                            RyanKent
                            1
                            5
                            565

                          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