WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have twoo websites on worpdress platform:

On the server there are 2 different folders with same files, same config but one of them has:

define('WP_HOME',    'http://nuovafattoria.ro/');
define('WP_SITEURL', 'http://nuovafattoria.ro/');

so is the same database but different url.

I wanna made some changes on one of them, different logo, background so I need a second options table but the others to remain same for both websites.

How can I have different logo, background and settings on the second website?

share|improve this question
Why do you have this set up? What is it trying to achieve? – Tom J Nowell Aug 19 '14 at 10:37
Both sites will have the same content? If so this isn't neccesary – Tomás Cot Aug 19 '14 at 11:33
up vote 1 down vote accepted

I would look into using HyperDB instead. This would allow you to pull data from several databases while one is replicated as the "master" database.


From the description page of the plugin:

It supports:

  • Read and write servers (replication)
  • Configurable priority for reading and writing
  • Local and remote datacenters
  • Private and public networks - Different tables on different databases/hosts
  • Smart post-write master reads
  • Failover for downed host
  • Advanced statistics for profiling

Hope this helps you.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.