http://blog.domain.com/year/month/title.html
New structure is:
http://domain.com/blog/year/month/title/
What I've got in .htaccess is:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^blog\.cooklikeyourgrandmother\.com
RewriteRule ^http://blog\.(.*)\.html$ http://cooklikeyourgrandmother\.com/blog/$1/ [R=301,L]
Does that look right? And second, if there is already another rewrite block, do I need to repeat the "RewriteEngine On" directive? In other words, should it be:
RewriteEngine On
condition
condition
rule 1
condition
rule 2
or
RewriteEngine On
condition
condition
rule 1
RewriteEngine On
condition
rule 2