I have a site I'm redesigning into Sitecore. The old URLs are at
https://[host]/Old/[path(s)]/Pages/[ID].aspx and I want them to be translated to
https://[host]/Post/[ID]. I wrote an IIS redirect rule for this that, when I test the URL sample, works to get the
When I put the old URL in, though, I get a Sitecore not found message pointing to the old URL, but it drops the .aspx portion and also, if there's a hyphen in the
[ID] it disappears in favor of a space. I did add "/old" URL to the "IgnoreUrlPrefixes" setting in Sitecore, so I thought that would basically keep Sitecore out of it.
My rule definitions:
- Requested URL matches the pattern, using regular expressions
^/(.*)/Pages/(.*).aspx(the pattern tester in IIS reported success)
- Action type: Redirect (301), to
Any thoughts? Thanks.