Results 1 to 1 of 1

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');

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, 04:07 AM
  2. Jomark Redirect after Registration
    By facultyoc in forum Help Using JobRoller
    Replies: 1
    Last Post: May 3rd, 2013, 10:32 AM
  3. Dimitris New User Registration Redirect?
    By tbase in forum Report Vantage Bugs (Legacy)
    Replies: 14
    Last Post: January 20th, 2013, 03:54 PM
  4. Redirect after registration?
    By tyles2 in forum ClassiPress General Discussion
    Replies: 1
    Last Post: November 4th, 2011, 04:01 PM
  5. Redirect to Dashboard after Registration
    By toms in forum ClassiPress General Discussion
    Replies: 3
    Last Post: April 21st, 2011, 08:29 AM