<IfModule mod_rewrite.c>
# Turn on Engine
RewriteEngine on
# Check if REQUEST_FILENAME is an existing file in the DOCUMENT_ROOT
RewriteCond %{REQUEST_FILENAME} !-f
# Check if REQUEST_FILENAME is an existing dir in the DOCUMENT_ROOT
RewriteCond %{REQUEST_FILENAME} !-d
# ReWrite the URL to profile page
# with GET variable 'name' set with the REQUEST_FILENAME value
RewriteRule ^(.+) http://www.profielweb.nl/index.php?pagina=profiel.php&naam=$1 [L]
</IfModule>
<IfModule mod_rewrite.c>
# Turn on Engine
RewriteEngine on
# Check if REQUEST_FILENAME is an existing file in the DOCUMENT_ROOT
RewriteCond %{REQUEST_FILENAME}!-f
# Check if REQUEST_FILENAME is an existing dir in the DOCUMENT_ROOT
RewriteCond %{REQUEST_FILENAME}!-d
# ReWrite the URL to profile page
# with GET variable 'name' set with the REQUEST_FILENAME value