RewriteEngine On
RewriteBase /blog/

# Route slug URLs to post.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-z0-9\-]+)/?$ /blog/post.php [L,QSA]
