Using same database for different domains
-
I’m trying to setup different websites depending on the country, but using the same database.
This is what I want to achieve:
-I have a main website, domain.com with all the posts from every country
-Want to set up different websites for each country, filtering by a country taxonomie. For example
domain.co.uk – show only the posts from uk
domain.com.au – show only the posts from australiaI’m not having trouble with the filtering. The problem is how to set up the site url and template path for each site to work.
Is it possible to do this from a config file and load the vars on the fly? Or maybe via .htaccess?
Would love to hear what options do I have here, I guess there’re several different ways to achieve this.
Thanks in advance!
- The topic ‘Using same database for different domains’ is closed to new replies.