I have a problem in following situation:
I have 2 separate Wordpress 3.3.1 instances, main at domain.com and one of them (which consists of simple Q&A type site) is available from subdomain forum.domain.com. Now I have to merge them into one instance - to be able to share plugins, theme and posts (<-- that's important).
At this moment, forum.domain.com points to that second instance. I can quite easily get rid of it just by creating post categories for questions and displaying them accordingly. But then, my questions will have links like domain.com/category/forum/question-subcategory/question and I want them to be like forum.domain.com/question-subcategory/question. I've seen that there is a WP Subdomains plug-in that does exactly that but it's not compatible with WP 3.3.1. I thought that should be possible with .htaccess rules but this post seems to explain that it's not.
I considered using WP Multi-site feature but as far as I know, separate sites have separate tables in DB, thus they can't share posts (which is needed, as previously said).
Does anybody have any clue how to fix this problem ?
get_current_blog_id(),switch_to_blog()andrestore_current_blog()– Tom J Nowell Apr 11 '12 at 10:49