Skip to content
    Moz logo Menu open Menu close
    • Products
      • Moz Pro
      • Moz Pro Home
      • Moz Local
      • Moz Local Home
      • STAT
      • Moz API
      • Moz API Home
      • Compare SEO Products
      • Moz Data
    • Free SEO Tools
      • Domain Analysis
      • Keyword Explorer
      • Link Explorer
      • Competitive Research
      • MozBar
      • More Free SEO Tools
    • Learn SEO
      • Beginner's Guide to SEO
      • SEO Learning Center
      • Moz Academy
      • SEO Q&A
      • Webinars, Whitepapers, & Guides
    • Blog
    • Why Moz
      • Agency Solutions
      • Enterprise Solutions
      • Small Business Solutions
      • Case Studies
      • The Moz Story
      • New Releases
    • Log in
    • Log out
    • Products
      • Moz Pro

        Your all-in-one suite of SEO essentials.

      • Moz Local

        Raise your local SEO visibility with complete local SEO management.

      • STAT

        SERP tracking and analytics for enterprise SEO experts.

      • Moz API

        Power your SEO with our index of over 44 trillion links.

      • Compare SEO Products

        See which Moz SEO solution best meets your business needs.

      • Moz Data

        Power your SEO strategy & AI models with custom data solutions.

      NEW Keyword Suggestions by Topic
      Moz Pro

      NEW Keyword Suggestions by Topic

      Learn more
    • Free SEO Tools
      • Domain Analysis

        Get top competitive SEO metrics like DA, top pages and more.

      • Keyword Explorer

        Find traffic-driving keywords with our 1.25 billion+ keyword index.

      • Link Explorer

        Explore over 40 trillion links for powerful backlink data.

      • Competitive Research

        Uncover valuable insights on your organic search competitors.

      • MozBar

        See top SEO metrics for free as you browse the web.

      • More Free SEO Tools

        Explore all the free SEO tools Moz has to offer.

      What is your Brand Authority?
      Moz

      What is your Brand Authority?

      Check yours now
    • Learn SEO
      • Beginner's Guide to SEO

        The #1 most popular introduction to SEO, trusted by millions.

      • SEO Learning Center

        Broaden your knowledge with SEO resources for all skill levels.

      • On-Demand Webinars

        Learn modern SEO best practices from industry experts.

      • How-To Guides

        Step-by-step guides to search success from the authority on SEO.

      • Moz Academy

        Upskill and get certified with on-demand courses & certifications.

      • SEO Q&A

        Insights & discussions from an SEO community of 500,000+.

      Unlock flexible pricing & new endpoints
      Moz API

      Unlock flexible pricing & new endpoints

      Find your plan
    • Blog
    • Why Moz
      • Small Business Solutions

        Uncover insights to make smarter marketing decisions in less time.

      • Agency Solutions

        Earn & keep valuable clients with unparalleled data & insights.

      • Enterprise Solutions

        Gain a competitive edge in the ever-changing world of search.

      • The Moz Story

        Moz was the first & remains the most trusted SEO company.

      • Case Studies

        Explore how Moz drives ROI with a proven track record of success.

      • New Releases

        Get the scoop on the latest and greatest from Moz.

      Surface actionable competitive intel
      New Feature

      Surface actionable competitive intel

      Learn More
    • Log in
      • Moz Pro
      • Moz Local
      • Moz Local Dashboard
      • Moz API
      • Moz API Dashboard
      • Moz Academy
    • Avatar
      • Moz Home
      • Notifications
      • Account & Billing
      • Manage Users
      • Community Profile
      • My Q&A
      • My Videos
      • Log Out

    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. Home
    2. SEO Tactics
    3. On-Page Optimization
    4. Blog on Subdomain vs. Subdirectory - Best Practices

    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.

    Blog on Subdomain vs. Subdirectory - Best Practices

    On-Page Optimization
    7
    9
    17072
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with question management privileges can see it.
    • HiddenPeak
      HiddenPeak last edited by

      Hi,

      I have recently been told that it no longer impacts authority or rankings if a blog is set up on a subdomain (blog.domain.com) rather than a subdirectory (/blog). However, I am reluctant to do so because I remember learning how blog subdomains did not adhere to SEO best practices.

      Would anyone be able to shed some light on the latest SEO best practices regarding this topic?

      Many thanks,

      Erin

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

        Can Moz weigh in on this please? There is a lot of really  good discussion on this particular topic across multiple threads but no clear direction. What does Moz recommend and why? The why is important and here's why.

        If I have a client with an established blog that uses the blog.domain versus domain/blog structure, should I be recommending they migrate to a different structure?

        1 Reply Last reply Reply Quote 1
        • photoseo1
          photoseo1 Subscriber @gregalam last edited by

          Thanks Greg,

          Super helpful video.

          I have a Blogger blog and it is much harder to host it on a subdirectory and extremely easy to host it on a Subdomain. That video was extremely helpful in making a decision as to which one to use. It just saved me lots of hours of toil and pulling my hair out getting a subdirectory set up and configured, when from the horses mouth, it looks like a subdomain is just fine.

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

            An interesting discussing. This is something I have been looking into recently for a blog of mine.

            Thanks

            1 Reply Last reply Reply Quote 0
            • HiddenPeak
              HiddenPeak @gregalam last edited by

              Interesting point. Thanks for sharing this video!

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

                Does the advice still hold true given this video?

                watch?feature=player_embedded&v=_MswMYk05tk

                HiddenPeak photoseo1 2 Replies Last reply Reply Quote 1
                • HiddenPeak
                  HiddenPeak last edited by

                  Thanks everyone for your responses!

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

                    Hi Erin,

                    Sub directories are the preferred method. This has been asked many times on SEOmoz so I'll post a few links so you can have a look at some of the responses and exactly why they are preferred:

                    http://www.seomoz.org/q/blog-vs-blog

                    http://www.seomoz.org/q/best-place-for-a-blog-blog-mydomain-com-or-mydomain-com-blog

                    http://www.seomoz.org/q/subdomains-vs-subfolders

                    Hope that helps!

                    Brad

                    1 Reply Last reply Reply Quote 2
                    • MoosaHemani
                      MoosaHemani Banned last edited by

                      Well there is a very old debate and many SEO will recommend you using sub directory instead of sub domain.

                      Reasons why you should use Sub directory instead of sub-domain:

                      • Search engine still counts sub domain as another website so if the blog is in sub directory it will be considered as the part of the website
                      • Your over all SEO efforts will impact on sub directory which is not the case in terms of sub domain.
                      • Its way easier to rank for long tail keywords with sub directory instead of sub domain.

                      If SEO is not a problem for you are you are more interested in branding then i think subdomain goes well as its easier to remember and write directly in the URL bar.

                      1 Reply Last reply Reply Quote 6
                      • 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


                      Browse Questions

                      Explore more categories

                      • Moz Tools

                        Chat with the community about the Moz tools.

                      • SEO Tactics

                        Discuss the SEO process with fellow marketers

                      • Community

                        Discuss industry events, jobs, and news!

                      • Digital Marketing

                        Chat about tactics outside of SEO

                      • Research & Trends

                        Dive into research and trends in the search industry.

                      • Support

                        Connect on product support and feature requests.

                      • See all categories

                      Related Questions

                      • StoryScout

                        Is using hyphens in a URL to separate words good practice?

                        Hi guys, I have a client who wants to use a hyphen to separate two words in the URL to make each work stand out. Is is good or bad practice to use a hyphen in a URL and will it affect rankings? Thanks!

                        On-Page Optimization | | StoryScout
                        0
                      • m2webs

                        How "Top" or "Best" are considered when in front of keyword

                        I would like to know if someone has proven info how google today counts words "Top" or "Best" when in front of main keywords you try to rank for. For example, if I have a keyword like "Restaurants in Madrid" and I optimize that page without using words "top" or "best" will it have good rankings for keywords "top restaurants in madrid" and "best restaurants in madrid" ? I suppose that google is smart enough to know that web page should be good ranked even without using those 2 words but would like to know percentage of my loss if I just exclude those words from title tag and other important onpage factors. I want to rank high for all the 3 combinations, with "top", with "best" and without it in front so searching for best solution. I plan just to add one of those words, for example "top" and hope that google will know that "top" = "best" 🙂

                        On-Page Optimization | | m2webs
                        0
                      • StoryScout

                        Duplicate Content - Blog Rewriting

                        I have a client who has requested a rewrite of 250 blog articles for his IT company. The blogs are dispersed on a variety of platforms: his own website's blog, a business innovation website, and an IT website. He wants to have each article optimised with keyword phrases and then posted onto his new website thrice weekly. All of this is in an effort to attract some potential customers to his new site and also to establish his company as a leader in its field. To what extent would I need to rewrite each article so as to avoid duplicating the content? Would there even be an issue if I did not rewrite the articles and merely optimised them with keywords? Would the articles need to be completely taken by all current publishers? Any advice would be greatly appreciated.

                        On-Page Optimization | | StoryScout
                        0
                      • 2bloggers

                        Best way to nofollow affiliate links?

                        I don't "nofollow" affiliate links but I have quite a few. Doing them one by one would just be an impossible job. Would it be best to get a plugin that nofollows EVERYTHING? What would google prefer? I need to DOFOLLOW some links because those sites deserve it.

                        On-Page Optimization | | 2bloggers
                        0
                      • AllieMc

                        Best SEO Extension/Plugin for NOPCommerce Site?

                        Hi I am working for a client who is using NOPCommerce.  It doesn't look like they have a SEO Plugin in - although you can add meta descriptions to Products - which works fine, the Product categories have SEO components too but do not seem to work and all 'other' content /CMS pages have no SEO components whatsoever.  Does anyone know of  a plugin which would resolve this? (PS never used NOPCommerce before!)

                        On-Page Optimization | | AllieMc
                        0
                      • azu25

                        Add content as blog post or to product pages?

                        Hi, We have around 40 products which we can produce plenty of in-depth and detailed "how to"-type pieces of content for. Our current plan is to produce a "How to make" style post for each as a long blog post, then link that to the product page. There's probably half a dozen or more of these kind of blog posts that we could do for each product. The reason why we planned on doing it like this is that it would give us plenty of extra pages (blog posts) on their own URL which can be indexed and rank for long tail keywords, but also that we can mention these posts in our newsletter. It'd give people a new page full of specific content that they can read instead of us having to say "Hey! We've updated our product page for X!", which seems a little pointless. Most of the products we sell don't get very many searches themselves; Most get a couple dozen and the odd few get 100-300 each, while one gets more than 2,000 per month. The products don't get many searches as it's a relatively unknown niche when it comes to details, but searches for the "categories" these products are in are very well known (Some broad terms that cover the niche get more than 30,000+ searches a month in the UK and 100,000+ world wide) [Exact].
                        Regarding the one product with more than 2,000 searches; This keyword is both the name of  the product and also a name for the category page. Many of our competitors have just one of these products, whereas we're one of the first to have more than 6 variations of this product, thus the category page is acting like our other product pages and the information you would usually find on our product pages, is on the category page for just this product. I'm still leaning towards creating each piece of content as it's own blog post which links to the product pages, while the product pages link to the relevant blog posts, but i'm starting to think that it may be be better to put all the content on the product pages themselves). The only problem with this is that it cuts out on more than 200 very indepth and long blog posts (which due to the amount of content, videos and potentially dozens of high resolution images may slow down the loading of the product pages). From what I can see, here are the pros and cons: Pro (For blog posts):
                        1. More than 200 blog posts (potentially 1000+ words each with dozens of photos and potentially a video)..
                        2. More pages to crawl, index and rank..
                        3. More pages to post on social media..
                        4. Able to comment about the posts in the newsletter - Sounds more unique than "We've just updated this product page"..
                        5. Commenting is available on blog posts, whereas it is not on product pages..
                        6. So much information could slow down the loading of product pages significantly..
                        7. Some products are very similar (ie, the same product but "better quality" - Difficult to explain without giving the niche away, which i'd prefer not to do ATM) and this would mean the same content isn't on multiple pages.
                        8. By my understanding, this would be better for Google Authorship/Publishership.. Con (Against blog posts. For extended product pages):
                        1. Customers have all information in one place and don't have to click on a "Related Blog posts" tab..
                        2. More content means better ability to rank for product related keywords (All but a few receive very few searches per month, but the niche is exploding at an amazing rate at the moment)..
                        3. Very little chance of a blog post out-ranking the related product page for keywords.. I've run out of ideas for the 'Con' side of things, but that's why I'd like opinions from someone here if possible. I'd really appreciate any and all input, Thanks! [EDIT]:
                        I should add that there will be a small "How to make" style section on product pages anyway, which covers the most common step by step instructions. In the content we planned for blog posts, we'd explore the regular method in greater detail and several other methods in good detail. Our products can be "made" in several different ways which each result in a unique end result (some people may prefer it one way than another, so we want to cover every possible method), effectively meaning that there's an almost unlimited amount of content we could write.
                        In fact, you could probably think of the blog posts as more of "an ultimate guide to X" instead of simply "How to X"...

                        On-Page Optimization | | azu25
                        0
                      • rohanarora536

                        Which is Best Practice for creating URLs for subdomain?

                        My website is related to education. We have created sub domains for all major colleges, universities & Entrance exams like Gre, Toefl ETC. for eg:  amityuniversity.abc.com (Amity is Name of University ) Now if have to mention city name in URL as well (college is located in multiple locations) amityuniversity-delhi.abc.com
                        amityuniversitydelhi.abc.com Now my Q is can we use hyphens in sub domains if we have to add city name or shall we create without using any  hyphens. In Directory  structure we can always separate words with hyphens, can we follow same practice in subdomain as well Which is a  best URL for subdomain amity-university-delhi.abc.com
                        amityuniversity-delhi.abc.com
                        or amityuniversitydelhi.abc.com

                        On-Page Optimization | | rohanarora536
                        0
                      • Webat

                        What is the best way to format an xml sitemap?

                        I am wondering if the urls should be in alphabetical order or if they should be set out in a way that reflects the sites hierarchy? Thanks.

                        On-Page Optimization | | Webat
                        0

                      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
                      Free SEO Tools
                      • Domain Authority Checker
                      • Link Explorer
                      • Keyword Explorer
                      • Competitive Research
                      • Brand Authority 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 - 2025 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.