Asked 5 years ago
2 Oct 2018
Views 1384
sarah

sarah posted

how to sync user login with another website database in wordpress ?

i have site A , site B and both is in same server but differ folder and differ database.

i want to use site A 's user to login at site B.

i used sync plugin but i dont want to sync database just need to login with other Site b 's user at Site A ..

ching

ching
answered Apr 25 '23 00:00

To synchronize user login with another website database in WordPress, you can use a plugin called "External DB authentication Reloaded". Here's how you can set up and use this plugin:

1.Install and activate the "External DB authentication Reloaded" plugin on your WordPress website.

2.Navigate to the "Settings" page and select "External DB" from the menu.

3.Enter the database details for the other website where you want to synchronize the user login. This includes the hostname, database name, username, and password.

4.Next, you'll need to specify the table name and fields that contain the login information. This typically includes the table name, username field, password field, and email field.

5.Save the settings once you've provided the necessary details.

6.With the plugin in place, when a user logs in to your WordPress website, the plugin will authenticate the user against the external database. If the user exists in the external database and enters the correct login credentials, they will be granted access to your WordPress website.

It's worth noting that this plugin only syncs user login information and not other user data like profile information or settings. Additionally, ensure that you have permission to access the other website's database before configuring this plugin.

By following these steps, you can seamlessly synchronize user login with another website database in WordPress using the "External DB authentication Reloaded" plugin.
Post Answer