Subdomain with Same Database Content?
I’ve searched high-and-low and haven’t found a solution for this, so I throw this to the WP community…
I have a client who wants a separate subdomain for an “iPhone-only” site, so iphone.domain.com. We have a beautifully working WP site already. The subdomain should pull from the same database as the main “www” site. The http://www.domain.com WP files are in a /www directory, but the iphone files are in the /subdomains/iphone/www directory.
I want to pull the last 5 general posts, plus n number of posts from a specific category, but the real question is can I use the same content across subdomains on the same site and how?
Yes, I know it would be easier to create an iPhone Theme and use a automagic theme-switcher, but this is what the client wants.
Thanks in advance!
- The topic ‘Subdomain with Same Database Content?’ is closed to new replies.