0

I'm trying to redirect all pages containing "?s=&check_in="

Example: /?s=&check_in=Sun%2C+04+Sep+2022&check_out=Wed%2C+07+Sep+2022&amount=1&guests=1+Adult&adult=1&children=0&infant=0

To the same new page.

I've added the following to htaccess.

RewriteEngine On
RewriteRule ^s=&check_in=(.*)$ https://app.thebookingbutton.com/properties/Hotel [R=301,L]

It does not work. Please advice.

anubhava
  • 761,203
  • 64
  • 569
  • 643

0 Answers0