Options +FollowSymlinks
RewriteEngine on

RewriteRule ^(.+)\.rank$ /pr.php?url=$1 [R=301,NC]