Multisite subdomain microsite on secondary domain

After you create the sub-site, go into the Site Settings (via the Network Admin) and change the URL for the sub-site to https://event2.domain.com . That’s the same way that you would assign another domain name to a sub-site. For example, if the main site is www.domain.com, sub-site 1 would be www.domain.com/subsiteone (you decided the subfolder … Read more

Iterating over every multisite / theme and list the pages

due to Rick Hellewells comment I could write a code, which iterates over every blog (as a blog is a new mulitiste site) and outputs it’s site on plugin activation. See this link: https://wisdmlabs.com/blog/how-to-list-posts-from-all-blogs-on-wordpress-multisite/ As every site has it’s own theme, the $temp variable can hold the wp_get_theme command (you could also extract the site’s … Read more

Map WP Multisite blog.example.com to anotherdomain.com/blog?

You can set up Caddy to reverse proxy requests to the Multisite installation: In your Caddyfile, add a reverse_proxy directive for the Multisite: somedomain.com/blog { reverse_proxy blog.example.com } This will forward all requests to somedomain.com/blog to the Multisite installation at blog.example.com. Next, update the WordPress Multisite configuration to use the new domain: In your WordPress … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)