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

                    • Ben-R

                      Best practices for publishing sponsored content

                      sponsored content content optimization on-page seo

                      Hello, Our website hosts sponsored content from different brands. Should we be listing the sponsor either on the frontend and/or through markup? - Would either way have any sort of an impact? The content itself is already clearly marked as 'sponsored content' but we were more interested in listing the specific sponsor. Also, we’re assuming the outbound links would need to be marked rel="sponsored" but are there any other best practices we should be implementing? Any insight would be appreciated.
                      Thank you in advance.
                      Best,

                      On-Page Optimization | | Ben-R
                      0
                    • CostumeD

                      H1 tag- on home page - what is it best to include

                      is it best to have in the H1 tag 1. just our website address 2. combination of website address followed by short keywords about our website

                      On-Page Optimization | | CostumeD
                      0
                    • Jaybeamer

                      Two URL's for the same page

                      Hi, on our site we have two separate URL's for a page that has the same content. So, for example - 'www.domain.co.uk/stuff' and 'www.domain.co.uk/things/stuff' both have the same content on the page. We currently rank high in search for 'www.domain.co.uk/things/stuff' for our targeted keyword, but there are numerous links on the site to www.domain.co.uk/stuff and also potentially inbound links to this page. Ideally we want just the www.domain.co.uk/things/stuff URL to be present on the site, what would be the best course of action to take? Would a simple Canonical tag from the '/stuff' URL which points to the '/things/stuff' page be wise? If we were to scrap the '/stuff' URL totally and redirect it to the 'things/stuff' URL and change all our on site links, would this be beneficial and not harm our current ranking for '/things/stuff'? We only want 1 URL for this page for numerous reasons (i.e, easier to track in Analytics), but I'm a bit cautious that changing the page that doesn't rank may have an affect on the page that does rank! Thanks.

                      On-Page Optimization | | Jaybeamer
                      2
                    • jcgoodrich

                      What is the best way to execute a geo redirect?

                      Based on what I've read, it seems like everyone agrees an IP-based, server side redirect is fine for SEO if you have content that is "geo" in nature. What I don't understand is how to actually do this. It seems like after a bit of research there are 3 options: You can do a 301 which it seems like most sites do, but that basically means if google crawls you in different US areas (which it may or may not) it essentially thinks you have multiple homepages. Does google only crawl from SF-based IPs? 302 passes no juice, so probably don't want to do that. Yelp does a 303 redirect, which it seems like nobody else does, but Yelp is obviously very SEO-savvy. Is this perhaps a better way that solves for the above issues? Thoughts on what is best approach here?

                      On-Page Optimization | | jcgoodrich
                      0
                    • lcourse

                      Best practice for footer in ecommerce - Shall I add Top Category links?

                      What would you recommend regarding links to "Top Products" and "Top Categories" in footer? Would you add them to give extra link juice to top categories? would you try to avoid category links in footer that are already in the header navigationor in the main content area to avoid linking twice from all pages? would you vary these top category links in footer according to main category

                      On-Page Optimization | | lcourse
                      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
                    • matt-14567

                      Does it matter if your URL ends in .net or .com?

                      Someone told me that having a URL that ends in .net (instead of .com) will hurt my site's SEO. Is that true?

                      On-Page Optimization | | matt-14567
                      0
                    • NextDigital51

                      Passing value in a subdomain

                      Hi guys, I am planning of setting up a blog within a client's website, due to limitations to their server environment, I can only setup the blog in a subdomain, I have read in some articles saying subdomains don't pass value as well as subfolders. My questions are: Is it true that subdomains can't pass SEO value? For example, if I set up a blog (say blog.mydomain.com), will that improve long tail searches for my website (mydomain.com)? What are some recommendations for subdomains so that it passes more value back to the root domain (for example, internal linking from subdomain back to root domain) Thanks guys.

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