Skip Navigation

[Resolved] The login redirect url in the login form shortcode isn't working

This support ticket is created 4 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Our next available supporter will start replying to tickets in about 0.41 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

Tagged: 

This topic contains 11 replies, has 2 voices.

Last updated by nickH-5 4 years, 9 months ago.

Assisted by: Nigel.

Author
Posts
#1468755

I am trying to: redirect a user to a page following successful login

Link to a page where the issue can be seen: hidden link

I expected to see: redirect to the page hidden link

Instead, I got: a redirect to the WP dashboard

I am using the following shortcode : [wpv-login-form redirect_url="hidden link"]

#1469283

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Can you check whether this happens on a minimal installation?

Your Prevent Direct Access plugin, for example, I could imagine conflicts arising from that.

Disable all plugins except for Views and switch theme to twentynineteen and test again. If it then works, it should be possible to identify the source of any conflict by a process of elimination.

#1470591

I have disabled all plugins except Wordfence, Toolset and Updraft and set the theme to 2020. The issue still exists.

The issue also exists on the logout link on homepage.

I can give you access as admin but in the meantime you can verify the issue by creating a subscriber user from the homepage.

#1470727

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

In that case can I get a copy of your site for testing?

hidden link

You can paste a link to dropbox or similar here, it won't be visible to other users.

#1471087

I have created the package. It is here hidden link

I will need to give you admin account details?

#1471111

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Screenshot 2020-01-21 at 13.37.38.png

I don't need those, but I do need the duplicator packages.

Dropbox says that's an empty folder, could you double-check where you uploaded the package files?

#1471509

Apologies; they had dropped into the wrong folder; they should be there now

#1471619

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Thanks for that.

In installed the site locally, and when I tested with *all* plugins disabled except for Toolset plugins, it worked as expected.

Maybe your security plugin—WordFence—is intervening here.

Can you disable that and test again?

#1475197

I have just tested with all plugins except Toolset disabled and I have the same issue on my site

#1476279

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Can I check some of the settings on your site to see if I can spot anything?

Let me mark your next reply as private so that I can get log-in credentials from you—you may want to create a temporary admin user for me to use that you can later delete. And be sure to have a current backup of your site.

#1482945

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Nick

The URL you specify for the redirect is hidden link but your site URL is hidden link (no www).

#1485185

My issue is resolved now. Thank you!