Need some help coming up with a rewrite rule.
I want to take this URL: google.com/main?url=888888888888888888888&ablock=
And rewrite it to this: google.com/main.php?url=8888888888888888888888&ablock=
I thought this code would work but it is not passing the arguments properly:
RewriteRule ^main?$ block.php$1 [QSA]
Any suggestions?