Vanity Domain Example
From unroole CMS wiki
Vanity Domains can be used for many purposes. Below are some reasons for vanity domains to be used:
- Account admin panel branding
- User friendly channel url's
- SEO friendly channel url's
- Localization
- Subdomains of a larger website domain
Localization
Let's say you want to setup a bilingual site with English and French content. You want to host English content at "www.myexample.com/en" and French content at "www.myexample.com/fr". You could setup the vanity domains as follows:
- Create two channels, one for English and one for French, you can easily unify their looks and feel by using the same Channel Layouts and Theme.
- Setup vanity domain for english channel as "www.myexample.com/en"
- Setup the vanity domain for the french channel as "www.myexample.com/fr"
- Add a simple cross link in the Navigation Widget or Html Widget to switch between the english and french websites.
You can also point multiple domains to a channel. For example you can setup your vanity domains with "www.parentsite.com/en", "www.example.com" and "en.example.com" each of which point to the same English channel.