wordpress experts please help

Discussion in 'PHP' started by adrevol, Sep 10, 2008.

  1. #1
    Hi,
    I have successfully installed two wordpress blogs on to different sites, but i want to use same DB so to attain that i have edited wp-config.php.

    1. when i open first site it is working perfect
    2. when i open second site it is redirecting to first site.

    Problem is with the DB entry of siteurl in wp_options table which is actually pointing to first site.

    how to customize it and which file i have to edit in order to attain this functionality working perfect
     
    adrevol, Sep 10, 2008 IP
  2. Spawny

    Spawny Well-Known Member

    Messages:
    252
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    110
    #2
    wordpress store the url of the site it was installed to the database and you maybe using the first site stylesheet too
     
    Spawny, Sep 10, 2008 IP
  3. adrevol

    adrevol Active Member

    Messages:
    124
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #3
    is there any way to customize the script not to redirect to the URL saved in DB but first check the host and then redirect it. if so which page i have to edit ??
     
    adrevol, Sep 10, 2008 IP
  4. adrevol

    adrevol Active Member

    Messages:
    124
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #4
    I got the solution thankyou
     
    adrevol, Sep 10, 2008 IP