Solved

Integrating Wordpress with External Database

Posted on 2013-11-15
4
1,513 Views
Last Modified: 2013-11-26
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
Comment
Question by:levbao
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 110

Expert Comment

by:Ray Paseur
ID: 39650935
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
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 39651527
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
 

Accepted Solution

by:
levbao earned 0 total points
ID: 39666735
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
 

Author Closing Comment

by:levbao
ID: 39677052
It suits my need.
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
The viewer will learn how to dynamically set the form action using jQuery.

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question