Solved

Integrating Wordpress with External Database

Posted on 2013-11-15
4
1,244 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

757 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

17 Experts available now in Live!

Get 1:1 Help Now