Published in : 2022-03-01
I got one task to add wordpress installation on my main domain (let's say, rubixc*****.com). my Client decided one theme for this website.
They want to use another theme for subdomain (alpha.rubixc*****.com).
Do I need to install a separate installation for subdomain? - If yes, it will be hard to manage all the subdomains (7+ subdomains) and update all the plugins, Updating SSL, testing, and too many deployments, Overall the maintenance costs will be increased!
Is there any solution to overcome this requirement?
All you need is to set up Multisite Network to your respective domain's root directory.
This is solution for “One wordpress installation for all subdomains using Multisite network”
Install wordpress to your root directory and add below comment at the bottom of “wp-config.php” file,
/* Enable Multisite using below line */ define( 'WP_ALLOW_MULTISITE', true );
Open your website and login with your WP User credentials,
After that, You can now head over to Tools > Network Setup page to configure your multisite network.
You can visit wordpress dashboard for all subdomains you want to create. You can individually manage themes plugins pages and posts.
Hope, it will work for you.
Join our community and get the chance to solve your code issues & share your opinion with usSign up Now