RewriteEngine on Options +FollowSymlinks RewriteCond %{REQUEST_URI} !^.*\.php$ RewriteRule ^/([^/\.]+)/?$ /index.php?page=$1 [L]