Sub domain redirection to taxonomy

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

Read More

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

Related posts

Leave a Reply

1 comment