Hi, Ok, then we must not understand your problem, because when connecting to your web site, we get redirected to another page (not http://99carat.com/?oa_social_login_source=shortcode), where our logged in status is displayed. We can't show a screenshot because the site is not responding now.
Hi, It looks as if the redirect URL is being removed. It could be one of several plugins. Maybe we can debug this by adding the following logging information: function log_redirection ($url)
{
global $wp_filter;
error_log ('registered redirect actions: '. print_r ($wp_filter['login_redirect'], TRUE));
error_log ('redirect url: '. print_r ($url, TRUE));
return $url;
}
add_filter ('login_redirect', 'log_redirection', 100); You may need to enable, temporarily, logging, as (https://codex.wordpress.org/Debugging_in_WordPress), in wp-config.php: define('WP_DEBUG', true); define('WP_DEBUG_LOG', true); define('WP_DEBUG_DISPLAY', false);
Hi, Looks like a plugin called "pmpro" is clearing out the redirection url. This is interrupting the Social Login redirection, needed to complete the user login process. To test this, either disable pmpro, or change it's configuration to remove it's redirection. Maybe you can set some exceptions to pmpro's redirection processing to let the Social Login's alone (that can be added in, but a bit of a hack).
Answers
We have tried your web site, and the URL is not the shortcode one.
Do you still experience the problem?
Regards.
Ok, then we must not understand your problem, because when connecting to your web site, we get redirected to another page (not http://99carat.com/?oa_social_login_source=shortcode), where our logged in status is displayed. We can't show a screenshot because the site is not responding now.
My redirect setting . still not working.
It looks as if the redirect URL is being removed.
It could be one of several plugins.
Maybe we can debug this by adding the following logging information:
function log_redirection ($url) { global $wp_filter; error_log ('registered redirect actions: '. print_r ($wp_filter['login_redirect'], TRUE)); error_log ('redirect url: '. print_r ($url, TRUE)); return $url; } add_filter ('login_redirect', 'log_redirection', 100);
You may need to enable, temporarily, logging, as (https://codex.wordpress.org/Debugging_in_WordPress), in wp-config.php:
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
Thanks.
This is what's in the errorlog.
registered redirect actions: Array\n(\n [10] => Array\n (\n [pmpro_login_redirect] => Array\n (\n [function] => pmpro_login_redirect\n [accepted_args] => 3\n )\n\n )\n\n [100] => Array\n (\n [log_redirection] => Array\n (\n [function] => log_redirection\n [accepted_args] => 1\n )\n\n )\n\n)\n, referer: http://apbanker.api.oneall.com/socialize/redirect.html?provider_connection_token=46f7827d-681f-4422-8eb6-914edd5c3b5b
redirect url: , referer: http://apbanker.api.oneall.com/socialize/redirect.html?provider_connection_token=46f7827d-681f-4422-8eb6-914edd5c3b5b
Looks like a plugin called "pmpro" is clearing out the redirection url.
This is interrupting the Social Login redirection, needed to complete the user login process.
To test this, either disable pmpro, or change it's configuration to remove it's redirection.
Maybe you can set some exceptions to pmpro's redirection processing to let the Social Login's alone (that can be added in, but a bit of a hack).
Hope this helps.