CMS Made Simple Forums

Managing Multi Domains workaround
Page 1 of 1

Author:  pWorker [ Sat Mar 10, 2018 4:17 pm ]
Post subject:  Managing Multi Domains workaround

Hi all,

I had to combine 2 domains for specific pages of my cmsms installation (1 installation, 1databank). An easy trick is to setup domains by your webhoster to same webspace root folder. So let`s say you have domain and I placed a bit code right before the head-section in the default star page template.

{capture assign=my_baseurl}
{if $my_baseurl|strstr:"domainB"}
{redirect_page page='domainB_home'}

The only disadvantage of this is, that your start page of will be, but in my case I can live with that.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group