Results 1 to 5 of 5

Thread: Redirect to registration page instead of login page.

  1. #1
    Thread Starter
    ralmoor's Avatar
    Join Date
    Feb 2013
    Location
    United States
    Posts
    88
    Thanks
    3
    Thanked 4 Times in 3 Posts

    Redirect to registration page instead of login page.

    I need some help. I have created a landing page for my listings. The landing page has the following if statement

    if ( is_user_logged_in() ) {
    echo '
    <p style="text-align: center;"><a class="buy_button" href="http://bla-bla.com/create-listing/" data-mce-="">Create a Listing</a></p>
    ';
    } else {
    echo '
    <p style="text-align: center;"><a class="buy_button" href="http://www.bla-bla.com/create-listing/" data-mce-="">Create my Account</a></p>
    ';
    }

    I need to change the redirect if they are not logged in to register instead of login. I don't think this text is very user-friendly
    You must first login or register to Create a Listing.


    I think the user experience would be much improved if they would see the registration page instead of a red warning box on the login page. Where can I change the redirect to register instead of login? Thank you

  2. #2
    zfari's Avatar
    Join Date
    May 2012
    Location
    United States
    Posts
    61
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    rvazquez's Avatar
    Join Date
    Jul 2010
    Location
    United States
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    Thread Starter
    ralmoor's Avatar
    Join Date
    Feb 2013
    Location
    United States
    Posts
    88
    Thanks
    3
    Thanked 4 Times in 3 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #5
    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. Redirect users to another page after registration
    By markovacreative in forum HireBee General Discussion
    Replies: 3
    Last Post: August 26th, 2018, 07:12 PM
  2. Redirect loop with home page and registration page
    By roblunte in forum Help Using Vantage (Legacy)
    Replies: 1
    Last Post: September 22nd, 2014, 10:36 AM
  3. Registration Page - Redirect to custom URL
    By bonshupp in forum Vantage General Discussion (Legacy)
    Replies: 17
    Last Post: July 21st, 2014, 01:24 PM
  4. Replies: 2
    Last Post: March 18th, 2013, 09:47 PM
  5. Redirect To DashBoard After Registration (or other page)
    By andry79fi in forum Clipper General Discussion
    Replies: 6
    Last Post: October 4th, 2012, 11:24 PM