Forums

1 database, 2 installs using the same post table (2 posts)

  1. wesg
    Member
    Posted 3 years ago #

    I have a second blog installed that uses the same post table, but different options. This gives me the ability to preview a theme before putting it live.

    In WP 2.5.* I had it running thanks to a good blog post, but in WP 2.6.* the method has changed. The way WP determines prefixes and arrays is different.

    Has anyone figured out how to use 1 database for 2 installs, but only have the options table different? I know it basically means changing the prefix for all tables except the option table, and this is throwing me off.

  2. wesg
    Member
    Posted 3 years ago #

    Ha! I figured it out! It actually works the same way as 2.5, but the position of the text is different.

    For how I fixed it, check out my blog at http://www.wesg.ca/2008/08/use-1-database-for-2-blogs-with-wordpress/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.