• Resolved daraz34

    (@daraz34)


    Hello,
    I need your help.

    I need to redirect to the destination page only if the user comes from a specific page

    For example, if the user goes to the page from the / registration page, he will see the /xyz page, but if he pastes the address https://www.start.com/xyz into the browser or goes to the page from another subpage, he will be directed to home page.

    I tried to do this by adding Match: URL and custom filter, but I don’t know what filter to add for the function to work as I would like.

    Thank you very much for your reply and best regards.

    Matthew

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author John Godley

    (@johnny5)

    How do you know which page they came from?

    You can try and use the browser referrer, but this is not guaranteed to be sent:

    https://redirection.me/support/matching-redirects/

    Otherwise you will need to pass the original page in the URL.

    Thread Starter daraz34

    (@daraz34)

    Thanks, John for a reply.

    I wanted to make a blanked page with the address x and redirect it to the y page. But if someone copies the URL of the Y page and wants to paste it into the browser, then there will be false argument and go back to the home page.

    My goal is to create a one-time path. So that the user will not be able to copy the URL and send it to other users because it is to be a product card for a free product

    Plugin Author John Godley

    (@johnny5)

    I don’t think you should rely on URLs for this. It’s probably not going to be the most robust or secure method. If you are comfortable with code then you can probably create your own setup, but otherwise I would look for something that is designed specifically for this kind of situation.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Redirecting to the destination page only if the user comes from a specific page’ is closed to new replies.