Forum Moderators: phranque
i would like to redirect directory (with it pages) to subdomain (with similairs pages) i used this code :
RewriteCond %{HTTP_HOST} ^example.com/dossier/\$ [NC]
RewriteRule ^(.*) [dossier.example.com...] [R=301,L]
but it didn't work
help me pls
thx in advance
Many of the answers to questions like these can be found with a simple site search [webmasterworld.com]. Here is one that seems to answer your question.
redirect from directory to subdomain [webmasterworld.com]