Results 1 to 2 of 2

Thread: redirect after registration

  1. #1
    Thread Starter
    epbitservices's Avatar
    Join Date
    Sep 2013
    Location
    India
    Posts
    16
    Thanks
    1
    Thanked 0 Times in 0 Posts

    redirect after registration

    when a new user want to create listing he redirects to login page and after registration he redirects to home page......
    but i want when new user register he will redirect to create listing page....

    i have done in login template page (form-login.php) like below but not working..

    function redirect_to_front_page() {
    global $redirect_to;
    if (!isset($_GET['redirect_to']))
    {
    $redirect_to = ‘http://mysite/create-listing’;
    } }
    add_action('login_form', 'redirect_to_front_page');

  2. #2
    dimitris's Avatar
    Join Date
    Oct 2011
    Location
    Earth
    Posts
    20,617
    Thanks
    222
    Thanked 1,873 Times in 1,770 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] User Registration/Login Redirect
    By rabbitrabbit in forum Help Using Vantage (Legacy)
    Replies: 3
    Last Post: July 31st, 2013, 05:07 AM
  2. Jomark Redirect after Registration
    By facultyoc in forum Help Using JobRoller
    Replies: 1
    Last Post: May 3rd, 2013, 11:32 AM
  3. Dimitris New User Registration Redirect?
    By tbase in forum Report Vantage Bugs (Legacy)
    Replies: 14
    Last Post: January 20th, 2013, 04:54 PM
  4. Redirect after registration?
    By tyles2 in forum ClassiPress General Discussion
    Replies: 1
    Last Post: November 4th, 2011, 05:01 PM
  5. Redirect to Dashboard after Registration
    By toms in forum ClassiPress General Discussion
    Replies: 3
    Last Post: April 21st, 2011, 09:29 AM