Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
i am struggeling with an url rewrite in umbraco 4.5.
I need to show a different template for a domain (in this case a mobile version).
So if somebody is using:
the site should show the same page, but with another template (called mobilemaster).
I cannot get this to work. I appreciate some help with this. I tried this, but it is not even catching the virtual url
<add name="mobilerewrite" virtualUrl="(http://|)m.domain.com/(.*)" redirect="Application" rewriteUrlParameter="IncludeQueryStringForRewrite" destinationUrl="~/$1/mobilemaster" ignoreCase="true"/>
Could you show your structure please?
Why do you use destinationUrl="~/$1/mobilemaster" ?
not sure, I thougt the $1 would insert the original url request and just add a mobile template using mobilemaster
the default url is:
what i try to accomplish is if somebody uses
it effectively returns
http://www.domain.com/page1/mobilemaster (thus, the orignal site with an alttemplate)
Can somebody shed a light on this?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted