Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Subsites Main site url


Reply


392 Views

Avatar
philsbury

Community Member, 2 Posts

20 November 2012 at 10:45pm

Hi,

I'm using the subsites module (or rather a modified version of it!) and am putting my subsites in sub domains, eg:
silverstripe.com - main site
site1.silverstripe.com - sub site

in my theme, I'd like to link back to my main site, dynamically if possible. Is there a function/setting in $Site.Config that stores the main site URL?