Support » Fixing WordPress » Two Installs, Same Database

  • I’d like to have two installations of wp running from the same database; one public facing, read only & without /wp-admin, the other internal facing and (ideally) write only. While it seems like a relatively simple setup I can’t find any documentation about setting this up.

    What I’m trying to achieve is an environment where a client will log into his site at, produce content there which populates the db which then publishes to for reading. His site regularly get’s hacked and I’m attempting to secure.

    I’m getting hung up on the _options table which in my best estimation would have to be unique to each install to allow for different urls per install. I came across this which seems a relevant though dated solution.

    Anyone have any suggestions or advise for achieving this? Is this concept sound? Is there a simpler method to achieve this?

Viewing 1 replies (of 1 total)
  • Here’s a few articles I found surfing around that might help you…

    • Relocate your wp-config.php file. This helps protect your database password.
    • You can use .htaccess to hide your wp-admin folder on the public site as well. This will hide the login from public view unless they know the secret URL.

    Blocking access to wp-admin is okay, but there are some dependancies that WordPress likely will still need on your public site. But these methods don’t require a subdomain unless you just want one.

    I’ve not tried these solutions, but they seem solid to me and I probably will at some point in the future.

Viewing 1 replies (of 1 total)
  • The topic ‘Two Installs, Same Database’ is closed to new replies.