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.
Blogs are best when hosted on domain, subdomain, or...?
- 
					
					
					
					
 I’ve heard the it is a best practice to host your blog within your site. I’ve also heard it’s best to put it on a subdomain. What do you believe is the best home for your blog and why? 
- 
					
					
					
					
 Andrew while I agree with what you say, is there not a greater risk if your blog is hacked and then a hacker may gain access to the server where as on a sub-domain the blog can be on a different server? 
- 
					
					
					
					
 Just because you have WordPress running your blog, doesn't mean WordPress has access to edit the files of the main eCommerce site. You can install a standalone WordPress blog in examples.com/blog and have regular HTML files serving example.com You can also takes steps to secure your WordPress installation on top of this. 
- 
					
					
					
					
 Agree that blogs are best in a sub folder BUT if you have an ecommerce site it is best practice to have your blog on a subdomain This is purely for security reasons, if your wordpress blog gets hacked, the hackers will not gain access to your eCommerce site as it is on a different server 
- 
					
					
					
					
 Rand agrees with this approach too - just check out http://www.seomoz.org/blog/understanding-root-domains-subdomains-vs-subfolders-microsites/ "Starting a blog? I almost always recommend yoursite.com/blog over blog.yoursite.com. Want to launch a new section of content? Use yoursite.com/newstuff rather than newstuff.yoursite.com." There's also this: http://www.hyperarts.com/blog/blog-hosting-external-subdomain-subdirectory-best-seo/ which may help as well. 
- 
					
					
					
					
 Thanks for the expanded explanation! Onward and upward then... 
- 
					
					
					
					
 Subdomains are a dangerous choice unless you know exactly how to deal with them from a high level SEO perspective because it's too easy to miss all sorts of issues. Just one example (and it goes way beyond "losing a very very small amount of link juice): Even though you get the SEO value at the root domain level even in a subdomain scenario, since you use www for the main site, that itself is considered a subdomain. So the main site (the www subdomain) still doesn't get all the strength value from new content, inbound links, and social mentions for the blog subdomain. Even then, if you were to switch to domain.com (and redirect all www.domain.com to that), the most value/strength/trust signal value comes from self-contained. There ARE exceptions to this under very specific and narrow circumstances. For example, if you have an eCommerce site, and your blog is not focused on your products, but instead, is more informational in nature revolving around other topics (such as the manufacturing process in your industry, or how consumers use products (not just yours), etc.), having the blog on the main domain tree could potentially dilute the ecommerce value of the main site. Again though, the need to get it "right" is just not worth the effort of splitting them out in most situations. <colgroup><col width="605"></colgroup> 
 | http://uhealthsystem.com/doctors |
- 
					
					
					
					
 Thanks for the quick reply...I have the book - and it certainly is meaty  ! !I have been going about the way you describe (www.domain.com/blog) just wanted to get some re-affirmation after hearing from (what I think) is a reputable source that subdomain is better. Everyone on board with this approach or does anyone have a strong argument against? 
- 
					
					
					
					
 Technically, you're loosing a very very small amount of link juice by hosting it on a subdomain. The optimal configuration is www.domain.com/blog. Source - SEO Secrets (great book by the way) 
Browse Questions
Explore more categories
- 
		
		Moz ToolsChat with the community about the Moz tools. 
- 
		
		SEO TacticsDiscuss the SEO process with fellow marketers 
- 
		
		CommunityDiscuss industry events, jobs, and news! 
- 
		
		Digital MarketingChat about tactics outside of SEO 
- 
		
		Research & TrendsDive into research and trends in the search industry. 
- 
		
		SupportConnect on product support and feature requests. 
Related Questions
- 
		
		
		
		
		
		Forwarding a .org domain to a .com domain: any negative impact to consider?
 Hello! I have a question I've been unable to find a clear answer to. My client's primary domain is a .com with a satisfactorily high DA. My client owns the .org version of its domain (which has a very low DA, I suppose due to inactivity) but has never forwarded it on. For branding/visibility/traffic reasons, I'd like to recommend they set up the .org domain to forward to the .com domain, but I wanted to ask a few questions first: 1. Does forwarding low-value DA domains to high-value DA domains have any negative authority/SEO impact? 2. If the .org domain was to be forwarded, am I correct that an SSL cert is not necessary for it if the .com domain has an SSL cert? Thanks in advance! Technical SEO | | mollykathariner_ms1
- 
		
		
		
		
		
		How can you promote a sub-domain ahead of a domain on the SERPs?
 I have a new client that wants to promote their subdomain uk.imagemcs.com and have their main domain imagemcs.com fall off the SERPs. Objective? Get uk.imagemcs.com to rank first for UK 'brand' searches. Do a search for 'imagem creative services' and you should see the issue (it looks like rules have been applied to the robots.txt on the main domain to exclude any bots from crawling - but since they've been indexed previously I need to take action as it doesn't look great!). I think I can do this by applying a permanent redirect from the main domain to the subdomain at domain level and then no-indexing the site - and then resubmit the sitemap. My slight concern is that this no-indexing of the main domain may impact on the visibility of the subdomains (I'm dealing with uk.imagemcs.com, but there is us.imagemcs.com and de.imagemcs.com) and was looking for some assurance that this would not be the case. My understanding is that subdomains are completely distinct from domains and as such this action should have no impact on the subdomains. I asked the question on the Webmasters Forum but haven't really got anywhere Technical SEO | | nathangdavidson2
 https://productforums.google.com/forum/#!msg/webmasters/1Avupy3Uw_o/hu6oLQntCAAJ Can anyone suggest a course of action? many thanks, Nathan0
- 
		
		
		
		
		
		Redirect typo domains
 Hi, What's the "correct" way of redirecting typo domains? DNS A record goes to the same ip address as the correct domain name Then 301 redirects for each typo domain in the .htaccess Subdomains on typo urls still redirect to www or should they redirect to the subdomain on the correct url in case the subdomain exists? Technical SEO | | kuchenchef0
- 
		
		
		
		
		
		Are .clinic domains effective?
 We acquired a .clinic domain for a client, they are right now running under a .ca and I was just wondering if there were any cons to making the switch. On the flip side are there any pros? I've tried to search for the answer but couldn't seem to come across anything, thank you if you have any knowledge or could point me to a resource. Technical SEO | | webignite0
- 
		
		
		
		
		
		Best Way To Clean Up Unruly SubDomain?
 Hi, I have several subdomains that present no real SEO value, but are being indexed. They don't earn any backlinks either. What's the best way of cleaning them up? I was thinking the following: 1. Verify them all in Webmaster Tools. 2. Remove all URLs from the index via the Removal Tool in WMT 3. Add site-wide no-index, follow directive. Also, to remove the URLs in WMT, you usually have to block the URLs via /robots.txt. If I'd like to keep Google crawling through the subdomains and remove their URLs, is there a way to do so? Technical SEO | | RocketZando0
- 
		
		
		
		
		
		Transfer a Main Domain to a Sub-Domain
 My IT department tells me they want to transfer my main site domain, which has been in existence since 1999 as an e-commerce site (maindomain.com) to a sub-domain (www2.maindomain.com) or a completely new domain (newdomain.net). This is because we are launching a new website and B2C e-commerce engine, but we still have to maintain the legacy B2B e-commerce engine which contains hard-coded URLs, and both systems can't use the same domain. I've been researching the issue across SEOmoz, but I haven't come across this exact type of scenario (mostly I've seen a sub-domain to new domain). I see major problems with their proposal, including negative SEO impact, loss of domain authority/ranking and issues with branding. Does anyone know the exact type of impact I can expect to see in this scenario and specific steps I should go about to minimize the impact? Btw, I will be using Danny Dover's guide on properly moving domains where appropriate. Thanks! Technical SEO | | AscendLearning0
- 
		
		
		
		
		
		What is the best method to block a sub-domain, e.g. staging.domain.com/ from getting indexed?
 Now that Google considers subdomains as part of the TLD I'm a little leery of testing robots.txt with something like: staging.domain.com Technical SEO | | fthead9
 User-agent: *
 Disallow: / in fear it might get the www.domain.com blocked as well. Has anyone had any success using robots.txt to block sub-domains? I know I could add a meta robots tag to the staging.domain.com pages but that would require a lot more work.0
- 
		
		
		
		
		
		Multiple Domains, Same IP address, redirecting to preferred domain (301) -site is still indexed under wrong domains
 Due to acquisitions over time and the merging of many microsites into one major site, we currently have 20+ TLD's pointing to the same IP address as our "preferred domain:" for our consolidated website http://goo.gl/gH33w. They are all set up as 301 redirects on apache - including both the www and non www versions. When we launched this consolidated website, (April 2010) we accidentally left the settings of our site open to accept any of our domains on the same IP. This was later fixed but unfortunately Google indexed our site under multiple of these URL's (ignoring the redirects) using the same content from our main website but swapping out the domain. We added some additional redirects on apache to redirect these individual pages pages indexed under the wrong domain to the same page under our main domain http://goo.gl/gH33w. This seemed to help resolve the issue and moved hundreds of pages off the index. However, in December of 2010 we made significant changes in our external dns for our ip addresses and now since December, we see pages indexed under these redirecting domains on the rise again. If you do a search query of : site:laboratoryid.com you will see a few hundred examples of pages indexed under the wrong domain. When you click on the link, it does redirect to the same page but under the preferred domain. So the redirect is working and has been confirmed as 301. But for some reason Google continues to crawl our site and index under this incorrect domains. Why is this? Is there a setting we are missing? These domain level and page level redirects should be decreasing the pages being indexed under the wrong domain but it appears it is doing the reverse. All of these old domains currently point to our production IP address where are preferred domain is also pointing. Could this be the issue? None of the pages indexed today are from the old version of these sites. They only seem to be the new content from the new site but not under the preferred domain. Any insight would be much appreciated because we have tried many things without success to get this resolved. Technical SEO | | sboelter0
 
			
		 
			
		 
			
		 
			
		 
			
		 
			
		 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				