Redirect Problem
-
Hello, I found your plugin this morning, I’ve read a fair amount of the docs, but I’m still running into a couple problems, any help would be appreciated.
First, let me briefly explain my setup… I have various pages I would like to protect, and some not, which I have individually disabled protection.
I opted for separate login and registration pages, I disabled registration when the form loads on protected pages without being logged in.
I have a login page called /login with the following shortcode
[wpmem_form login redirect_to=”/welcome-to-the-course”]I have a registration page called /register with the following shortcode
[wpmem_form register]I have a profile page called /profile
I have assigned all 3 pages accordingly in the plugin settings.
The page /welcome-to-the-course is the first page I want users to see when logging in.
Now the problems;
1. Upon registering I see the success message, and the login form appears, all good to this point. But when I login, immediately after registering, I am not redirected to /welcome-to-the-course as per the shortcode above, I remain on the registration page, i.e. /register … wondering why it is not redirecting like all other login forms/actions?
2. When I receive the welcome email, the link to the login page is wrong, it appears as;
https://example.com/register/
It should really be;
https://example.com/login/Thanks for building a really nice piece of software!
EDIT
Heads up, forgot to mention that your contact form on your site is not functioning
- The topic ‘Redirect Problem’ is closed to new replies.