Blog on subfolder in discourse


(Michael Solomon) #1

Hi,
I have discourse at example.com and want to host a blog at example.com/blog.
How can I do that?
Thanks,
Michael
p.s: what you suggest from SEO point of view? subdomain or subfolder?


(Michael Downey) #2

I think the only way you could do this is by putting a reverse proxy such as nginx or apache httpd in front of discourse, then passing everything at /blog to another application, and everything else to Discourse.

I would not recommend it if you can avoid it. You can already use a discourse category as a blog, restricting who can post and who can add comments.


(Michael Solomon) #3

so what you are suggest me to do?


(Michael Downey) #4

My recommendation:

  1. If you only want a blog to post articles and solicit comments, just use Discourse.
  2. If you want to use a blog platform such as WordPress as a CMS for a “web site”, then put it at your domain root https://example.com/ and move Discourse to https://forum.example.com/

(Michael Solomon) #5

But I read that bad for SEO( two seperate sites for google…)


(Michael Downey) #6

I don’t believe in SEO. :smile:


(Michael Solomon) #7

Lol but google believe… :smile:


(Michael Downey) #8

Are you sure?


(Michael Solomon) #9

Yep… this article very deprecated… things changed little bit:
http://mainpath.com/putting-end-to-subdomains-vs-subdirectories-debate/

Remember that Google considers sub domains separate from their parent domains: sub.yoursite.com is considered a different site altogether compared to yoursite.com when it comes to search engine authority.


(Jeff Atwood) #10

Here is a response from Matt Cutts in email to me:

pretty much everyone who has strong opinions on subdomains vs. subfolders doesn’t know what they’re talking about. They sure do have strong opinions anyway though!

Sorry, I believe Matt Cutts of Google over your random link :wink:


(Michael Downey) #11

OK, here’s a newer (2012) video:

Nothing has changed. :smile:


(Neil Lalonde) #12

If you insist on doing this, I recommend you deploy Discourse to a subfolder first (www.example.com/forum), and then you can deploy other apps (like your blog) to other subfolders.


(Michael Solomon) #13

Thanks guys, I’ll just put the blog on subdomain.


(system) #14