Hi all,
I want to use my custom taxonomy (mytaxonomy) as subdomain of domain.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 ^/(.*) http://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' );