samedi 21 décembre 2019

Escape "?" in htaccess

Im trying to make a redirect of.

RewriteRule ^search?q=([a-zA-Z0-9]+) home.php?view=search?q=$1 [NC]

But it's not working it has something to do with the "?" though cause when I remove the "?" from ^search?q=([a-zA-Z0-9]+) it do redirect but when it is there I get a 404 error. How do I fix this?




Aucun commentaire:

Enregistrer un commentaire