I want to add a subdomain (with php or htaccess) to all my new WordPress sites in a WP MU.
For example I have installed WordPress MU on:
when adding a new site in the network to be:
I don't want to create a new user or WordPress Installation/domain mapping. Please Help!
if you are moving the multi-site from mydomain.com => demo.mydomain.com
this search&replace tool comes handy:
(this script can handle multiply nested serializations)
I don't want to move the site to demo.mydomain.com That's why I'm asking.
ok, my first idea was to move mydomain.com to demo.mydomain.com
and then use the domain mapping only on the blog_id=1 (mydomain.com)
- but looks like you don't want to go that path ;-)
Abdelhadi Touil answers:
If your Wordpress MU installed on mydomain.com, so new added websites will be mydomain.com/website1 or website1.mydomain.com, and not demo.mydomain.com/website1 or forums.mydomain.com/website2 like in your question.
Can you explain more you problem plz?
Sure! I may post some free themes for download on the website: mydomain.com and for every WordPress theme I want to create a demo site: demo.mydomain/theme1.
I don't want to create a new WordPress installation in demo.mydomain.com, because I will have to log in twice for the first site and the the second subdomain site.
*I want to create a demo site: demo.mydomain.com/theme1.