November Happy Hour will be moved to Thursday December 5th.
November Happy Hour will be moved to Thursday December 5th.
You could do it using standard rewrite rules at the web.config level. That's usually the most performant way to handle large redirects and pattern matched urls
Something like
<rule name="ImageGalleryRedirect" stopProcessing="true"> <match url="image-gallery/(.*)" /> <action type="Redirect" url="redirect-gallery/{R:1}" redirectType="Permanent" /> </rule>
Hi Scott,
Thanks for responding. That is the solution proposed, but Client wanted to use the BVN kind of administering the urls that are getting redirected, as this gives them more control over web.config changes. Any other suggestion with BVN 404?
Thanks,
Rams
Yes we use BVN ourselves but in my expereince BVN is good for some flexibility for the client but I'd always try to use web.config for any known large scale rewrites. BVN hooks in to the routing at the application level so is a lot more expensive that web.config, if wildcards are not working you could try making sure the logging is working or pulling the source and debugging
Hi,
One of my client has decided to redirect all the image gallery items to a new url. We have implemented BVN 404, and have tried different options like below
Old Url : /image-gallery/
New Url : /redirect-gallery/
and
Old Url : /image-gallery
New Url : /redirect-gallery
But nothing works, as expected, always responds 404. Whereas if I do a full url, the redirect happens fine. The issue with having full url is the image gallery will have more than 1000's of url , which are uploaded by the users of the website.
Where as with wild card enabled, all the subpages, redirects to the root page.
The BVN version we are using is 3.1.3.899
Any suggestions to try?
Thanks,
Rams