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

  • REFUNDED

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:
<strong>mydomain.com</strong>
when adding a new site in the network to be:
<strong>demo.mydomain.com/newsite1</strong> OR
<strong>forums.mydomain.com/newsite2</strong>.
I don't want to create a new user or WordPress Installation/domain mapping. Please Help!

Answers (3)

2012-08-14

Dbranes answers:

if you are moving the multi-site from mydomain.com => demo.mydomain.com

this search&replace tool comes handy:

[[LINK href="http://interconnectit.com/124/search-and-replace-for-wordpress-databases/"]]http://interconnectit.com/124/search-and-replace-for-wordpress-databases/[[/LINK]]

(this script can handle multiply nested serializations)


alexvorn2 comments:

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


Dbranes comments:

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 ;-)

2012-08-14

Abdelhadi Touil answers:

Hi.
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?


alexvorn2 comments:

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.




alexvorn2 comments:

*I want to create a demo site: demo.mydomain.com/theme1.

2012-08-14

Basilis Kanonidis answers:

http://wordpress.org/extend/plugins/demo-mode/


Something like that, could help?