Forum Moderators: phranque
I would like to see something like this:
RedirectMatch (.*)\.tar$ [thepage.nl?requestedurl=requestedurl...]
So it must redirect and send the requested url ((.*)\.tar$) with it.
Welcome to WebmasterWorld!
Try something like this:
RedirectMatch ^([^.]+)\.tar$ http://www.example.com?requestedurl=$1
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^([^.]+)\.tar$ /?requestedurl=$1 [L]