Override Default WordPress Network Add New Site URL

We need to find how the Edit Site page -> Settings tab -> Siteurl field string is generated.Add New Site page, network/site-new.php, “Site Address” if adding a subdomain, will appear in the Edit Site page -> Info tab -> “Domain” field and Settings tab -> “Home” field

The form:
Siteurl field in html is id=”siteurl“, site-settings.php?id=siteid builds the url
Posts to itself?action=add-site

base siteurl existed in
obj WP_Admin_Bar->user->blogs->1-siteurl == “http://4assistance.com/wpress”
obj active_blog->siteurl, COULD we use active_blog->path, yes if it doesn’t break main site by adding it there.

 

Leave a comment

Your email address will not be published. Required fields are marked *

3 + 7 =