#RewriteCond %{HTTPS} !=on
#RewriteRule ^/?(.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]

RewriteEngine on
RewriteRule ^([a-z,0-9,A-Z,_-]+)$ index.php?id=$1
RewriteRule ^([a-z,0-9,A-Z,_-]+)(/)?$ index.php?id=$1