Hello everyone! I have been using WP for awhile, but always as a "stand alone" site, and now am looking to make a blog as part of my main website and have been looking around for the best way to eliminate the register/login redundancy and ideally use my user date from my primary websites database for the WP installation in the easiest, and most secure, way possible. The WP blog is on the same server/in a subfolder of the main site.
I HAVE looked around for the solution before posting this, but it seems that most discussions around this topic involve sharing users between multiple WP sites rather than with a non-WP primary website.
A FEW possible options that I have found, but am not sure if will work, are the following:
A plugin (External DB Authentication) which seemed to be the ticket but apparently has not been updated for awhile and shows version 2.9.2 as the last compatible version. Are there other/better/maintained plug in alternatives to this? I couldn't find anything else that seemed as spot-on as this one.
I have read about adding `define('CUSTOM_USER_TABLE', $table_prefix.'my_users');
but do not understand if that will take care of the registration/login issue on the WP end in and of itself or not, am not sure if I HAVE to/should not use the "meta_table" if there is currently no such table in the main DB, and am not sure exactly how I am supposed to specify WHERE the other table to be used is... I have read that $table_prefix is again in reference to when multiple WP instances are on the same DB (or something like that) so don't think I need that in my case. I tested a a few things, changed it to: define('CUSTOM_USER_TABLE', custom_databasename.'custom_tablename'); and simply: define('CUSTOM_USER_TABLE', 'custom_user_table'); but neither allowed me to login with current users from my primary site.
I hope this question/request is not a nuisance, and that there isn't an OBVIOUS solution that I should have already found myself, but I am surprised that I couldn't readily find an easy step by step process for sharing users from my existing site/different database with a WP blog....
I thank you in advance for any tips and help!