Forums

[resolved] Two Different Themes, One Database (3 posts)

  1. misterpatrick67
    Member
    Posted 2 years ago #

    Hello all,

    I have a question about running some A/B tests on a site. Basically, I am wondering if there is a way to set up two versions of the same site using the same database but different themes. So you'd have the main site at http://www.mysite.com and the second site over at http://www.mysite.com/test.

    Now that I think about it, I think I'd run into problems only with the wp_options stuff. Is there a plug-in that syncs two databases?

    Any advice appreciated. I'm sure someone else has attempted this.

  2. nathanrice
    Member
    Posted 2 years ago #

    You could override the site address and WP address by defining them in your wp-config.php file:
    http://codex.wordpress.org/Editing_wp-config.php#WordPress_address_.28URL.29

  3. misterpatrick67
    Member
    Posted 2 years ago #

    Thanks. What I've ended up doing is just duplicating the site, exporting the database san wp_options with DROP and CREATE seletced suing myPhpAdmin, then importing the database to the new site after setting up the plugins and themes. This duplicates the site but isn't running the site off of one database. I'll settle for that for now.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.