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
                    • NickG-123

                      Best Tool for Retrieving Multiple URL Word Counts in Bulk?

                      I am doing some content analysis with over 200 URLs to go through! Does anybody know of, or can recommend any bulk on-page word count checkers which would help with the heavy lifting? Any suggestions are greatly appreciated. Thanks!

                      On-Page Optimization | | NickG-123
                      0
                    • doctecs

                      Link flow for multiple links to same URL

                      Hi there,
                      my question is as follows: How does Google handle link flow if two links in a given page point to the same URL? (do they flow link individually or not?) This seems to be a newbie question, but actually it seems that there is little evidence and even also little consensus in the SEO community about this detail. Answers should include source Information about the current state of art at Google is preferable The question is not about anchor text, general best practises for linking, "PageRank is dead" etc. We do know that the "historical" PageRank was implemented (a long time ago) without special handling for multiple links, as e.g. last stated by Matt Cutts in this video: http://searchengineland.com/googles-matt-cutts-one-page-two-links-page-counted-first-link-192718 On the other hand, many people from the SEO community say that only the first link counts. But so far I could not find any data to back this up, which is quite surprising.

                      On-Page Optimization | | doctecs
                      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 | | HochKaren
                      0
                    • dealblogger

                      How do I remove a Canonical URL Tag?

                      Some of my report cards say I have too many canonical URL tags. However, there is no information no how to delete one. Can someone give me a link or explain? Thanks.

                      On-Page Optimization | | dealblogger
                      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
                    • Lobtec

                      Best practice for Meta-Robots tag in categories and author pages?

                      For some of our site we use Wordpress, which we really like working with. The question I have is for the categories and authors pages (and similiar pages), i.e. the one looking: http://www.domain.com/authors/. Should you or should you not use follow, noindex for meta-robots? We have a lot of categories/tags/authors which generates a lot of pages. I'm a bit worried that google won't like this and leaning towards adding the follow, noindex. But the more I read about it, the more I see people disagree. What does the community of Seomoz think?

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