View Single Post
chucker
 
Join Date: May 2004
Location: near Bremen, Germany
Send a message via ICQ to chucker Send a message via AIM to chucker Send a message via MSN to chucker Send a message via Yahoo to chucker Send a message via Skype™ to chucker 
2021-09-29, 15:25

My Apache is a little rusty, but don't you want

RewriteRule ^(.*)$ https://subdomain.domain.com/$1 [R=301,L]

The RewriteCond (condition) is what the URL should match; the RewriteRule is what to do with it. So it should look like the result.
  quote