levbao
asked on
Integrating Wordpress with External Database
Hello,
I have a Wordpress site mainly for CMS.
Outside Wordpress I also have another database for users (not Wordpress users) and other data. So I would have to authenticate users before letting them access / enter / edit data from the external database.
I fould this link that integrate Wordpress with an existing site:
http://codex.wordpress.org/Integrating_WordPress_with_Your_Website
My question is what is the best practice to do this?
Should I create a separate PHP site, integrate with Wordpress site's theme and authenticate users there? OR do everything inside Wordpress?
Thanks in advance.
I have a Wordpress site mainly for CMS.
Outside Wordpress I also have another database for users (not Wordpress users) and other data. So I would have to authenticate users before letting them access / enter / edit data from the external database.
I fould this link that integrate Wordpress with an existing site:
http://codex.wordpress.org/Integrating_WordPress_with_Your_Website
My question is what is the best practice to do this?
Should I create a separate PHP site, integrate with Wordpress site's theme and authenticate users there? OR do everything inside Wordpress?
Thanks in advance.
In my limited experience with WP, I have found it easier to "ride the horse in the direction he is already going." So I used WP authentication. and it worked intuitively for non-technical bloggers.
People have solved this for you (mostly)
http://wordpress.org/plugins/external-db-auth-reloaded/
That plugin allows you to authenticate against an external database and it wil also create matching users in the WordPress user table. With some clever applications of code, you can create a WordPress site that allows users to login to two separate sites with one login.
http://wordpress.org/plugins/external-db-auth-reloaded/
That plugin allows you to authenticate against an external database and it wil also create matching users in the WordPress user table. With some clever applications of code, you can create a WordPress site that allows users to login to two separate sites with one login.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It suits my need.