Ok, so I have a page.php placed on www.example.com/test that I want to rewrite to www.example.com/test/page/id ( from www.example.com/test/page.php?page=id )
I added this simple .htaccess and everything's fine so far
Options +FollowSymLinks
RewriteEngine on
RewriteRule page/(.*)/ page.php?page=$1
RewriteRule page/(.*) page.php?page=$1
The thing though is that I also want to redirect example.com/test/page/id to www.example.com/test/page/id
Is this possible to do? I tried adding a RewriteCond but it messed it up more.
Thanks in advance