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 using umbraco 4.5.2
I thought it would be this simple to do a custom 301 for a page called..
http://www.floralhaven.co.uk/page.html?id=15 ;
to redirect to
http://www.floralhaven.co.uk/weddings.aspx
Any ideas ?
within the UrlRewriting.config
<add name="Weddings"
virtualUrl="/page.html?id=15"
rewriteUrlParameter="ExcludeFromClientQueryString"
redirect ="Application"
redirectMode ="Permanent"
destinationUrl="/weddings.aspx"
ignoreCase="true" />
Try ditching the leading slash (/):
virtualUrl="page.html?id=15"
destinationUrl="weddings.aspx"
Hi kipusoep, yeah I tried that I am sure it's to do with the querystring... but don't know how to get over it.
I have done dozens of pages in the url rewrite..
Such as this one where the page existed that pointed to a category which worked fine...
<add name="handties"
virtualUrl="/hand-tied-bouquets-c-68.html"
rewriteUrlParameter="IncludeQueryStringForRewrite"
destinationUrl="/flowers/designer-handties.aspx"
But the pages which had a querystring refuse to redirect.
Someone knows why...
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
... another 301 question.
I am using umbraco 4.5.2
I thought it would be this simple to do a custom 301 for a page called..
http://www.floralhaven.co.uk/page.html?id=15 ;
to redirect to
http://www.floralhaven.co.uk/weddings.aspx
Any ideas ?
within the UrlRewriting.config
<add name="Weddings"
virtualUrl="/page.html?id=15"
rewriteUrlParameter="ExcludeFromClientQueryString"
redirect ="Application"
redirectMode ="Permanent"
destinationUrl="/weddings.aspx"
ignoreCase="true" />
Try ditching the leading slash (/):
<add name="Weddings"
virtualUrl="page.html?id=15"
rewriteUrlParameter="ExcludeFromClientQueryString"
redirect ="Application"
redirectMode ="Permanent"
destinationUrl="weddings.aspx"
ignoreCase="true" />
Hi kipusoep, yeah I tried that I am sure it's to do with the querystring... but don't know how to get over it.
I have done dozens of pages in the url rewrite..
Such as this one where the page existed that pointed to a category which worked fine...
<add name="handties"
virtualUrl="/hand-tied-bouquets-c-68.html"
rewriteUrlParameter="IncludeQueryStringForRewrite"
redirect ="Application"
redirectMode ="Permanent"
destinationUrl="/flowers/designer-handties.aspx"
ignoreCase="true" />
But the pages which had a querystring refuse to redirect.
Someone knows why...
is working on a reply...