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
- 
		
		
		
		
		
		Subdomain or subfolder?
 Hello, We are working on a new site. The idea of the site is to have an ecommerce shop, but the homepage will be a content page, basically a blog page. Technical SEO | | pinder325
 My developer wants to have the blog (home) page on a subdomain, so blog.example.com, because it will be easier to make a nice content page this way, and the the rest of the site will just be on the root domain (example.com). I'm just worried that this will be bad for our SEO efforts. I've always thought it was better to use a sub folder rather than a subdomain. If we get links to the content on the subdomain, will the link juice flow to the shop, on the root domain? What are your thoughts?0
- 
		
		
		
		
		
		Old domain to new domain
 Hi, A website on server A is no longer required. The owner has redirected some URLS of this website (via plugin) to his new website on server B -but not all URLS. So when I use COMMAND site:website A , I see a mixture of redirected URLS and not redirected URLS.Therefore two websites are still being indexed in some form and causing duplication. However, weirdly when I crawl with Screaming Frog I only see one URL which is 301 redirected to the new website. I would have thought I'd see lots of URLs which hadn't been redirected. How come it is different to using the site:command? Anyway, how do I move to the new website completely without the old one being indexed anymore. I thought I knew this but have read so many blogs I've confused myself! Should I: Redirect all URLS via the HTACESS file on old website on server A? There are lots of pages indexed so a lot of URLs. What if I miss some? or Point the old domain via DNS to server B and do the redirects in website B HTaccess file? This seems more sensible but does this method still retain the website rankings? Thanks for any help Technical SEO | | AL123al0
- 
		
		
		
		
		
		Clients domain expired - rankings lost - repurchased domain - what next?
 Its only been 10 days and i have repurchased the domain name/ renewed. The who is info, website and contact information is all still the same. However we have lost all rankings and i am hoping that our top rankings come back. Does anyone have experience with such a crappy situation? Technical SEO | | waqid0
- 
		
		
		
		
		
		Rel canonical between mirrored domains
 Hi all & happy new near! I'm new to SEO and could do with a spot of advice: I have a site that has several domains that mirror it (not good, I know...) So www.site.com, www.site.edu.sg, www.othersite.com all serve up the same content. I was planning to use rel="canonical" to avoid the duplication but I have a concern: Currently several of these mirrors rank - one, the .com ranks #1 on local google search for some useful keywords. the .edu.sg also shows up as #9 for a dirrerent page. In some cases I have multiple mirrors showing up on a specific serp. I would LIKE to rel canonical everything to the local edu.sg domain since this is most representative of the fact that the site is for a school in Singapore but... Technical SEO | | AlexSG
 -The .com is listed in DMOZ (this used to be important) and none of the volunteers there ever respoded to requests to update it to the .edu.sg
 -The .com ranks higher than the com.sg page for non-local search so I am guessing google has some kind of algorithm to mark down obviosly local domains in other geographic locations Any opinions on this? Should I rel canonical the .com to the .edu.sg or vice versa? I appreciate any advice or opinion before I pull the trigger and end up shooting myself in the foot! Best regards from Singapore!0
- 
		
		
		
		
		
		Correct linking to the /index of a site and subfolders: what's the best practice? link to: domain.com/ or domain.com/index.html ?
 Dear all, starting with my .htaccess file: RewriteEngine On Technical SEO | | inlinear
 RewriteCond %{HTTP_HOST} ^www.inlinear.com$ [NC]
 RewriteRule ^(.*)$ http://inlinear.com/$1 [R=301,L] RewriteCond %{THE_REQUEST} ^./index.html
 RewriteRule ^(.)index.html$ http://inlinear.com/ [R=301,L] 1. I redirect all URL-requests with www. to the non www-version...
 2. all requests with "index.html" will be redirected to "domain.com/" My questions are: A) When linking from a page to my frontpage (home) the best practice is?: "http://domain.com/" the best and NOT: "http://domain.com/index.php" B) When linking to the index of a subfolder "http://domain.com/products/index.php" I should link also to: "http://domain.com/products/" and not put also the index.php..., right? C) When I define the canonical ULR, should I also define it just: "http://domain.com/products/" or in this case I should link to the definite file: "http://domain.com/products**/index.php**" Is A) B) the best practice? and C) ? Thanks for all replies! 🙂
 Holger0
- 
		
		
		
		
		
		Umlaut in domain
 Hi, My client wants to expand it's business to Germany and logically we need a domain name to match. We've found a great one and regsiterd several variants to it. However I just found out that in Germany it is possible (while here it's not) to register a domain with an umlaut. My question is: will google assign more value to: schädlinge.de than schadlinge.de when users search for schädlinge? If yes, how large will the difference be? (I will use an umlaut in the title etc) Kind regards, Technical SEO | | media-surfer
 Jason.0
- 
		
		
		
		
		
		Mobile Domain Setup
 Hi, If I want to serve a subset of pages on my mobile set from my desktop site or the content is significantly different, i.e. it is not one to one or pages are a summarised version of the desktop, should I use m.site.com or is it still better to use site.com? Many thanks any help appreciated. Technical SEO | | MarkChambers0
- 
		
		
		
		
		
		What is best practice for redirecting "secondary" domain names?
 For sites with multiple top-level domains that have been secured for a business or organization, I'm curious as to what is considered best practice for setting up 301 redirects for secondary domains. Is it best to do the 301 redirects at the registrar level, or the hosting level? So that .net, .biz, or other secondary domains funnel visitors to the correct primary/main domain name. I'm looking for the "best practice" answer and want to avoid duplicate content problems, or penalties from the search engines. I'm not trying to game the system with dozens of domain names, simply the handful of domains that are important to the client. I've seen some registrars recommend hosting secondary domains, and doing redirects from the hosting level (and they use meta refresh for "domain forwarding," which I want to avoid). It seems rather wasteful to set up hosting for a secondary domain and then 301 each URL. Technical SEO | | Scott-Thomas0
 
			
		 
			
		 
			
		 
			
		 
			
		 
			
		 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				