New User Registration Redirect

Discussion in 'GeoCraft WordPress Theme' started by spoonboy90, Jul 15, 2013.

Thread Status:
Not open for further replies.
  1. spoonboy90

    spoonboy90 Active Member

    Joined:
    Dec 20, 2012
    Messages:
    289
    Likes Received:
    28
    Location:
    Stoke-on-Trent, Staffordshire. UK
    I'd like the user to be redirected to the submit-listing page rather than back to the homepage once they have registered a new account is this possible?
     
    duri_90 likes this.
  2. tasburyjr

    tasburyjr Member

    Joined:
    Jul 20, 2013
    Messages:
    44
    Likes Received:
    4
    I would also like to know a way to do this. Conversion rate will go up if it redirects to Submit Listing Page.
     
  3. spoonboy90

    spoonboy90 Active Member

    Joined:
    Dec 20, 2012
    Messages:
    289
    Likes Received:
    28
    Location:
    Stoke-on-Trent, Staffordshire. UK
    Thats my primary reason for wanting this change, I notice a lot of people signing up but not listing and believe this to be a big factor
     
  4. duri_90

    duri_90 New Member

    Joined:
    Jul 10, 2013
    Messages:
    23
    Likes Received:
    3
    Same question as spoonboy90 :) It's a bit confusing if the user gets redirected to the start page and nothing happens.
     
  5. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
  6. spoonboy90

    spoonboy90 Active Member

    Joined:
    Dec 20, 2012
    Messages:
    289
    Likes Received:
    28
    Location:
    Stoke-on-Trent, Staffordshire. UK
    Is it possible to let us know where the code is that currently used to direct where the user goes so I can custom something, i've made a lot of changes and will be unlikely to update the entire theme again!
     
  7. duri_90

    duri_90 New Member

    Joined:
    Jul 10, 2013
    Messages:
    23
    Likes Received:
    3
    Yes, same here!
     
  8. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    For this go to the
    geocrafttheme\library\front_end\registration.php
    And customize it.

    But if you can wait then i will provide you exact file names which are edited while theme update.
    So there is no need to update whole theme.
     
    jsal2 likes this.
  9. spoonboy90

    spoonboy90 Active Member

    Joined:
    Dec 20, 2012
    Messages:
    289
    Likes Received:
    28
    Location:
    Stoke-on-Trent, Staffordshire. UK
    Thank You Nitesh

    for those interested replace line 6 (line number may vary with editor) from

    Code:
     $success_redirect = site_url();
    to

    Code:
      $success_redirect = site_url('/submit-listing/');
    seems to work for me!
     
    duri_90 likes this.
  10. spoonboy90

    spoonboy90 Active Member

    Joined:
    Dec 20, 2012
    Messages:
    289
    Likes Received:
    28
    Location:
    Stoke-on-Trent, Staffordshire. UK
    Sorry I don't really see how changing that line in the registration.php file could affect the wp-login.php file. Let me know your site address and I can take a look.
     
    duri_90 likes this.
  11. duri_90

    duri_90 New Member

    Joined:
    Jul 10, 2013
    Messages:
    23
    Likes Received:
    3

    Thanks spoonboy90! Problem is already solved, it works now :) Thanks for that!
     
    spoonboy90 likes this.
Thread Status:
Not open for further replies.

Share This Page