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:
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.