Always add culture to url
# help-with-umbraco
t
I want to setup redirects from /page1 /page2 to /en/page1 /en/page2 or another culture read from Accept-Lang header so page will be accessible from both type of url's And I want to setup it globally for all pages of my website, except back-office
pls help :d
k
If you add a Culture & Hostname domain
/en
, wouldn't this make it work like you want?
Except for the actual redirects. So you want
/page1
to be a virtual URL that always redirects based on language-sniffing? Then maybe a base controller (for all pages) that detects a visit to a language-less URL and redirects could work for the entire site, and then C&H Domains for all languages.
4 Views