• For whatever reason, the plugin does not redirect after login/register. I’ve tried most things but none worked. Help?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • I have the same issue: https:www.mitta.hu

    Plugin Author xootix

    (@xootix)

    Some other plugin might be controlling the redirect URL.
    Try adding this code to your functions.php

    //redirect filter
    function xoo_el_cu_redirect( $redirect ){
    	$redirect = $_SERVER['REQUEST_URI']; //same page
    	//$redirect = 'www.myurl.com';
    	return $redirect;
    }
    add_filter( 'xoo_el_registration_redirect', 'xoo_el_cu_redirect' );
    add_filter( 'xoo_el_login_redirect', 'xoo_el_cu_redirect' );
    
    Thread Starter hiddencrow09

    (@hiddencrow09)

    Thanks for the quick reply!.
    I’ve added the code to my functions.php, and the plugin now redirects. Issue is, it sends me to wp-admin/admin-ajax.php with just a blank page and a 0.
    I understand Wordfence might be causing the issue. So I deactivated it and it did not help. I’m also using Hummingbird and Smush Pro, in case those two plugins might be doing something.
    The plugin broke randomly, it worked before with those plugins.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Not redirecting’ is closed to new replies.