I have the following in my .htaccess
file
RewriteRule ^post/(.*)$ index.php?post=$1 [NC]
RewriteRule ^(.*)$ index.php?page=$1 [NC]
I expect it to rewrite (for example) mysite.com/x
to mysite.com/index.php?page=x
, with the exception of mysite.com/post/x
rewritten to mysite.com/index.php?post=x
, however it doesn't work.