• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC

Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Managing Multi Domains workaround
PostPosted: Sat Mar 10, 2018 4:17 pm 
Forum Members
Forum Members

Joined: Wed Aug 31, 2016 1:30 pm
Posts: 48
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
http://www.domainA.com and http://www.domainB.com. 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 http://www.domainB.com will be http://www.domainB.com/home, but in my case I can live with that.

Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC

Who is online

Users browsing this forum: No registered users

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Hosting Nation - Managed CMSMS Hosting