use custom taxonomy as subdomain
-
Hi all,
I want to use my custom taxonomy (
mytaxonomy
) as subdomain ofdomain.com
but I don’t want to use the multisites option. I try this but without any result…I have a wildcard DNS and had a vhost redirect for the subdomain
mytaxonomy.domain.com
like this :RewriteEngine on RewriteRule ^/(.*) https://www.domain.com/mytaxonomy/$1 [L]
and use this class in the wordpress installation of domain.com named class.rewritetax.php in the
inc
folder:[Code moderated as per the Forum Rules. Please use the pastebin]
And of course this in my
functions.php
require( TEMPLATEPATH . '/inc/class.rewritetax.php' );
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘use custom taxonomy as subdomain’ is closed to new replies.