Hi I've just installed the 2.3.1 version of this package into 4.9.1 Umbraco installation and I can't get the redirect to work.
What I would expect is that if someone went to the bespoke.aspx URL that they would be redirected tothe bbc sport page. But the bespoke page just displays as normal.
Thanks for that I sorta worked it (should have delete the forum post!). I wonder if you could help with something else though....
What I'm trying to acheive is create a redirect so that if someone types in /course/familylaw/ (familylaw could be any one of a number of terms) then they are redirected to the course.aspx page and I want to keep the URL that they typed intact (on the course page I need to extract the term that they entered (familylaw) and use this term for database querys.
I can set up a regex redirect (^course\.aspx\[a-zA-Z]/) with allows them to enter a term and it will redirect to the course.aspx page but it doesn't 'keep' the URL that they entered. Is it possible to do so do you know?
Redirect not working
Hi I've just installed the 2.3.1 version of this package into 4.9.1 Umbraco installation and I can't get the redirect to work.
What I would expect is that if someone went to the bespoke.aspx URL that they would be redirected tothe bbc sport page. But the bespoke page just displays as normal.
Any ideas folks?
Thanks,
Craig
The Url Tracker only acts when the request results in a 404 Not Found status.
So if the URL exists, it'll just render.
Hi Kipusoep,
Thanks for that I sorta worked it (should have delete the forum post!). I wonder if you could help with something else though....
What I'm trying to acheive is create a redirect so that if someone types in /course/familylaw/ (familylaw could be any one of a number of terms) then they are redirected to the course.aspx page and I want to keep the URL that they typed intact (on the course page I need to extract the term that they entered (familylaw) and use this term for database querys.
I can set up a regex redirect (^course\.aspx\[a-zA-Z]/) with allows them to enter a term and it will redirect to the course.aspx page but it doesn't 'keep' the URL that they entered. Is it possible to do so do you know?
Thanks again,
Craig
Then you'll have to use IIS URL Rewrite or the built-in UrlRewriting.Net
Cheers sorted it using the URLRewriting mod.
Thanks for your help :)
I've added this as a feature in the just released v2.4.0:
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.