Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

Wordpress integration to an existing q2a websitr

+2 votes
asked Aug 15, 2017 in Q2A Core by fara
I have a q2a site in mysite.com/qa and wordpress in mysite.com seperately.

Now I tried integrate wordpress to q2a. Everything works fine(people could register and login) except the existing users  in q2a are not exist in wordpress login.

Could anyone help please?
Q2A version: 1.7.1

1 Answer

+1 vote
answered Aug 15, 2017 by Scott

If you started the Q2A site before the Wordpress site it's difficult to then integrate using WP's login system. The only way is to move the users across to the WP users table, then let them all reset their passwords so their logins work with WP.

You could do it manually if there are not many or run a SQL query something like the following...

INSERT INTO wp_users (<fields>) SELECT <fields> FROM qa_users

...where <fields> is replaced by the appropriate fields in each table, e.g. 'username' in wp_users and 'handle' in qa_users.