
Options +FollowSymLinks
RewriteEngine On
#RewriteCond %{REQUEST_FILENAME} !-f


RewriteRule ^([A-Za-z0-9]+)$ page.php?user=$1 [L]

#RewriteCond %{REQUEST_FILENAME}.html -f

RewriteRule ^details/([A-Za-z0-9_-]+)/([A-Za-z0-9_-]+)/([A-Za-z0-9_-]+)$ details.php?id=$1&generated=$2&locations=$3


RewriteCond %{THE_REQUEST} (.*)\.php
RewriteRule ^(.*)\.php $1.html [R=301,L]

RewriteCond %{THE_REQUEST} (.*)\.html
RewriteRule ^(.*)\.html $1.php [L]