Solved

Integrating Wordpress with External Database

Posted on 2013-11-15
4
1,280 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
  • 2
4 Comments
 
LVL 108

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Site hacked - decoding the PHP? 15 60
Hacked File Timestamps 4 49
Calculating number of days between two dates 7 31
Wordpress Carousel Size 1 14
I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
This article discusses four methods for overlaying images in a container on a web page
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…
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…

912 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now