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)
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
-
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 -
We switched the domain from www.blog.domain.com to domain.com/blog.
We switched the domain from www.blog.domain.com to domain.com/blog. This was done with the purpose of gaining backlinks to our main website as well along with to our blog. This set us very low in organic traffic and not to mention, lost the backlinks. For anything, they are being redirected to 301 code. Kindly suggest changes to bring back all the traffic.
Technical SEO | | arun.negi0 -
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 -
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 -
.ca and. com domains
Hello, currently the main site im working on is a .com, but have the .ca version purchased from register.com. should i have this setup to redirect to the .com site. will google see these as dup content. We have the .ca for our canadian customers but both sites are identical. Thank you
Technical SEO | | TP_Marketing0 -
Tutorial For Moving Blogger Blog From Sub-Domain to Sub-Directory
Does anyone know where I can find a tutorial for moving a blogger.com (blogspot) blog that's currently hosted on a subdomain (i.e. blog.mysite.com) to a subdirectory (i.e. mysite.com/blog) with the current version of blogger? I'm working on transferring my blogger blogs over to wordpress, and to do so without losing link juice or traffic, this is one of the steps I have to take. There's plenty of tutorials that address moving from blogspot.mysite.com to wordpress and I've even found a few that address moving from blog.mysite.com (hosted on blogger) to a root domain mysite.com. However, I need to move from blog.mysite.com (blogger) to mysite.com/blog/ - subdirectory (wordpress). Anyone who knows how to do this or can point me in the right direction?? Thanks.
Technical SEO | | ChaseH0 -
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