Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

WordPress Multisite Question, ading a subdomain with php WordPress


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:
<strong></strong> OR
I don't want to create a new user or WordPress Installation/domain mapping. Please Help!

Answers (3)


Dbranes answers:

if you are moving the multi-site from =>

this search&replace tool comes handy:

[[LINK href=""]][[/LINK]]

(this script can handle multiply nested serializations)

alexvorn2 comments:

I don't want to move the site to That's why I'm asking.

Dbranes comments:

ok, my first idea was to move to
and then use the domain mapping only on the blog_id=1 (

- but looks like you don't want to go that path ;-)


Abdelhadi Touil answers:

If your Wordpress MU installed on, so new added websites will be or, and not or like in your question.
Can you explain more you problem plz?

alexvorn2 comments:

Sure! I may post some free themes for download on the website: 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, because I will have to log in twice for the first site and the the second subdomain site.

alexvorn2 comments:

*I want to create a demo site:


Basilis Kanonidis answers:

Something like that, could help?