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

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • 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
17.1k
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 Nov 1, 2012, 3:53 AM

    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 Sep 30, 2013, 4:26 PM Sep 30, 2013, 4:26 PM

      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
      • topic:timeago_earlier,3 months
      • photoseo1
        photoseo1 Subscriber @gregalam last edited by Jul 15, 2013, 8:40 PM Jul 15, 2013, 8:40 PM

        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
        • topic:timeago_earlier,4 months
        • angelfysh
          angelfysh last edited by Mar 6, 2013, 9:11 AM Mar 6, 2013, 9:11 AM

          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
          • topic:timeago_earlier,2 months
          • HiddenPeak
            HiddenPeak @gregalam last edited by Jan 3, 2013, 8:24 PM Jan 3, 2013, 8:24 PM

            Interesting point. Thanks for sharing this video!

            1 Reply Last reply Reply Quote 0
            • topic:timeago_earlier,about a month
            • gregalam
              gregalam last edited by Nov 21, 2012, 9:47 PM Nov 21, 2012, 9:46 PM

              Does the advice still hold true given this video?

              watch?feature=player_embedded&v=_MswMYk05tk

              HiddenPeak photoseo1 2 Replies Last reply Jul 15, 2013, 8:40 PM Reply Quote 1
              • HiddenPeak
                HiddenPeak last edited by Nov 20, 2012, 8:31 PM Nov 20, 2012, 8:31 PM

                Thanks everyone for your responses!

                1 Reply Last reply Reply Quote 0
                • topic:timeago_earlier,20 days
                • bradkrussell
                  bradkrussell last edited by Nov 20, 2012, 8:31 PM Nov 1, 2012, 5:56 AM

                  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 Nov 20, 2012, 8:31 PM Nov 1, 2012, 4:34 AM

                    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
                    1 out of 9
                    • First post
                      1/9
                      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

                    • hans-keeren

                      What is the safest way to redirect for best SEO benefits?

                      redirecting domain 301 redirect seo tactic

                      What is the safest way to redirect for best SEO benefits? Example: loodgieter-aanhuis.nl -> loodgieters-ambacht.nl Does someone have any technical information on how to (root) redirect for best SEO practices?

                      On-Page Optimization | May 3, 2023, 12:36 PM | hans-keeren
                      0
                    • PostAlmostAnything

                      Are Wildcard Subdomain Hurting my SEO?

                      I have some sites with a lot of categories (category, sub-category, sub-subcategory) and locations (country, state/territory, city). To avoid listing pages really deep in my hierarchy I used wildcard subdomains for the locations, but lately I have been told that might be hurting my overall SEO efforts. I have a lot of URLs like https://city-state-country.example.com on one side of the domain and example.com/category/subcategory/subsubcategory on the other. In the middle you see stuff like city-state-country.example.com/category/subcategory/subsubcategory and everything in between. Would I be better off moving the locations to the right side of the domain name? Then you might find stuff like example.com/country/state/city/category/subcategory/subsubcategory and everything in between. I think I could do the new rewrite rules fairly easily since every country slug is just two characters long.

                      On-Page Optimization | Jun 16, 2021, 8:26 PM | PostAlmostAnything
                      0
                    • OSD

                      Image naming best practices?

                      While I have found many good sources of information for naming images for SEO purposes, I'm having trouble finding an up-to-date, exhaustive and authoritative source for image names, alt tags, etc. For instance... Max characters for image name? Max hyphens? How descriptive should you be? "ice-cream-flavors-icon_._jpg" or "ice-cream-flavors.jpg" or simply "ice-cream.jpg" How similar should the image name, alt text and page title be? At what point are you overusing a keyword? Rules to follow? So much more, but you get the idea! Anyone have a good reference or an answer to all things related to images and SEO? Thanks!

                      On-Page Optimization | Jul 10, 2014, 12:22 PM | OSD
                      0
                    • goperformancelabs

                      Does Hiding the article´s date in a blog affect SEO?

                      We are running a blog and would like to hide date, as users find the article less interesting if they are dated more than 2 years ago. Will hiding the article´s date in a blog affecto SEO? Thanks in advance u2cJxsr

                      On-Page Optimization | Dec 19, 2014, 10:47 PM | goperformancelabs
                      0
                    • OVJ

                      Redirecting deleted posts 301 vs 302

                      There is a category on WP where job ads are posted. when a post got deleted I would like to pass 404 error page and redirect all those deleted posts to specific category. I found WP plugin Auto Redirect 404 in 301 for Trashed Posts which does redirect deleted post to specific URL. But posts which are in the trash (not permanently deleted) will get 302 redirects. Those deleted permanently will get 301 redirects. Should I try editing this plugin or find another why? Maybe there is similar way with Redirection plugin?  

                      On-Page Optimization | Sep 18, 2013, 4:08 PM | OVJ
                      0
                    • HochKaren

                      Best practice for Portfolio Links

                      I have a client with a really large project portfolio (over 500 project images), which causes their portfolio page to have well over the 100 links that are recommended.  How can I reduce this without reducing the number of photos they can upload?

                      On-Page Optimization | Aug 15, 2013, 12:52 AM | HochKaren
                      0
                    • activitysuper

                      .us VS .com

                      In general from what I have experienced a location specific extension such as .co.uk geo-targeted to the same location gives the best results when ranking BUT when I look at results from the US, page after page shows results of .com, surely if my above statement is true then a .us domain extension should rank better then a .com.

                      On-Page Optimization | Feb 9, 2012, 7:24 AM | activitysuper
                      0
                    • smaavie

                      Avoiding "Duplicate Page Title" and "Duplicate Page Content" - Best Practices?

                      We have a website with a searchable database of recipes. You can search the database using an online form with dropdown options for: Course (starter, main, salad, etc)
                      Cooking Method (fry, bake, boil, steam, etc)
                      Preparation Time (Under 30 min, 30min to 1 hour, Over 1 hour) Here are some examples of how URLs may look when searching for a recipe: find-a-recipe.php?course=starter
                      find-a-recipe.php?course=main&preperation-time=30min+to+1+hour
                      find-a-recipe.php?cooking-method=fry&preperation-time=over+1+hour There is also pagination of search results, so the URL could also have the variable "start", e.g. find-a-recipe.php?course=salad&start=30 There can be any combination of these variables, meaning there are hundreds of possible search results URL variations. This all works well on the site, however it gives multiple "Duplicate Page Title" and "Duplicate Page Content" errors when crawled by SEOmoz. I've seached online and found several possible solutions for this, such as: Setting canonical tag Adding these URL variables to Google Webmasters to tell Google to ignore them Change the Title tag in the head dynamically based on what URL variables are present However I am not sure which of these would be best. As far as I can tell the canonical tag should be used when you have the same page available at two seperate URLs, but this isn't the case here as the search results are always different. Adding these URL variables to Google webmasters won't fix the problem in other search engines, and will presumably continue to get these errors in our SEOmoz crawl reports. Changing the title tag each time can lead to very long title tags, and it doesn't address the problem of duplicate page content. I had hoped there would be a standard solution for problems like this, as I imagine others will have come across this before, but I cannot find the ideal solution. Any help would be much appreciated. Kind Regards

                      On-Page Optimization | Jun 2, 2013, 5:08 PM | smaavie
                      5

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