I want to install 5 wordpress blogs using the same database - Anybody HELP me???

Discussion in 'PHP' started by doubler, Feb 25, 2008.

  1. #1
    i am installing wordpress on 5 domains using one database but it only installs on 1st domain but when i try to install it on 2nd domain then i get this msg >>>

    How can i resolve this problem what file i have to edit for this, please tell me ASAP...Thanks!
     
    doubler, Feb 25, 2008 IP
  2. Octane

    Octane Peon

    Messages:
    117
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You might want to take a look at WordPress Mu.

    Maybe that'll do what you want...
     
    Octane, Feb 25, 2008 IP
  3. wmtips

    wmtips Well-Known Member

    Messages:
    601
    Likes Received:
    70
    Best Answers:
    1
    Trophy Points:
    150
  4. doubler

    doubler Active Member

    Messages:
    952
    Likes Received:
    47
    Best Answers:
    0
    Trophy Points:
    70
    #4

    yes, but this is different method i just want this if i update one blog then remaining 4 blogs will automatically update...
     
    doubler, Feb 25, 2008 IP
  5. Cybernaut

    Cybernaut Peon

    Messages:
    408
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Using different table prefix for each install should do it, why not?
     
    Cybernaut, Feb 25, 2008 IP
  6. Cybernaut

    Cybernaut Peon

    Messages:
    408
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Oh, I got it what you mean. You are trying to install it over the same wordpress installation and same database. Then you need wordpress mu (multi user). A small manual modification to wp-config.php file can also make it work (setting table_prefix with respect HTTP_HOST being accessed) but its not recommeded because updating wordpress will not update all database tables of all sites at once. Wordpress MU is recommended.
     
    Cybernaut, Feb 25, 2008 IP
  7. doubler

    doubler Active Member

    Messages:
    952
    Likes Received:
    47
    Best Answers:
    0
    Trophy Points:
    70
    #7
    dude i just want keep only one database and want to install all blogs using the same database so in case if i edit one blog then all blog should be edited with it...so any idea about this?
     
    doubler, Feb 25, 2008 IP
  8. Cybernaut

    Cybernaut Peon

    Messages:
    408
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Do you mean, all blogs contain the same content (articles, posts, comments, feeds, etc) like mirrors on different domains? Changes in the blog should affect all domains?
     
    Cybernaut, Feb 25, 2008 IP
  9. doubler

    doubler Active Member

    Messages:
    952
    Likes Received:
    47
    Best Answers:
    0
    Trophy Points:
    70
    #9
    yes yes yes, exactly :)
     
    doubler, Feb 25, 2008 IP
  10. Cybernaut

    Cybernaut Peon

    Messages:
    408
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #10
    This cannot be done by default wordpress installation. But a custom wordpress plugin that updates the site links on the fly can help achieve this.

    EDIT: There it is:

    http://mcaleavy.org/code/domain-mirror/

    See if it works for you. It has more options than changing just the links.
     
    Cybernaut, Feb 25, 2008 IP
  11. doubler

    doubler Active Member

    Messages:
    952
    Likes Received:
    47
    Best Answers:
    0
    Trophy Points:
    70
    #11
    can you tell me about this plugin? what is the name of this plugin and where i can find it?
     
    doubler, Feb 25, 2008 IP
  12. Cybernaut

    Cybernaut Peon

    Messages:
    408
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Cybernaut, Feb 25, 2008 IP
  13. doubler

    doubler Active Member

    Messages:
    952
    Likes Received:
    47
    Best Answers:
    0
    Trophy Points:
    70
    #13
    Thanks for everything but is it 100% sure that it couldn't be possible without plugin? i mean is this possible to may change occurs to just edit any wordpress file?
     
    doubler, Feb 26, 2008 IP