i have a blog, and im moving it to a subdomain. since the URL sintaxis won't be the same, i just want to redirect all url requests that are inside /posts/ to the new subdomain:
from
domain.com/posts/xxxxx
to
blog.domain.com
this is what i have so far, but it still has to filter only the requests that are inside /posts/
RewriteCond %{HTTP_HOST} ^domain.com
RewriteRule (.*) http://blog.domain.com/ [R=301,L]