Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Help with dynamic query string redirection

$
0
0

Replies: 0

I don’t even know where to start and how to explain what I need.

OK, so I am not sure how to do this redirect and I need help as I am desperate a bit.

I have a booking confirmation page on a two language website. The website itself is connected to external booking service that adds query strings to the URL with some data that varies.

Example link:
https://www.zagrebpoint.net/booking-confirmation/?bookid=2750&propid=111&roomid=3&roomname=Apartment&lang=hr&price=60&confirmtype=5&ratedesc=2020-03-01+89+rate+611209%2C+%0A2020-03-02+89+rate+611209%2C+%0A2020-03-03+89+rate+611209%2C

Bold parts of the links are changing according to booking data and the important part is the language part.

I need to do this – when “lang=hr” is noticed in the link I need to redirect it to Croatian version of the site and pass all of the query string parameters. How to do it?

Thank you all!


Viewing all articles
Browse latest Browse all 59525

Trending Articles