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. Which is Best Practice for creating URLs for subdomain?

    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.

    Which is Best Practice for creating URLs for subdomain?

    On-Page Optimization
    3
    8
    2338
    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.
    • rohanarora536
      rohanarora536 last edited by

      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

      1 Reply Last reply Reply Quote 0
      • RobertFisher
        RobertFisher @Matt-Williamson last edited by

        As to:

        Here is to the day that we don't have to make a domain registrar rich!

        As an old Marine, we have a saying in that proud group that really applies:

        COPY THAT! (A Big I agree) especially with regard to a certain daddy that sucks rocks in Arizona, USA and has girls as his spokes persons...

        1 Reply Last reply Reply Quote 1
        • Matt-Williamson
          Matt-Williamson @Matt-Williamson last edited by

          I completely agree with the fact that those of us that do this everyday aren't the best to ask in regards to this, though our office is a mixed bunch, not all marketeers.

          In general I have noticed that more and more users that I have come across are becoming more aware of what they are clicking on in the SERPs. They are filtering results based on their own judgments, not just trusting the search engines as they may have done in the past. Though as you say with the growth of the last five years there is probably one hell of a lot of people that trust in the SERPs whatever they serve for a query. In relation to this suspicion; I think page titles and descriptions influence this more than EMDs.

          It would be an interesting study to see the impact of hyphens(the amount) in EMDs and their click through rates from the SERPs.

          As we have both attested, though, we have had success with EMD with hyphens, though this is obviously down to many factors in relation to SEO strategy we have employed, not just a good domain.

          Thanks for your input it is very valuable.

          Here is to the day that we don't have to make a domain registrar rich!

          1 Reply Last reply Reply Quote 1
          • RobertFisher
            RobertFisher @Matt-Williamson last edited by

            As to the how many is most (typically one or two, cant think of where we used three).

            As to those of us who do this daily, I don't think we are a good group to ask because we get used to certain conventions. My experience is that we are ahead of a lot of non hyphen domains in some tough verticals. But, we really bust it with all SEO and try to be cutting edge. (May not have as much to do with hyphens, if anything).

            Suspicious users. Maybe in the past. But with the growth of the last five years, I would think it is much less a factor.

            With Google, I just do not believe it is a factor, but am willing to be wrong. Again, they are out there everyday and short of going to .whatever, it is easier to use exact match with hyphens at times. Now, if EMD becomes a non-issue, so will hyphens.

            We are going into a new area with a client over the weekend and I went in and bought every .com, .net, .info, .org with hyphen and non hyphen today. There were two .coms and a .net missing around roughly 40 root domain permutations. I look forward to the day I can just brand the domain/sub-domain and not make a registrar rich.

            Best,

            All the best,

            1 Reply Last reply Reply Quote 1
            • Matt-Williamson
              Matt-Williamson @RobertFisher last edited by

              Very interesting response Robert, with some very good and valid points - though I think you would want a expert in order to carry out that change, although that might not be the right place to find them - a very nice example of why hyphens, in the right situation, are very valid.

              When you have worked with hyphens and domains what is the largest number of hyphens on an EMD you have worked on?

              This has set off an interesting discussion in the office with the feeling that a domain with multiple hyphens is less trusted by the majority here when they appear in the serps, therefore receiving less click-throughs.

              In general do you think users have been educated to be suspicious of domains that appear long and and exact match with hyphens and that is why it is believed to be spammy by some?

              The most I have worked on in regards to EMDs with hyphens is one and this dominated the SERPs for the targeted terms.

              Do you think EMDs with multiple hyphens possibly set off alarm bells with Google in regard to over-optimization rather than efficient labelling of a resource online, in particular since Penguin?

              RobertFisher Matt-Williamson 3 Replies Last reply Reply Quote 1
              • rohanarora536
                rohanarora536 @RobertFisher last edited by

                Thanks Robert for your reply

                Till date we have used hyphens in sub domain & we have not seen any -ve impact.

                We were creating a list of 1000 new colleges so i just wanted to be rest assured, that's y i raised Q.

                Also Students are  aware of famous universities & colleges so thr is lot of search related to University specific keywords.

                In some cases we have seen General level keywords like "Animation colleges Delhi" have less search compare to Particular university which is famous in Animation. In education we have seen thr is lot of search related to university & college level ky.

                In hotel Industry its a vice versa

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

                  Rohan

                  This is one of my favorite topics and Matt makes great points. But, IMO there is not a right or wrong. Yes, SEOmoz has a great best practices page (see Matt's link) on this and when I look at it I always wonder as to its age or last update. (One of the reasons is that as the web expands, there are less and less .com/.net sites and it clearly says here that:

                  Top level domains (like .com) are the extensions associated with domain names. For best ranking results, avoid uncommon top-level domains (TLDs). Like hyphens, TLDs such as .info, .cc, .ws, and .name are spam indicators.

                  Here is why I question this: I do not believe that "spammy" can be quantified and I have yet to find a spammy test that was reliable. Also, I question what a spam indicator is and in the absence of any other relevant 'spam indicator' what affect it might have on ranking. Is it that Google has a spam indicator in the algorithm that absent any other evidence, devalues at some level a hyphen or a .info? I would love to see the proof.

                  Note: My incredulity is driven by results we achieve using hyphens as needed or .info as needed.

                  Today there are too many instances where hyphens are needed just to be able to figure out what it says. (Or to insure correct interpretation: expertsexchange.com is the classic in this group) Yes, if this is an EMD and if it is in a branded or common context someone who already knows of it might not use the hyphens.

                  But, if we are looking to capture those who are searching for something they don't yet know of, they are not typing in amityuniversity delhi with or without. They are searching for something like universities in Delhi, graphic design schools delhi, etc. They are not going to the SERPs and on finding what they want, going to the address bar and typing it in; they are clicking the link in the SERP and going to the page.

                  So, my rule is this: Use Hyphens to clarify a long or confusing domain/sub domain name. Use hyphens competitively if you desire an EMD where one is not available for a high impact page.

                  We are an agency and do a lot of sites that clients come to us with no domain name for. We use hyphens and non hyphens. I have yet to see where a hyphenated domain is negatively impacted to a level that gave me pause. I am sure based on experience that a hyphenated EMD does have more impact than a non hyphenated domain that is not exact match.

                  I look forward to a vigorous discussion on this oft discussed issue! 😉

                  rohanarora536 Matt-Williamson 2 Replies Last reply Reply Quote 1
                  • Matt-Williamson
                    Matt-Williamson last edited by

                    Hi Rohan,

                    You can use hyphens in sub-domains, however when using hyphens in relation to any domain or sub-domain I tend to stay away from them, if possible, as they tend to be related to spam practices, especially with multiple hyphens. I think you will find this SeoMoz best practice in relation to domains a good guide as to what is the best tactic to take - http://www.seomoz.org/learn-seo/domain

                    Hope this helps

                    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


                    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

                    • annegretwidmer

                      titles length, URL length and meta descriptions on a subdomain effecting SEO on main domain?

                      subdomains optimization

                      Hi all, I am currently evaluating areas for optimization on my main domain. When doing this, Moz has identified multiple titles and urls that should be shortened and missing meta descriptions on my subdomain (a help center of sorts). As far as I am aware, we have not set up any "no-index" rules for this subdomain. Are these items affecting SEO on my main domain? Thanks,
                      Kasey

                      On-Page Optimization | | annegretwidmer
                      0
                    • Luciana_BAH

                      Duplicate URL's in Sitemap? Is that a problem?

                      I submitted a sitemap to on Search Console - but noticed that there are duplicate URLs, is that a problem for Google?

                      On-Page Optimization | | Luciana_BAH
                      0
                    • 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
                    • uBreakiFix

                      How to Structure URL's for Multiple Locations

                      We are currently undergoing a site redesign and are trying to figure out the best way to structure the URL's and breadcrumbs for our many locations. We currently have 60 locations nationwide and our URL structure is as follows: www.mydomain.com/locations/{location} Where {location} is the specific street the location is on or the neighborhood the location is in. (i.e. www.mydomain.com/locations/waterford-lakes) The issue is, {location} is usually too specific and is not a broad enough keyword. The location "Waterford-Lakes" is in Orlando and "Orlando" is the important keyword, not " Waterford Lakes". To address this, we want to introduce state and city pages. Each state and city page would link to each location within that state or city (i.e. an Orlando page with links to "Waterford Lakes", "Lake Nona", "South Orlando", etc.). The question is how to structure this. Option 1 Use the our existing URL and breadcrumb structure (www.mydomain.com/locations/{location}) and add state and city pages outside the URL path: www.mydomain.com/{area} www.mydomain.com/{state} Option 2 Build the city and state pages into the URL and breadcrumb path: www.mydomain.com/locations/{state}/{area}/{location} (i.e www.mydomain.com/locations/fl/orlando/waterford-lakes) Any insight is much appreciated. Thanks!

                      On-Page Optimization | | uBreakiFix
                      0
                    • HiddenPeak

                      Blog on Subdomain vs. Subdirectory - Best Practices

                      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

                      On-Page Optimization | | HiddenPeak
                      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
                    • CommercePundit

                      How to Define Best URL Structure for Product Pages?

                      I am working on my website to edit structure with help of Google's search engine optimization starter guide. There is really good instruction to define URL structure which help us to perform well over Google's organic search. I have resolved issues regarding category pages but, I have confusion to define best URL structure for product pages. My website's product page URL structure is as follow. http://www.vistastores.com/marketumbrellas-californiaumbrella-slpt758-f13-red.html http://www.vistastores.com/homefurniture-winsomewood-93630.html URL structure is constructed with following terms. 1. Root Category Name (Market Umbrellas or Home Furniture or ....) 2. Brand Name 3. Manufacturer Part Number I am not happy with this structure and also not performing well over Google's organic search. I am thinking to include product name or title tag in URL after root domain. But, it may create very long URL and create issues in organic search display. Does it really matter to perform well over Google's organic search? How can I define best URL structure for product pages?

                      On-Page Optimization | | CommercePundit
                      0
                    • Shipyard_Agency

                      Best practice for franchise sites with duplicated content

                      I know that duplicated content is a touchy subject but I work with multiple franchise groups and each franchisee wants their own site, however, almost all of the sites use the same content.  I want to make sure that Google sees each one of these sites as unique sites and does not penalize them for the following issues. All sites are hosted on the same server therefor the same IP address All sites use generally the same content across their product pages (which are very very important pages) *templated content approved by corporate Almost all sites have the same design (A few of the groups we work with have multiple design options) Any suggestions would be greatly appreciated. Thanks Again Aaron

                      On-Page Optimization | | Shipyard_Agency
                      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.