<IfModule mod_rewrite.c>
RewriteEngine On
# Uncomment bellow line in case of Internat Server Error 500 (for example 1&1 hosting)
# RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?link=$1 [L]
</IfModule>