Options +FollowSymlinks RewriteEngine on rewritecond %{QUERY_STRING} ^(.*)$ rewriterule blog.php%1