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.
Use of subdomains, subdirectories or both?
-
Hello, i would like your advice on a dilemma i am facing. I am working a new project that is going to release soon, thats a network of users with personal profiles seperated in categories for example lets say the categories are colors. So let say i am a member and i belong in red color categorie and i got a page where i update my personal information/cv/resume as well as a personal blog thats on that page. So the main site is giving the option to user to search for members by the criteria of color. My first idea is that all users should own a subdomain (and this is how its developed so far) thats easy to use and since the domain name is really small (just 3 letters) i believe subdomain worth since personal site will be easy to remember. My dilemma is should all users own a subdomain, a subdirectory or both and if both witch one should be the canonical?
Since it said that search engines treat subdomains as different stand-alone sites, whats best for the main site? to show multiple search results with profiles in subdomains or subdirectories?
What if i use both? meaning in search results i use search directory url for each profile while same time each profile owns a subdomains as well? and if so which one should be the canonical?
Thanks in advance,
C
-
C
This is one of the reasons I love this forum: it requires thinking because many who ask questions are thinking. (think about it;) While I understand what eyepaq is saying in one sense that search engines "could" treat them as stand alone; it appears search engines do/could because as the subdomain holder you are not seeing links going only to the main domain or other subs, you are the one who controls it, can move its hosting, etc. But, according to Google, they do not in the sense of linking:
If you own a site that’s on a subdomain (such as googlewebmastercentral.blogspot.com) or in a subfolder (www.google.com/support/webmasters/) and don’t own the root domain, you’ll still only see links from URLs starting with that subdomain or subfolder in your internal links, and all others will be categorized as external links. We’ve made a few backend changes so that these numbers should be even more accurate for you.
Note that, if you own a root domain like example.com or www.example.com, your number of external links may appear to go down with this change; this is because, as described above, some of the URLs we were previously classifying as external links will have moved into the internal links report. Your total number of links (internal + external) should not be affected by this change.
So, as for external linking, it is clear that if there ever was a question about domains and subdomains, there is none now. But, that does not mean you should not use subdomains. Eyepaqs point around user abuse is an excellent one, but you should also be monitoring this like a hawk.
At the end of the day, I would think that using subdirectories is going to be easier if you are planning on a large site. But, the ease you mention for the user with the short domain name is intriguing. I agree with Muhammad on sub domains might get a little expensive and, if your choice is to use both (I wouldn't as it seems to me that you are creating more and more work for your dev team) the canonical should be the subdomain.
Again, thanks for the thought provoking question.
Robert
-
Hi,
Since it said that search engines treat subdomains as different stand-alone sites,
** Search engines could treat subdomains as different stand alone sites. Usually they don't. A good example when they do that is the blogspot subdomains - and that is because those are in fact separate stand alone sites.
In your case however, since it's about users, similar with blogspot somehow - google can treat them at som point as separate websites.
whats best for the main site? to show multiple search results with profiles in subdomains or subdirectories?
** My personal opinion is that from a user point of view you should go with the subdomains as you do right now - it make sense, it's easy for them to use those urls, to link to them and so on.
You could lose some link equity for the main domain if some or all subdomain will be at some point treated as separate domains but if you put everything on a scale, it will balance as advantages on the subdomain approach anyway.
What if i use both? meaning in search results i use search directory url for each profile while same time each profile owns a subdomains as well? and if so which one should be the canonical?
** To be honest I do see the point / advantages in doing that.
One other advantage is that if you go with subdomains and google will count them as separate websites, if one of your user is ding something stupid (trying to rank with it and start building gambling and porn links to that sub domain you will be safe with the root domain and the other users won't be affected.
Hope it helps.
Edited to underline the word could
-
Hi HaCos,
Well it depends on how many users are there? thousands of users with thousands of sub domains is an expensive option. Go for user subdirectories instead of sub domains. And as each user got a sub domain too, so make that sub domain canonical of user sub directory. Hope this answers your question.
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
-
How to create a smooth blog migration from subdomain to subfolder main?
Hi mozzers, We have decided to migrate the blog subdomain to the domain's subfolder (blog.example.com to example.com/blog). To do this the most effective way and avoid impact SEO negatively I believe I have to follow this checklist: Create a list of all 301 redirects from blog.example.com/post-1 to example.com/post-1 Make sure title tags remain the same on main domain Make sure internal links remain the same Is there something else I am missing? Any other best practices? I also would like to have all blog post as AMPs. Any recommendations if this something we should do since we are not a media site? Any other tips on successfully implementing those types of pages? Thanks
Intermediate & Advanced SEO | | Ty19861 -
Should I use the on classified listing pages that have expired?
We have went back and forth on this and wanted to get some outside input. I work for an online listing website that has classified ads on it. These ads are generated by companies on our site advertising weekend events around the country. We have about 10,000 companies that use our service to generate their online ads. This means that we have thousands of pages being created each week. The ads have lots of content: pictures, sale descriptions, and company information. After the ads have expired, and the sale is no longer happening, we are currently placing the in the heads of each page. The content is not relative anymore since the ad has ended. The only value the content offers a searcher is the images (there are millions on expired ads) and the descriptions of the items for sale. We currently are the leader in our industry and control most of the top spots on Google for our keywords. We have been worried about cluttering up the search results with pages of ads that are expired. In our Moz account right now we currently have over 28k crawler warnings alerting us to the being in the page heads of the expired ads. Seeing those warnings have made us nervous and second guessing what we are doing. Does anybody have any thoughts on this? Should we continue with placing the in the heads of the expired ads, or should we be allowing search engines to index the old pages. I have seen websites with discontinued products keeping the products around so that individuals can look up past information. This is the closest thing have seen to our situation. Any help or insight would be greatly appreciated! -Matt
Intermediate & Advanced SEO | | mellison0 -
Using the same image across the site?
Hi just wondering i'm using the same image across 20 pages which are optimized for SEO purposes. I was wondering is there issues with this from SEO standpoint? Will Google devalue the page because the same image is being used? Cheers.
Intermediate & Advanced SEO | | seowork2140 -
Can subdomains avoid spam penalizations?
Hello everyone, I have a basic question for which I couldn't find a definitive answer for. Let's say I have my main website with URL: www.mywebsite.com And I have a related affiliates website with URL: affiliates.mywebsite.com Which includes completely different content from the main website. Also, both domains have two different IP addresses. Are those considered two completely separate domains by Google? Can bad links pointing to affiliates.mywebsite.com affect www.mywebsite.com in any way? Thanks in advance for any answer to my inquiry!
Intermediate & Advanced SEO | | fablau0 -
How to track mentions with links using Mentions App
We have a large client that we've just taken on board for organic search marketing. A great client that continually gets links from the BBC, NY Times etc which actually takes care of having to do any marketing for them. However, they get 10-15 unlinked mentions per day. Just recently, they peaked at 32 mentions in one day from JUST websites. But I need a quick way to filter these out and check if there is a link pointing to their website. I want to be able to build up a list of opportunities without having to manually check each website. How do, Mozzlars!?
Intermediate & Advanced SEO | | jasondexter0 -
Follow or nofollow to subdomain
Hi, I run a hotel booking site and the booking engine is setup on a subdomain.
Intermediate & Advanced SEO | | vmotuz
The subdomain is disabled from being indexed in robots.txt Should the links from the main domain have a nofollow to the subdomain? What are you thoughts? Thanks!0 -
What Wordpress Update Services Should You Be Using on Your Wordpress Blog?
I have been told that pingomatic.com is all that you need however yesterday I went to a conference and others were recommending to have a good list of pinging services to cover all your bases Here are 4 that have been recommended: pingomatic technorati blogsearch.google.com feedburner Any others that should be included on this list? My goal is not to spam these ping lists however want to make sure my content is getting indexed quickly
Intermediate & Advanced SEO | | webestate0 -
Canonical & noindex? Use together
For duplicate pages created by the "print" function, seomoz says its better to use noindex (http://www.seomoz.org/blog/complete-guide-to-rel-canonical-how-to-and-why-not) and JohnMu says its better to use canonical http://www.google.com/support/forum/p/Webmasters/thread?tid=6c18b666a552585d&hl=en What do you think?
Intermediate & Advanced SEO | | nicole.healthline1