How to setup a subdirectory site as the main site without changing the site url?
-
I have a multisite setup with 2 sub sites and 1 main site running fine as they are. However, the main site which is under mysite.com/wordpress is really a site that should be in the past.
I am helping my client to build a new landing site that is currently saved under mysite.com/wordpress/sub_B and another new site for this year’s competition which is under mysite.com/wordpress/sub_A.
Is there an easier way to setup mysite.com/wordpress/sub_B as the new landing site when user type mysite.com without having to change the site url?
The reason why I am reluctant to change the site url is because of the need to dig in the database to update the file url for some image files that was used for the current main site and to update all the links referred from the other sites.
If the only way is to change the site url, where I need to go in the database to update the file url for the image files?
For clarify sake, I am reiterating the current site structures here:
main site url is mysite.com/wordpress with two sub sites mysite.com/wordpress/sub_A & mysite.com/wordpress/sub_B.
goal is to have the site structures as this:
main site url mysite.com/wordpress that actually points to mysite.com/wordpress/sub_B instead.Thanks in advance!
- The topic ‘How to setup a subdirectory site as the main site without changing the site url?’ is closed to new replies.