Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
170 views
in Q2A Core by
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
by

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.

...