User-28953151 posted
Hello,
I'm using the Intelligencia UrlRewriter.Net module to perform some rewriting on my websites with extensionless urls. Now I have 2 sites. One is the Desktop based website while the other is the mobile based in this form:
www.mydomain.com
www.mydomain.com/mobile
I have a page called profile.aspx which I have successfully been able to rewrite it to www.mydomain.com/profile like this:
<rewriter>
<rewrite url="~/profile" to="~/profile.aspx"/>
</rewriter>
I also have another similar page for the mobile version www.mydomain.com/mobile/profile.aspx which I need some help in rewriting coz if I go to that page (www.mydomain.com/mobile/profile.aspx) it tends to read the main site's page (www.mydomain.com/profile.aspx)
So basically I simply need to rewrite both the pages to something likes this without any conflicts:
www.mydomain.com/profile
www.mydomain.com/mobile/profile
Looking forward to some positive feedback
Best regards,
Wasim