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
-
Is page speed important to improve SEO ranking?
I saw on a SEO Agency's site (https://burstdgtl.com/search-engine-optimization/) that page speed apparently affects Google ranking. Is this true? And if it is, how do I improve it, do I need an agency?
On-Page Optimization | | jasparcj0 -
Does anyone rate CORA SEO Software?
I can't really see any third party reviews of this software. Does anyone rate it?
On-Page Optimization | | AL123al0 -
Do WooCommerce product tags effect SEO?
I'm just curious if I need these product tags and if they impact in any way at all SEO? - whether that be positively or negatively. on1iRin
On-Page Optimization | | xdunningx0 -
Harms of hidden categories on SEO
On our website we have some invisible/hidden categories on our site. Can anyone advise whether these are harmful in terms of SEO?
On-Page Optimization | | CostumeD0 -
Choosing a title tag in seo (H1 or H2 or H3)
I look many times on google that what is the best tag to set in title for seo, H1 or H2 or H3 In many forums and sites they are asking that you need to put only H2 tag in title and someone ask to put H1 in title and i am confused, Some body tell me the correct tag for seo in google, or any other search engine.
On-Page Optimization | | seom20140 -
Does show/hide element with javascript impact SEO
Hi I am developing an ecommerce site and want to place text on all category and home page. The challenge is that 300 words of text for the pages does not fit into the design appropriately especially on the home page. If I were to use a show/hide element with javascript would this be seen as spam or a trick to the search engines. I do not think it is spam as it will be actual content for the site and the visitor can view it if they click on the show button. Would love to hear your thoughts?
On-Page Optimization | | VivaArturo0 -
HAVING A POPUP WINDOW ON HOMEPAGE AFFECTS SEO?
Good evening, I currently have a blog that uses a popup window after 15 seconds that is used to add visitor to my newsletter. My question is : Does it have a negative effect in SEO? Thanks in advance Maria Jesus
On-Page Optimization | | goperformancelabs0 -
Should I include a "|" for better page title SEO results?
I have seen many sites that include the "|" in page titles and was wondering if there is some SEO value in the practice. Example: Product Name | Company Name Instead of: Product Name by Company Name I have not seen any value in it myself other than a good way to avoid stop words. I wanted to make sure. Currently I have the "by" included in the page titles.
On-Page Optimization | | JedHenning0