I am currently using this to rewrite URLS:
RewriteEngine on RewriteRule ^([^/?\.]+)$ /page.php?name=$1 [NC]
So mysite.com/home chatting to mysite.com/page.php?name=home
How can I do this also rewrite mysite.com/home?param=value to mysite.com/page.php?name=home¶m=value ? Ideally, I would like this to work for any pairs with number names / values.
Am I missing something obvious?
source share