Redirect URL truncated after Login

This topic contains 21 replies, has 5 voices, and was last updated by  Alex Rollin 5 months, 1 week ago.

  • Author
    Posts
  • #5122

    tradingbasics
    Buyer
    Post count: 45

    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: 45
    This reply has been marked as private.
    #5125

    Alex Rollin
    Moderator
    Post count: 25405

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

    #5127

    tradingbasics
    Buyer
    Post count: 45

    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: 25405
    #5129

    tradingbasics
    Buyer
    Post count: 45

    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: 25405
    This reply has been marked as private.
    #5134

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

    Alex Rollin
    Moderator
    Post count: 25405

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

    #5138

    tradingbasics
    Buyer
    Post count: 45

    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: 45

    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: 31194

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

    Thanks

    #5141

    tradingbasics
    Buyer
    Post count: 45

    Thank you.

    #5142

    Patrik
    Moderator
    Post count: 1789
    This reply has been marked as private.
    #5143

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

The topic ‘Redirect URL truncated after Login’ is closed to new replies, this may be for inactivity, please open a new topic if you have a similar question.