Solved

Integrating Wordpress with External Database

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

Report: Liquid Web beats Amazon, Rackspace & More

A study by performance analyst firm Cloud Spectator finds that Liquid Web beats rivals Amazon, Rackspace and DigitalOcean when it comes to website and cloud application performance.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
if statement malfunction 5 40
Custom WordPress pages? 4 37
XML loaded in a form with dropdown 6 47
Convert complicated date to yyyy-mm-dd format 22 45
In this article, we will look at our content management system as a whole, to get an idea of how we will start to manage these content items.
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

734 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