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

                    • Alex.harvey.Cortex

                      What is the best tag to use for your Logo ?

                      Hi, I'm wondering what is the best tag to use on your logo. We're currently using h1 and i want to scrap that ASAP.

                      On-Page Optimization | | Alex.harvey.Cortex
                      0
                    • lukegj

                      Is the URL Matching the Page Title Important?

                      Hello I have tried searching for an answer on this but I can't get a clear answer due to the results when searching for URL title. I have just launched our second Shopify site for one of our brands. My first site launched in 2014 but when I launched I didn't pay much heed to SEO for page titles, URLs, etc so have retrospectively fixed this over time. For my Shopify site just launching I want to get it as right as possible from the start (learning from mistakes). My question is regarding URLs and what my approach should be for better SEO. So, I have a page with a Title of Newton Leather Wallets, Purses, Card Holders & Glasses Cases and the URL is https://www.tumbleandhide.com/collections/newton-leather-wallets-card-holders It was my understanding that I should try and make the URL reflect the Page Title more accurately. The problem is that this takes the character count to 77. On other pages it can be in the 80s. Will the above link be better for SEO than say just https://www.tumbleandhide.com/collections/newton I am just wary of the URL's being too long as my Moz Site Crawl is returning a lot of URLs that are too long. Thanks in Advance.

                      On-Page Optimization | | lukegj
                      0
                    • bloomletsgrow

                      URL keyword separator best practice

                      Hello. Wanted to reach out see what the consensus is re-keyword separators So just taken on a new client and all their urls are structured like /buybbqpacks rather than buy-bbq-packs - my understanding is that it comes down to readability, which influences click through, rather than search impact on the keyword. So we usually advise on a hyphen, but the guy's going to have to change ALLOT of pages & setup redirects to change it all wasn't sure if it was worth it? Thanks! Stu

                      On-Page Optimization | | bloomletsgrow
                      0
                    • JohnPalmer

                      Auto loading articles ?- best practices

                      Hi all! In the past months I see more and more website that doing 'auto loading articles in scrolling' - can you tell me if it's okay for SEO and what are the best practices for this? Thanks!

                      On-Page Optimization | | JohnPalmer
                      1
                    • nm1977

                      Exact keyword match for meta title and h1 what is best practice?

                      How exact should my meta titles and H1 one be compare to the keyword you wish to rank on. Eksample. When I do a research with google AdWords the keyword tool shows me: 260 monthly searches for house for rent Hua Hin 140 monthly searches for Hua Hin house for rent 70 monthly searches for House for rent in Hua Hin The first two includes the exact same 5 words while the last one includes the stopword "in". That google have different search volumens for these very smilair search queries tells me that small differences matters. So how does that effect the way i shoulf write my: a)meta titles b)H1 I feel I get better sentences often by reordering the keywords etc. “Top tips on how to rent house in Hua Hin” Instead of “Top tips if you want a house for rent in Hua Hin” Do you use stop words like “in” hua hin. (only used in 25% of the searches queries)? Also would it matter if i write a plural form of a keyword instead of a singular etc propeties and sted of property? My goal is to write easy to read and unique content but i feel i can make exact matches if required with out compromising to much.

                      On-Page Optimization | | nm1977
                      0
                    • flcity15

                      URL Domain Used in Meta Description

                      Today I was asked if using a domain url in your meta description can have a negative impact on your website. This description includes a list of the homepage url, but directs visitors to a different internal page of the website. My concern fell with directing visitors to a different page of the site, but promoting the homepage in the description/snippet. With Penguin 2.1 release on the 4th, I'm very cautious of my links/urls. What are your thoughts behind this? What are the possible, if any negative impacts this could have on a site? This URL does have a brand name as so the Title.

                      On-Page Optimization | | flcity15
                      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
                    • qlkasdjfw

                      How long should anchor text be? Best practice for anchor text length?

                      site: http://www.cerritosnissan.com/index.htm On the bottom of this homepage there is an seo content area, basically right under where it says "orange county nissan" welcomes you. The internal links in this area are very long and I'm wondering why they would do this - is there any benefit to making anchor text longer? The longer the anchor text, the less each part of that anchor text passes link juice. For example, for a page about their reviews, the anchor text of the link is "See what Cerritos Nissan customers have to say about their experience at this great Orange County Nissan Dealership.". If I would have done this the anchor text would be "Cerritos Nissan Reviews" or just plain "reviews" as the anchor text. Why would they be using such long keywords as anchor text?

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