Redirect not working
This topic contains 10 replies, has 3 voices, and was last updated by Patrik 6 years, 8 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: redirect
-
AuthorPosts
-
March 6, 2018 at 6:16 pm #1766
Hi,
I want to direct my users to a custom landing page after they register their account for the first time, and I selected the page I want to use in the settings, but it will not work. It just stays on the same registration form page. The other redirects seem to be working OK. After logging in, it goes to the account page that I want it to. I’ve tried changing it to another page, disabling it, etc. but I can’t seem to fix it. Any help would be appreciated.
Cheers
March 6, 2018 at 9:12 pm #1768We would be happy to take a look at your settings to see if we can find the problem.
Please be sure to have completed all the steps for configuration, and do check to see that your plugins are all up to date.
To allow us to examine the site, please create a private reply and include all the information listed below so we can make a complete diagnosis.
Registration URL where we can see the issue:
Redirect page URL you want to use:WordPress Credentials
WP Admin Login URL:
WP Admin Username:
WP Admin Password:FTP Credentials
FTP Host:
FTP Port:
FTP User:
FTP Password:March 6, 2018 at 9:16 pm #1769This reply has been marked as private.March 6, 2018 at 9:54 pm #1770Hello,
You have a lot of plugins installed, and one of these may very well be overriding the settings of UsersWP. You can try disabling them.
You can also try this snippet here:
https://wpgeodirectory.com/docs/redirecting-the-login-page/You can add snippets using the Code Snippets plugin.
March 6, 2018 at 10:06 pm #1771Unfortunately, the code snippet didn’t fix the issue. It still stays on the registration page. Any idea what could be affecting only the registration page and not the other pages?
March 7, 2018 at 12:48 am #1772I think I figured out the issue. It appears that in the code, it is set up to ignore the custom redirect page if “Require Email Activation” is selected. I tried to add what I thought would be the right code to change that, but I couldn’t get it to work. I’m hoping for you it’s a very quick change to make.
Here’s why I want to do this: the text included by default is generally fine, but I have a lot of users who aren’t very tech savvy, so I created the custom redirect page to give them more in-depth information about where to find the Promotions tab in Gmail and stuff like that (eventually I’ll have screenshots, etc.).
Thanks for your help!
March 7, 2018 at 12:09 pm #1775Hi Tiffany,
When registration action set to “Require Email Activation”, it will show the message above form regarding checking email for the activation link. It will not redirect to any page otherwise the user will not be able to see the message. So currently with this registration action, it is not possible to redirect the user to any other page after successful registration. It will show message only.
Regards,
PatrikMarch 7, 2018 at 2:11 pm #1776But your message doesn’t give them enough information. Please make it so I can redirect. It should be a very simple change for you to do or to tell me how to do. I’m even fine with not redirecting for a second or two so they can see your message first. Please, please, please help me with this!
March 8, 2018 at 5:35 am #1777Hi Tiffany,
I have made a minor change in the core file of plugin usersWP to redirect users to the landing page. Please review it and let me know if it works for you.
It is not possible without modifying the core file of usersWP. So I have made changes in file userswp->includes->class-forms.php on line no. 55. You have to make that change again whenever you update the plugin. Let me know if you need more information.
Regards,
PatrikMarch 8, 2018 at 6:04 pm #1778It worked–thank you so much! I knew it had to be a simple change, I just couldn’t quite figure it out. I don’t mind updating the line of code as needed. Thank you again!
March 9, 2018 at 5:07 am #1779You, welcome! I am closing this issue now.
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket