mercredi 29 avril 2015

Redirect 301 with params

I am redirecting traffic between old web and new web and I need to redirect 301 from /hotel.php?hotel=lasvegas&lng=es to

How could be possible from htaccess? I have tried

Rewriterule ^hotel\.php\?hotel=lasvegas\&lng=es [L,R=301]

I think my error is at regular expression. Can anyone help me?

Aucun commentaire:

Enregistrer un commentaire