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.
Are Wildcard Subdomain Hurting my SEO?
-
I have some sites with a lot of categories (category, sub-category, sub-subcategory) and locations (country, state/territory, city). To avoid listing pages really deep in my hierarchy I used wildcard subdomains for the locations, but lately I have been told that might be hurting my overall SEO efforts.
I have a lot of URLs like https://city-state-country.example.com on one side of the domain and example.com/category/subcategory/subsubcategory on the other. In the middle you see stuff like city-state-country.example.com/category/subcategory/subsubcategory and everything in between.
Would I be better off moving the locations to the right side of the domain name? Then you might find stuff like example.com/country/state/city/category/subcategory/subsubcategory and everything in between. I think I could do the new rewrite rules fairly easily since every country slug is just two characters long.
-
@postalmostanything this is a tricky question that seems to be very simple at first. But let's dive a little deeper.
First thing to keep in mind is your budget and your business goals. If you are planning to dominate SERPs for each city or country, and you have the money to spend, the subdomains will give you much stronger local positions.
If this is your case, let's also consider if you want to have domains on country level or on city level: country level subdomains can be targeted in Google Search Console to a particular country, which will give you stronger position in each country.
City level subdomains are worth pursuing if your services/products are triggering the local three-pack. Eg. think of "hairdressers near me", etc. If not, most likely city-level subdomains is a dead end.Now, let's consider another variant of having a single domain with subfolder structure. The clear benefit of this approach is much smaller SEO investments in linkbuilding. And you can still target each folder to a specific country if you register these folders in Google Search Console as a separate property. The downfall -probably less chances to be on the top in some of the most competitive local markets.
There is a third approach as well - do a hybrid model: pick up the top markets that are most critical for your business, and decide on city/country granularity for this group of cities/countries. And then move the rest to one single domain.
Unfortunately, I cannot spell out the full decision-making tree for this subdomain/folder question. It is dependent on your business type and the history of your SEO efforts. But I hope that my clues will help you make the right choice.
Let me know if you have any follow-up questions. -
@postalmostanything
Subfolders are better then Subdomains in your case use a reverse proxy to rewrite your Subdomains to to subfoldersI recommend Fastly or CloudFlare
I hope this helps.
Tom
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
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.
Related Questions
-
What is the safest way to redirect for best SEO benefits?
What is the safest way to redirect for best SEO benefits? Example: loodgieter-aanhuis.nl -> loodgieters-ambacht.nl Does someone have any technical information on how to (root) redirect for best SEO practices?
On-Page Optimization | | hans-keeren0 -
Does homepage SEO exist at all?
hi Just read a Yoast article explaining that the homepage should never be optimized for a specific keyword and should only be optimized for its business or brand name. i have a large site that I'd like to rank (or increase traffic for as I know people get irritated with that term now) for 'Campervan hire'. It has plenty of sub pages going after 'Campervan hire 'location'' for example. it makes sense to me for the homepage keyword - my core keyword - to be 'Campervan hire' and for the homepage to be optimised for this. However, the article I've just read (https://yoast.com/homepage-seo/) suggests a separate page for this keyword. What are your thoughts pls?? thanks
On-Page Optimization | | CamperConnect142 -
Best SEO experts you know in India Chennai
Best SEO experts you know in India Chennai. Does anyone know of few companies who deal with SEO to help optimize keywords? and get more traffic for our website? thank you
On-Page Optimization | | bsharath0 -
How does a collapsed section affect on page SEO?
A client recently asked me whether a tabbed collapsed section of text that is expanded (i.e. revealed) when clicked, is an OK thing to do without negatively effecting SEO. I told him that for starters, he may want to rethink why he would want to hide the text in the first place (this is not an FAQ type scenario). The reason has to do with the aesthetic of the page. Anyway, aesthetic aside, any thoughts on whether a collapsed (hidden from view) negatively affects on-page SEO? Thanks.
On-Page Optimization | | stephanwb
Stephan0 -
SEO can id and class be used in H1?
Can ID and class be used in my H1 tag. I realize best case would be to change it, but it's going to require a change order from the ecommerce company to fix their sloppy code. Will this hurt seo? Example:
On-Page Optimization | | K-WINTER0 -
Disclaimer in footer - is it affecting my SEO?
For legal reasons I am required to include a 266 word disclaimer in the footer of every page of my credit card comparison site creditcards.com.au. My question is in 2 parts: is this indexable content likely to be hurting my SEO? if so, what is the best way to include the text in the footer but prevent search engines from indexing it? Thanks.
On-Page Optimization | | OMGPyrmont0 -
Which is Best Practice for creating URLs for subdomain?
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
On-Page Optimization | | rohanarora536
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.com0 -
Has anyone had experience with the Wix platform and it's SEO qualities?
Wix offers an inexpensive, user friendly platform for building websites. Most of the site is flash, but Wix claims to be SEO friendly. I'm all ears for your feedback and experience with Wix.
On-Page Optimization | | ksracer0