Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1861
  • Last Modified:

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.
0
levbao
Asked:
levbao
  • 2
1 Solution
 
Ray PaseurCommented:
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.
0
 
Jason C. LevineNo oneCommented:
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.
0
 
levbaoAuthor Commented:
I've researched at http://wordpress.org/showcase/ and reckon that most of the sites just keep wordpress mainly for cms.  When it comes to authentication from an external db, they have a separate site for that and Wordpress is not involved.

I think I'll go with that.

Thank you for your advice.
0
 
levbaoAuthor Commented:
It suits my need.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now