Different sites for different countries

Topics: Customizing Orchard, General
Sep 3, 2012 at 11:35 AM

What is the best way to handle country specific sites in Orchard? This isn't just a language thing as my initial countries will be English speaking.

If I want to have slightly different content if I am in the US as opposed to the UK how do I achieve it. Ideally I would have a little country selector icon in the top right corner, perhaps some sniffing of IP or browser info to determine the initial selection for the user.

Also I might have different URLs for the different country sites, mysite.co.uk for UK, mysite.com for US etc.

Can this all be done in a single Orchard instance or do I need to have separate web sites?

Coordinator
Sep 12, 2012 at 11:39 PM

There is no best way. Different sites handle it differently, depending on their requirements. Seems like you need the culture picker module, and the localization module. As for different domain names, you may need some URL rewrite rules.