Facebook Login redirecting to admin
-
So I recently had to change the subdomain of my website.
However, ever since I changed the domain, when I login with Facebook the redirection is completely wrong, it’s going to the admin now instead of the homepage like before.
What I do to change the redirection is I jquery edit the facebook button link to this:
I couldn’t find a setting anywhere in the WordPress Social Login settings on WordPress admin menu to change the redirection so that’s the only thing I can do, but it’s still going to the dashboard after I login with Facebook. Why??
I changed the wp-config settings to match the new subdomain:
define(‘WP_HOME’,’https://myproject.newsubdomain.domain.com’);
define(‘WP_SITEURL’,’https://myproject.newsubdomain.domain.com’);I changed my Facebook App settings too:
============================================
Settings > Basic
—
Site URL:
https://myproject.newsubdomain.domain.com/
============================================
Settings > Advanced
—
Valid OAuth redirect URIs:
https://myproject.newsubdomain.domain.com/homeWORDPRESS SOCIAL LOGIN VERSION 2.3.3
So what’s going on? It should go to /home, not /wp-admin !!
- The topic ‘Facebook Login redirecting to admin’ is closed to new replies.