redirect with current url as parameter

#406765
Viewing 6 replies - 1 through 6 (of 6 total)
  • Prabhat
    Rank Math agency

    Hello,

    Thank you for contacting the support.

    Please set up a Regex redirection with the below values and see if that helps:

    Source: /jobs/(.*)
    Type: RegEx
    Destination: https://mysite/filter?job=https://mysite.com/jobs/$1

    In the destination URL, you’ll have to replace https://mysite/ with your actual domain.

    Let us know how that goes.

    Thank you.

    Hi Prabhat,

    Super pleased with this!

    I had to remove the slashed from the “Source URL” and the last slash from the “Destination URL for it to work but this has been a great help.

    Thank you very much for that.
    Regards
    Ian

    Hello,

    We are super happy that we could address your issue.

    If you have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

    Instead of taking the user to the URL above it goes to https://mysite.com/?job=job_listings%2Fname-of-job for the logged out user.

    Hi, I have sorted this now.
    The destination page was set to “Private” and so would not let the user access the page.

    Sorry to have wasted your time.

    Regards
    Ian

    Hello,

    Thank you for the update.

    We are glad that you have already managed to resolve this issue.

    If you have any other concerns, please don’t hesitate to contact us anytime to assist you further.

    Looking forward to helping you.

    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)

The ticket ‘redirect with current url as parameter’ is closed to new replies.