The Moz Q&A Forum

    • Forum
    • Questions
    • 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 Forum
    2. Categories
    3. SEO Tactics
    4. Local SEO
    5. Local Website Optimization
    6. How to correctly move subdomain to subfolder (google webmaster)?
    Moz Q&A is closed.

    After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

    How to correctly move subdomain to subfolder (google webmaster)?

    Local Website Optimization
    5 5 6.3k
    • 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.
    • PavelGro92
      PavelGro92 last edited by

      Hello,

      This is my first post in here 🙂

      I just wondered what is the correct way to move a subdomain to subfolder?

      I've moved it, re-done sitemap, so that main website would include a subfolder, as they are part of one big website now (it was something like a blog on a subdomain).

      Subdomain now does correct 301 redirects.

      Submitted new sitemap to google, asked google to re-fetch the whole domain (thus subfolder should be re-fetched too, as it's part of main nav).

      The areas i'm in doubt:

      I can tell google that the domain got moved, however it is moved to the one that is already approved in the same account, but is in a subfolder, so should i do this? Or should i simply somehow erase it on webmaster?

      The blog was launched about a month ago, and it isn't perfectly optimized yet, it wasn't on google SERPs pretty much at all, excluding googling it straightly, and there are pretty much 0 traffic from google, almost all of it is either direct either referral, mostly social,

      Thanks,

      Pavel

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

        I'm just made a similar move, moving my blog from blog.domain.com to domain.com/my-blog.

        I don't think I can use the Google change of address - it is throwing me an error when I get to that step in the change of address because I'm going to a sub directory, not to the root. "The old site redirects to www.domain.com/my-blog, which does not correspond to the new site you chose."

        Should I care? I'm getting organic traffic already on the blog URLs, and Google has indexed about half of the URLs that I submitted via the sitemap.

        1 Reply Last reply Reply Quote 0
        • MattRoney
          MattRoney @PavelGro92 last edited by

          Yep! Sounds like that'd be the right thing to do. : Given the situation you'd probably be fine just resubmitting your XML sitemap—your main domain isn't changing; it's just getting a new subfolder—but I can't imagine it'd hurt.

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

            Thanks for such a quick response!

            0 Traffic isn't an issue, as it's for blog only, and i'll solve it 🙂

            The thing that concerns me is that on google change of address - it refers to subdomain movement to another domain, so i.e. in google webmasters i got:

            blog.mywebsite.com

            mywebsite.com

            Now blog was moved to mywebsite.com/blog

            So i should submit new address to mywebsite.com, thus the one i already have in google webmaster console?

            Thanks :S

            MattRoney 1 Reply Last reply Reply Quote 0
            • Joe.Robison
              Joe.Robison last edited by

              Here are some best practices based on your situation:

              • Make sure you've used the change of address tool for the subdomain - "Request an address change.
                Use the **Change of address **tool when your site move entails a domain or subdomain change, such as changing from http://fish.example-petstore.com to http://example.com or http://example-petstore.com." See https://support.google.com/webmasters/answer/83106?hl=en
              • Also - one thing to do with your XML sitemaps is to ensure that both your old and new XML sitemaps are still submitted to Search Console. This will allow Google to read the old and the new. When it reads the old XML sitemap it will follow those URLs and redirects to find and index the new URLs. You can remove the old sitemap only when all of your new URLs are indexing to your standards.
              • If you're getting 0 traffic from Google, check your Search Analytics in Search Console to make sure you're actually ranking for at least long tail keywords. 0 traffic means there's a problem. Check your robots.txt and Meta Robots to ensure everything is properly set up. Do a "site:yoursitename.com/blog" search in Google to make sure your blog URLs are ranking. Also search for your website name to make sure the blog is ranking for the site name at least.

              Good luck!

              1 Reply Last reply Reply Quote 1
              • 1 / 1
              • First post
                Last post

              Got a burning SEO question?

              Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


              Start my free trial


              Explore more categories

              • Moz Tools

                Chat with the community about the Moz tools.

                Getting Started
                Moz Pro
                Moz Local
                Moz Bar
                API
                What's New

              • SEO Tactics

                Discuss the SEO process with fellow marketers

                Content Development
                Competitive Research
                Keyword Research
                Link Building
                On-Page Optimization
                Technical SEO
                Reporting & Analytics
                Intermediate & Advanced SEO
                Image & Video Optimization
                International SEO
                Local SEO

              • Community

                Discuss industry events, jobs, and news!

                Moz Blog
                Moz News
                Industry News
                Jobs and Opportunities
                SEO Learn Center
                Whiteboard Friday

              • Digital Marketing

                Chat about tactics outside of SEO

                Affiliate Marketing
                Branding
                Conversion Rate Optimization
                Web Design
                Paid Search Marketing
                Social Media

              • Research & Trends

                Dive into research and trends in the search industry.

                SERP Trends
                Search Behavior
                Algorithm Updates
                White Hat / Black Hat SEO
                Other SEO Tools

              • Support

                Connect on product support and feature requests.

                Product Support
                Feature Requests
                Participate in User Research

              • See all categories

              • Is there any way to report a website that is not complying with webmaster guidelines to Google?
                Alagurajeshwaran
                Alagurajeshwaran
                0
                8
                1.9k

              • Google my business - Image sizes
                coolhandluc
                coolhandluc
                0
                4
                31.0k

              • Subdomain for ticketing of a client website (how to solve SEO problems caused by the subdomain/domain relationship)
                Adam_RushHour_Marketing
                Adam_RushHour_Marketing
                0
                4
                1.2k

              • Subdomain versus Subfolder for Local SEO
                Red_Spot_Interactive
                Red_Spot_Interactive
                0
                8
                3.0k

              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

              Looks like your connection to Moz was lost, please wait while we try to reconnect.