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
- 
		
		
		
		
		
		Impact of Medium blog hosted on my subdomain
 I am using the Medium blogging platform to blog, but it is pointed to my site and appears at blog.mysite.com. Since the content is hosted on Medium and pointed to my subdomain via an A Record / CNAME / etc... 1. Will my domain get credit for backlinks to the blog content? 2. If Medium changes in the future and no longer points to my subdomain, will I lose all of the backlinks I've built up? Technical SEO | | davidevans_seo0
- 
		
		
		
		
		
		Does a subdomain benefit from being on a high authority domain?
 I think the title sums up the question, but does a new subdomain get any ranking benefits from being on a pre-existing high authority domain. Or does the new subdomain have to fend for itself in the SERPs? Technical SEO | | RG_SEO0
- 
		
		
		
		
		
		Does an subdomain hosted offsite provide SEO value
 We have a job board hosted through an applicant processing system which we've setup as a subdomain (jobs.ourcompany.com), most of the assets are hosted on our primary domain (ourcompany.com). My question is does having it hosted offsite provide any value? Do we get credit for that content being shared and distributed on the web or does the applicant processing system? As I see it the options are (correct me if I'm wrong): Host the job listings on our primary domain (ourcompany.com/jobs) and have it point to the application on the subdomain. Advertise the job listings pointing to the primary domain on the paid sites. The free job listing sites will automatically point to the sub-domain because the applicant processing system automatically submits them. Host the job listings entirely on the sub-domain applicant tracking system and link to it from our primary site navigation. Advertise the job listings to the sub-domain so that both free and paid point to the same place. Obviously the second one would be much easier just not sure on the technical side of our website getting credit by search engines as the one who has produced the content. Technical SEO | | r1200gsa0
- 
		
		
		
		
		
		Keep the blog separate or incorporate into main domain?
 So my organization currently has both a main site and on a separate domain and separate host a wordpress blog. (our own domain not a wordpress.com) the content posted on this blog is local, community driven, and related to our business but it is not used in anyway as a "sales" tool. It's more for interaction purposes with members and employees. This blog has a lot of content and is updated with new posts very often. (generate traffic from a pretty wide variety of searches some related some not) My plan has been to 301 the old domain and move the wordpress blog over to our root domain in a subdirectory such as oursite.com/blog. Does anyone have tips for moving a blog over like this? I'm concerned about any link juice it has dropping off and since it does provide some links to our root site currently (since it's basically a separate site). Basically i'm wondering if it'll be worth the effort or if i should just keep it separate and focus on other content gen strategies. Technical SEO | | SCFederal0
- 
		
		
		
		
		
		Best geotargeting strategy: Subdomains or subfolders or country specific domain
 How have the relatively recent changes in how G perceives subdomains changed the best route to onsite geotargeting i.e. not building out new country specific sites on country specific and hosted domains and instead developing sub-domains or sub-folders and geo-targeting those via webmaster tools ? In other words, given the recent change in G perception, are sub-domains now a better option than a sub-folder or is there not much in it ? Also if client has a .co.uk and they want to geo-target say France, is the sub-domain/sub-folder route still an option or is the .co.uk still too UK specific, and these options would only work using a .com ? In other words can sites on country specific domains (.co.uk , .fr, .de etc etc) use sub-folders or domains to geo-target other countries or do they have no option other than to develop new country specific (domains/hosting/language) websites ? Any thoughts regarding current best practice in this regard much appreciated. I have seen last Febs WBF which covers geotargeting in depth but the way google perceives subdomains has changed since then Many Thanks Dan Technical SEO | | Dan-Lawrence0
- 
		
		
		
		
		
		Any way around buying hosting for an old domain to 301 redirect to a new domain?
 Howdy. I have just read this QA thread, so I think I have my answer. But I'm going to ask anyway! Basically DomainA.com is being retired, and DomainB.com is going to be launched. We're going to have to redirect numerous URLs from DomainA.com to DomainB.com. I think the way to go about this is to continue paying for hosting for DomainA.com, serving a .htaccess from that hosting account, and then hosting DomainB.com separately. Anybody know of a way to avoid paying for hosting a .htaccess file on DomainA.com? Thanks! Technical SEO | | SamTurri0
- 
		
		
		
		
		
		Exact match subdomains
 Hi, I have seen significant SEO benefits from owning exact match domains and was wondering whether exact match subdomains hold the same (or some) of these benefits? eg. halloweencostumes.co.uk vs. halloween [dot] costumes.co.uk Many thanks. Technical SEO | | martyc0
- 
		
		
		
		
		
		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
 
			
		 
			
		 
			
		 
			
		 
			
		 
			
		 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				