Redirect to home after login on v1.3.6

This topic contains 8 replies, has 2 voices, and was last updated by  deanbarrow 9 years, 7 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #29503

    deanbarrow
    Buyer
    Post count: 17

    Hi,

    As a follow up to the below thread, after browsing /add-listing then logging in, I get redirected to the home page instead of back to the /add-listing page.

    https://wpgeodirectory.com/support/topic/upgrade-to-1-3-5-redirect-to-create-advert-not-working/#post-29497

    Any suggestions?

    Thanks

    #29504

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Please post a link to your site so i can test, wp-admin details would also help my try and eliminate the problem.

    (click “set as private reply” so only staff can see it)

    Thanks,

    Stiofan

    #29512

    deanbarrow
    Buyer
    Post count: 17
    This reply has been marked as private.
    #29515

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    The website address would help too 🙂

    What page do u see the JS error on?

    Stiofan

    #29519

    deanbarrow
    Buyer
    Post count: 17
    This reply has been marked as private.
    #29530

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    OK this was my bad, i tested the new user registration redirect so much i forgot to test the normal user login, i have fixed this now and it will be in the next version.

    to fix now u can edit geodirectory-functions/signup_function.php line 490
    add just below the /////////////////////////

    
    
    if(isset($_REQUEST['redirect_add_listing']) ){
    				$_REQUEST['redirect_to'] = $_REQUEST['redirect_add_listing'];
    			}

    Thanks,

    Stiofan

    #29546

    deanbarrow
    Buyer
    Post count: 17

    Works perfectly now, thanks for the quick response.

    #29548

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Your welcome! Thanks for the feedback 🙂

    #30509

    deanbarrow
    Buyer
    Post count: 17

    I’ve noticed that if the referring url is set and you sign up for a new account, it dumps you at the sign up page with no success message to say the account has been created.
    If I then log in with the credentials I just supplied, I am then forwarded to the entry form.
    Ideally this should forward me straight to the entry form without having to log in.

    Can you check this?
    I’ve got the option enabled to allow the user to set a password.

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

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

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount