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
Hi,
I have an interesting situation with a URL rewrite where a URL Alias is being misinterpreted without a www but working with.
If there is no www, instead of going to a page on the site of the intended domain, its going to a page in the site above it.
Here's the structure
domain1.com
-urlalias
domain2.com
So if I go to domain2.com/urlalias, it goes to the site at domain1.com!
If I go to www.domain2.com/urlalias it goes to domain2.com.
Here's a rewrite rule, any idea why it would be doing this?
<add name="domainRewriteMC" virtualUrl="http://domain2.com/(.*)" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="http://www.domain2.com/$1" redirect="Domain" redirectMode="Permanent" ignoreCase="true" />
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
UrlRewrite not being caught
Hi,
I have an interesting situation with a URL rewrite where a URL Alias is being misinterpreted without a www but working with.
If there is no www, instead of going to a page on the site of the intended domain, its going to a page in the site above it.
Here's the structure
domain1.com
-urlalias
domain2.com
-urlalias
So if I go to domain2.com/urlalias, it goes to the site at domain1.com!
If I go to www.domain2.com/urlalias it goes to domain2.com.
Here's a rewrite rule, any idea why it would be doing this?
is working on a reply...