Hi all I want to use sub domain for my taxonomy like that :
http://taxonomy.domain.com/apple map to http://www.domain.com/taxonomy/apple
I add this to my vhost
RewriteCond %{HTTP_HOST} ^taxonomy.domain.com [NC]
RewriteRule ^/(.*)$ http://www.domain.com/taxonomy/$1 [L]
And add a wildcard to my dns configuration.
The redirection works but I want to use only rewrite but not redirection. So I want to use the target page but still have the subdomain url.
So taxonomy.domain.com/apple is map but not redirect to the taxonomy url
Any help?
thanks in advance
Do you have the line
Options +FollowSymlinks
defined in the .htaccess file before your rewrite rules?If so, remove it. If not, add it.