RewriteEngine On
RewriteCond %{REQUEST_FILENAME}!-f
RewriteCond %{REQUEST_FILENAME}!-d
RewriteRule ^blog/([a-z0-9-]+)$ blog_detail.php?slug=$1 [L,QSA]
RewriteRule ^blog/category/([a-z0-9-]+)$ blog.php?category=$1 [L,QSA]
RewriteRule ^sitemap\.xml$ sitemap.php [L]
