WordPress.org

Forums

Multiple copies of the same blog? (10 posts)

  1. marceladevivo
    Member
    Posted 10 years ago #

    Is it possible to have multiple copies of 1 blog? For example, I post in one place, and then the database automatically gets copied over to another URL. So in effect I could have 2 or 3 copies of the blog avaialable under diffferent URL's. Any ideas would be much appreciated.

  2. petrenkocomua
    Member
    Posted 10 years ago #

    May be just use the same DB (same DB adress, same DB name, same table prefix) for all blogs?

  3. marceladevivo
    Member
    Posted 10 years ago #

    How would I do that? Would I just copy everything from the 1 install to the other?

  4. James Huff
    Volunteer Moderator
    Posted 10 years ago #

    Actually, just use the same wp-config.php for each blog.

  5. marceladevivo
    Member
    Posted 10 years ago #

    I'm not sure I understand. Any chance you could direct me to a tutorial or something?

    Thanks!

  6. James Huff
    Volunteer Moderator
    Posted 10 years ago #

    When you install a WordPress blog, you have to set up a wp-config.php file which has the login information for your database. To make another copy of that same blog, upload the WordPress files into a different directory, but use the same wp-config.php file.

  7. fatalcure
    Member
    Posted 10 years ago #

    errrmm couldnt you just get the domain names to all link to the same blog...

  8. marceladevivo
    Member
    Posted 10 years ago #

    I copied the wp-config file to a new URL, and installed all the file, but it didn't work.

    It says: Error establishing a database connection!

    Any ideas?

  9. deirdre
    Member
    Posted 10 years ago #

    Are they on the same computer?

    You may have a database permissions problem if they're not.

    If they aren't on the same computer, it's something you'll need to use the right mysql grant for.

  10. gboksar
    Member
    Posted 10 years ago #

    no way! you wil have a problem with the siteurl of the database! won't work just like that...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.