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 trying to use the UrlRewriting.config for a multilingual website. The domein without anything had to be changed to: domain.nl/nl/
When I use following script it outputs domain.nlnlnlnlnlnlnlnlnlnlnl
<add name="Rewrite" virtualUrl="~/" destinationUrl="/nl"redirect="Application" redirectMode="Permanent" ignoreCase="true" />
Somebody know's what's going wrong?
Try something like this
<add name="rewrite" virtualUrl="^http\://domain.nl" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="http://domain.nl/nl" redirect="Domain" redirectMode="Permanent" ignoreCase="true" />
Thanks for the reply. This returns: domain.nl/nl/nl/nl/nl/nl/nl/nl/nl/nl/nl/default.aspx.
Hi Bas,
Do you have any other redirects in place either in code or in the config file?
Hi Bijesh,
There are no other redirects. I think its a problem on the server. I will contact the server administrator.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Using UrlRewriting.config
I am trying to use the UrlRewriting.config for a multilingual website. The domein without anything had to be changed to: domain.nl/nl/
When I use following script it outputs domain.nlnlnlnlnlnlnlnlnlnlnl
Somebody know's what's going wrong?
Try something like this
Thanks for the reply. This returns: domain.nl/nl/nl/nl/nl/nl/nl/nl/nl/nl/nl/default.aspx.
Hi Bas,
Do you have any other redirects in place either in code or in the config file?
Hi Bijesh,
There are no other redirects. I think its a problem on the server. I will contact the server administrator.
is working on a reply...