Is this possible? [HOW] 2 domains,2 ips, one post database.

Bostoncab

Elite Member
Joined
Dec 31, 2009
Messages
2,256
Reaction score
514
Is this possible? [HOW] 2 domains,2 ips, one post database.

So i want to set up 2 different sites. Each site will run on its own ip address. However I want each site to share the same database for posts. So when a new post is made on one site it copies to the other site.

To further complicate things I want to run plugins on one site that I don't run on the other site. Still possible?
 
rss feed. Also, when autoblogging was huge there were some plugins that did this you combined them and it pulled in the posts and spun the content. I am sure those are out there still and the way I know about them is from this forum, so go to google and search "site:blackhatworld.com autoblog plugins"

I did and it returned quite a bit but I think this might be it
http://www.blackhatworld.com/blackh...-softwares-wordpress-some-tidbits-advice.html
 
Last edited:
To answer OP's question - no, it's not. Without heavily modifying WP's core files that is - but you don't want to go there as every change you'll make is almost guaranteed to create dozens of new issues.

What I would do instead (not wanting to use RSS feeds / autoblog plugins) is create a simple PHP script that checks the DB of site A for new posts and if identified, writes them to the DB of site B. Just run that script every X minutes/hours via cron and you're all set. A total of 50 or so lines of code, if not less.
 
To answer OP's question - no, it's not. Without heavily modifying WP's core files that is - but you don't want to go there as every change you'll make is almost guaranteed to create dozens of new issues.

What I would do instead (not wanting to use RSS feeds / autoblog plugins) is create a simple PHP script that checks the DB of site A for new posts and if identified, writes them to the DB of site B. Just run that script every X minutes/hours via cron and you're all set. A total of 50 or so lines of code, if not less.

What about Multisite? Doesnt that give you the ability to run multiple Wordpress sites off of one install?
 
You can have multiple installs in a single database using table prefixes but I don't think there's any way to share the posts database as this doesn't make sense to do for most installs. Multisite allows multiple sites on one install but again this doesn't use the same posts database table. I think the cronjob to sync the databases is probably your best option.
 
You can have multiple installs in a single database using table prefixes but I don't think there's any way to share the posts database as this doesn't make sense to do for most installs. Multisite allows multiple sites on one install but again this doesn't use the same posts database table. I think the cronjob to sync the databases is probably your best option.

I don't suppose one of you can wiop up the cron for me for free?
 
Back
Top