Managing Multi Domains workaround

Do something cool with CMS? Show us ...
This board is for 'Answers', and the discussion of answers... Not for questions.
Post Reply
Forum Members
Forum Members
Posts: 48
Joined: Wed Aug 31, 2016 1:30 pm

Managing Multi Domains workaround

Post by pWorker »

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.

Code: Select all

{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.
Post Reply

Return to “Tips and Tricks”