Even more advanced .htaccess question

Posted by Richard on Stack Overflow See other posts from Stack Overflow or by Richard
Published on 2010-05-26T16:12:57Z Indexed on 2010/05/26 17:01 UTC
Read the original article Hit count: 141

Filed under:
|

Got a great answer earlier, but unfortunately, I didn't explain the WHOLE situation:

I need to rewrite:

blog.domainname.com/archives/YYYY/MM/postname/

and

www.blog.domainname.com/archives/YYYY/MM/postname/

to

www.domainname.com/blog/postname/

Thanks in advance!

© Stack Overflow or respective owner

Related posts about .htaccess

Related posts about mod-rewrite