RewriteCond %{HTTP_HOST} =m-dev.domain.com
RewriteRule ^/?subdomain/page-to-load$ /subdomain/page-to-load-mobile [L,R=permanent]
Por favor, ajude-me a converter abaixo para uma regra modrewrite.
<If "%{HTTP_HOST} == 'm-dev.domain.com'">
Redirect "/subdomain/page-to-load" "http://m-dev.domain.com/subdomain/page-to-load-mobile"
</If>
Se não funcionar no apche 2.2, eu preciso usar o mod rewrite.
RewriteCond %{HTTP_HOST} =m-dev.domain.com
RewriteRule ^/?subdomain/page-to-load$ /subdomain/page-to-load-mobile [L,R=permanent]