• I need to integrate my wordpress database into another website, specifically the usernames and passwords in wp_users. Where do I start?

Viewing 3 replies - 1 through 3 (of 3 total)
  • If you are referring to another WordPress site, you can do this by having both sites use the same database with different table prefixes for each site, as defined in each site’s wp-config.php

    These are the lines that you add to assign the wp_users table from one installation to be used by the other installation instead of its own.

    Put both installations in the same database with different prefixes. Choose one to be the master user table. Do this in both wp-config.php files:

    define(CUSTOM_USER_TABLE,’wp_users’);
    define(CUSTOM_USER_META_TABLE,’wp_usermeta’);

    Replace the wp_ with the prefix you want.

    I have same problem as like ac3raven but here “another Site” means it is non-wordpress site means my site is created into plain php and my site have admin(control panel) and user site(front part) and now i have to integrate the wordpress for that i have create blog sub-folder in my site and installed it under same databse but there table prefix are different from my original site’s table now i have one admin its same for wp and my site

    how it possible

    Wondering about the same thing, but i don’t need any tutorials on it. Just how i will approach the problem and i will do it myself.

    The only thing i am wondering about is just the password. That’s MD5 encrypted right? So exporting the passwords will not work no matter what? Or is that possible, if i export the users password field with theyre encrypted password and import it into my own users table? and they can login?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘wordpress user integration with another site’ is closed to new replies.