I has parked my domain *.itjoy.net to \webroot
how can I write the .htaccess to achieve this:
aaa.itjoy.net -> \webroot\wpmu
bbb.itjoy.net -> \webroot\wpmu
ccc
ddd
...
...
I has parked my domain *.itjoy.net to \webroot
how can I write the .htaccess to achieve this:
aaa.itjoy.net -> \webroot\wpmu
bbb.itjoy.net -> \webroot\wpmu
ccc
ddd
...
...
I believe this is not htaccess task :)
You should set home directory of every subdomain aaa.itjoy.net, bbb.itjoy.net to poin to \webroot\wpmu
Right, not an htaccess thing. you've set the widlcard in you domain, nwo you need to set it up in apache so all subdomain point to \webroot\wpmu . It's in the readme.txt file.
And there's no need to write them all out - that's why they're called wildcards.
Small clarification for itjoy.net:
aaa.itjoy.net
bbb.itjoy.net
ccc
ddd
...
can be set as
*.itjoy.net
Just in case you didn't get andrea's remark above :)
:D Thanks.
:!
my site is on lunarpages,park *.itjoy.net to /wpmu is not work.
but I have already achieve this features by adding these in .htaccess :
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{HTTP_HOST} ^(.*\.)?itjoy.net$
RewriteCond %{REQUEST_URI} !^/blogmu/
RewriteRule ^(.*)$ /blogmu/$1
and my site is normaly working on it now :)
see http://itjoy.net