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. Question

    Question

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

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • FedeEinhorn
        FedeEinhorn last edited by

        Unfortunately, that can't be done. The change of address feature allows only from one domain to another, but not to a specific subdirectory.

        The implemented 301s should be enough. Have you 301 file by file or 301'ed the entire domain? As that is the way that it should be done (if you are using Apache that can be done with a simple rewrite rule). If you 301'ed the entire domain, soon Google will show a message that you no longer have access to that .co.uk and .ie domains.

        Hope that helps!

        1 Reply Last reply Reply Quote 2
        • DigitalMarketingInstitute
          DigitalMarketingInstitute last edited by

          Thanks for the response Federico.

          I've 301'd every page on the old site to the relevant page on the new website, rather than 301'ing the entire domain to the homepage which would be bad practice.

          At least with subdirectories, within WMT I've been able to geotarget /UK/ to the UK, and /IE/ to Ireland.

          FedeEinhorn 1 Reply Last reply Reply Quote 0
          • FedeEinhorn
            FedeEinhorn @DigitalMarketingInstitute last edited by

            Anyway, you should find a solution to redirect the entire domain while "keeping" the URL structure in the new subdomain.

            Example:

            www.domain.co.uk/page1 redirects to www.domain.com/uk/page1

            And for those pages that have no related or 404 you also redirect them by using a rewrite rule that redirects EVERYTHING to the new location, even under a subdirectory.

            Rewrite rule example (for the .co.uk domain):

            RewriteCond %{HTTP_HOST} !=www.example.com [NC]
            RewriteRule ^(.*)$ http://www.example.com/uk/$1 [R=301,L]

            1 Reply Last reply Reply Quote 1
            • 1 / 1
            • First post
              Last post
            • Redirect Question
              Ray-pp
              Ray-pp
              0
              2
              67

            • Indexation question
              irvingw
              irvingw
              0
              3
              178

            • Canonical Question
              SebastianCowie
              SebastianCowie
              0
              5
              286

            • Questions about Redirects
              csmm
              csmm
              0
              4
              345

            • Popup Question
              EGOL
              EGOL
              0
              3
              358

            • Summarize your question.Sitemap blocking or not blocking that is the question?
              Nobody1560986989723
              Nobody1560986989723
              0
              2
              353

            • Redirect Question
              KeriMorgret
              KeriMorgret
              1
              5
              322

            • Redirect questions
              lojdqvist
              lojdqvist
              0
              7
              559

            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