I suspect I have already found my answer but was wondering if I could just get some confirmation. When I access a page using it's url alias as defined in the umbracoUrlAlias property I don't appear to be able to switch to an alternative template by appending the template alias onto the url. I can still switch templates using the AltTemplate querystring property.For example:
Alternative template and the umbracoUrlAlias
I suspect I have already found my answer but was wondering if I could just get some confirmation. When I access a page using it's url alias as defined in the umbracoUrlAlias property I don't appear to be able to switch to an alternative template by appending the template alias onto the url. I can still switch templates using the AltTemplate querystring property.For example:
1. http://mysite/standard/url/path/mypage/alternativeTemplate - this works
2. http://mysite/alias/url/path/mypage/alternativeTemplate - this returns a 404
3. http://mysite/alias/url/path/mypage?altTemplate=altenativeTemplate - this works
Can anyone confirm if this is definitely the case and that there are no work arounds?
We've managed to kind of get round it by using a url rewrite. An example below for the UrlRewriting.config file for anyone who is interested:
is working on a reply...