Redirect not working

This topic contains 10 replies, has 3 voices, and was last updated by  Patrik 6 years, 1 month ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #1766

    Tiffany Zachry
    Buyer
    Post count: 7

    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

    #1768

    Alex Rollin
    Moderator
    Post count: 27815

    We 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:

    #1769

    Tiffany Zachry
    Buyer
    Post count: 7
    This reply has been marked as private.
    #1770

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    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.

    #1771

    Tiffany Zachry
    Buyer
    Post count: 7

    Unfortunately, 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?

    #1772

    Tiffany Zachry
    Buyer
    Post count: 7

    I 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!

    #1775

    Patrik
    Moderator
    Post count: 1971

    Hi 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,
    Patrik

    #1776

    Tiffany Zachry
    Buyer
    Post count: 7

    But 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!

    #1777

    Patrik
    Moderator
    Post count: 1971

    Hi 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,
    Patrik

    #1778

    Tiffany Zachry
    Buyer
    Post count: 7

    It 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!

    #1779

    Patrik
    Moderator
    Post count: 1971

    You, welcome! I am closing this issue now.

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket