Login not redirecting to custom url

Viewing 4 posts - 1 through 4 (of 4 total)
#142608

Ram K
Participant

Hi Team ,

The redirect parameter of the url is not working

[wpdm_login_form logo="Logo Image URL" redirect="https://google.com" ]

So here example I need it to redirect to google.com after login(just as an example)

The requirement is we have multiple download pages based on category. So if we click a page if not logged in we get form on pop up login form. And on click it go to the clicked page. So I tried to give the clicked page as redirect.

Thanks,

#142620

Nayeem Riddhi
Moderator

Please, give your temporary wp-admin login details in a private reply for checking the issue.

Thanks

#142625

Ram K
Participant
This reply has been marked as private.
#143627

Nayeem Riddhi
Moderator

Sorry for some late, it is working now, I have commented out in line number 134 from download-manager\libs\class.Shortcodes.php file,
if (isset($up['host']) && $up['host'] != $_SERVER['SERVER_NAME']) $log_redirect = $_SERVER['REQUEST_URI'];

I have tested here, https://mystagingdomain.com/UnderProgress/rair/test-download/

thanks

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Login not redirecting to custom url’ is closed to new replies.