Hi,
Need to make a secondary site the primary site in MSM, site.com/en to site.com?
any help?
Thanks
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
August 26, 2011 12:56pm
Subscribe [1]#1 / Aug 26, 2011 12:56pm
Hi,
Need to make a secondary site the primary site in MSM, site.com/en to site.com?
any help?
Thanks
#2 / Aug 26, 2011 8:35pm
Hey lincolnpixel,
The best way would depend on your needs. Are you just needing for example site 2 to appear as the main site at the domain? Or do you have some need for the site id’s to actually be switched?
#3 / Aug 26, 2011 8:42pm
Thanks Derek,
just… site 2 to appear as the main site at the domain, though site 2 have urls like this site.com/en
en is the folder in which i’ve the duplicated index.php and admin.php
clear enough?
Thanks
#4 / Aug 26, 2011 8:47pm
All it sounds like you need to do then is modify the index.php file in the main domain to tell it which site to use, and to modify the Site URL setting of Site 2 to reflect its new home. If you have any other preferences where you have specified a URL that will change as a result of this, you will need to update those settings as well.
http://ellislab.com/expressionengine/user-guide/cp/sites/domainsetup.html
#5 / Aug 26, 2011 9:19pm
Thanks Derek! got it working.
THANKS
#6 / Aug 26, 2011 9:21pm
Glad to help!