Redirect URL truncated after Login

This topic contains 21 replies, has 5 voices, and was last updated by  Alex Rollin 4 days, 9 hours ago.

  • Author
    Posts
  • #5122

    tradingbasics
    Buyer
    Post count: 35

    I’m have setup predefined package URL, so user selects package from Package Comparison table, then directed to login page, once logged in then redirect Add Listing page but Selected Package value (&package_id=4) is truncated
    is it some limitation on URL length?

    #5123

    tradingbasics
    Buyer
    Post count: 35
    This reply has been marked as private.
    #5125

    Alex Rollin
    Moderator
    Post count: 20751

    you can try using just “/add-listing/?..etc” to shorten it.

    #5127

    tradingbasics
    Buyer
    Post count: 35

    If I have selected premium,When (&package_id=4)truncated from the url then it listing gets submitted as a default package after redirection, which is lower priced package. So I’m wondering if browser is removing (&package_id=4)from URL or plugin?

    #5128

    Alex Rollin
    Moderator
    Post count: 20751
    #5129

    tradingbasics
    Buyer
    Post count: 35

    Hi Alex, I tried encoding but its not helping.
    Let me try to explain.
    When a user clicks on URL (/add-listing/?listing_type=gd_place&package_id=4), it takes user to login page, after successful login add listing page does not have package_id=4 selected. If user continues to submit listing then listing gets submitted in default package which is not (package_id=4).
    In my setup package_id=4 is the package with most features.

    #5132

    Alex Rollin
    Moderator
    Post count: 20751
    This reply has been marked as private.
    #5134

    tradingbasics
    Buyer
    Post count: 35
    This reply has been marked as private.
    #5137

    Alex Rollin
    Moderator
    Post count: 20751

    Try adjusting it to your login url. I used /login but yours might be something different.

    #5138

    tradingbasics
    Buyer
    Post count: 35

    Ok, mine I changed to gd-login now it is redirecting but still removing (&package_id=4), also it introduces another issue if user is already logged in then this link redirect to account page instead of ad-listing page.

    #5139

    tradingbasics
    Buyer
    Post count: 35

    Alex, I did a quick test on my dev site (Local), I deactivated UserWP and Installed/Activated BuddyPress, then tried same scenario with BP it does not truncate (&package_id=4) from the url. I think UserWP plugin is removing (&package_id=4).

    #5140

    Paolo
    Site Admin
    Post count: 31117

    A developer has been alerted, he’ll let you know what the problem is asap.

    Thanks

    #5141

    tradingbasics
    Buyer
    Post count: 35

    Thank you.

    #5142

    patrik
    Moderator
    Post count: 1328
    This reply has been marked as private.
    #5143

    patrik
    Moderator
    Post count: 1328
    This reply has been marked as private.
Viewing 15 posts - 1 through 15 (of 22 total)

You must be logged in to reply to this topic.