Login not redirecting to custom url

in Download Manager Free

Viewing 4 posts - 1 through 4 (of 4 total)
Dec 10, 2020 at 8:09 am
#142608
Participant
Ram K
OP

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,

Dec 10, 2020 at 9:51 am
#142620
Moderator
Nayeem Riddhi
Staff

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

Thanks

Dec 10, 2020 at 11:14 am
#142625
Participant
Ram K
OP
This reply has been marked as private.
Dec 26, 2020 at 1:13 pm
#143627
Moderator
Nayeem Riddhi
Staff

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.