Forum Moderators: phranque
[mydomain.com...]
to
[mydomain.com...]
It would also need to be able to accept all variables not only limited to "s".
Thanks.
Sam
you can try the folowing below:
RewriteCond %{query_string} s=(.*)
RewriteRule ^.*search$ /search.php?s=%1 [L]
This simply serves /search.php whenever "search" is requested with one argument in the query string
You may need to add the directive Options +FollowSymLinks ahead of your RewriteEngine on directive as per below:
Options +FollowSymLinks
RewriteEngine on