Use .se and .com adresses without an enterprise license, EPiServerFramework.config to the rescue.
Yesterday I came across some features in EPiServer that i had not noticed before. We had a discussionen if we should use an enterprise solution or a site with globalization enabled.
In EPiServer CMS 6 we thougt it would be nice to use the new features for globalization like access rights for languages. But how could we solve the issue of having the same adress for all our languages but with the /sv or /en at the end for diffrent languages.
Have a look at www.episerver.com and www.episerver.se and you will se what I do not like to have In my case I would like to have www.episerver.com and www.episerver.se without a redirect to www.episerver.com/sv for the swedish content. I also would like to have the same structure and no enterprise license.
The solution is to start use the EPiServerFramework.config file. First we need to setup the IIS. Add you diffrent site bindings for the site in my case i use test.se and test.com for a standard Alloysite.
When you are done with that you have to change your host-file, if you are working locally of course..
Next you change the episerver.config to respond on test.com in the siteUrl. Finally we need to do the magic in EPiServerFramework.config.
The changes that you will need to do look like this:
<siteHostMapping>
<siteHosts siteId="Alloy">
<add name="*" />
<add name="test.com" />
<add name="test.se" language="sv" />
</siteHosts>
</siteHostMapping>
If this solution is ok or not regarding licenses is something for someone else to answer
Update: The configuration made in the EPiServerFramework.config is able to do in Admin mode > config > [click the siteID]. Thank you David Knipe
Comments