RewriteEngine On
RewriteBase /
# get url
RewriteCond %{QUERY_STRING} ^(?:.*&)?url=([^&]+) [NC]
# use this url to create request with [P]
RewriteRule ^(.*)$ %1? [P,L]
