How to redirect an external link to new existing page
Hopefully the title says it all. I've been developing stuff for a few years, but am new to umbraco. I have a number of incomming and internal links that have been broken (for apparently good reason). I have a general 404 handler, but I'd like to be more specific. In simple terms I have a link to www.mysite/someoldstuff.aspx and I want it to automatically go to page www.mysite/somenewpage.aspx Also if the link is to www.mysite/someoldstuff.xyz the general 404 handler does noto want to kick in... Guidance would be appreciated. I found some links to 3 or 4 year old stuff, but presum that in 4.x there is a better way? Thanks
Thanks Daniel. Well we got the ISP to send redirects to a specific default page. Then just recreated the (4) offending pages (out of 300) with a this article has been updated by...... I am also setting up a new test site so that we can check out urlrewriting - but am not willing to deploy it live yet - quick and dirty will have to do.
One other question... how do I mark this as solved...? (Cant see any buttons anywhere)
I just came across this ticket as I found you in the members search :)
I just thought I'd add that if you want IIS to process .XYZ files ( i.e. older files that no longer exist that are not .ASPX ) you can configure IIS to process .XYZ extension files as .ASP.NET pages, that way they will use the same 404 processing that is used if you hit a /thisdoesnotexist.aspx page.
How to redirect an external link to new existing page
Hopefully the title says it all. I've been developing stuff for a few years, but am new to umbraco. I have a number of incomming and internal links that have been broken (for apparently good reason). I have a general 404 handler, but I'd like to be more specific. In simple terms I have a link to www.mysite/someoldstuff.aspx and I want it to automatically go to page www.mysite/somenewpage.aspx Also if the link is to www.mysite/someoldstuff.xyz the general 404 handler does noto want to kick in... Guidance would be appreciated. I found some links to 3 or 4 year old stuff, but presum that in 4.x there is a better way? Thanks
Sounds like UrlRewriting.config would help you out, take a look at www.urlrewriting.net for more info.
Thanks Daniel. Well we got the ISP to send redirects to a specific default page. Then just recreated the (4) offending pages (out of 300) with a this article has been updated by...... I am also setting up a new test site so that we can check out urlrewriting - but am not willing to deploy it live yet - quick and dirty will have to do.
One other question... how do I mark this as solved...? (Cant see any buttons anywhere)
Hi Ian,
Long time no see, happy new year to you.
I just came across this ticket as I found you in the members search :)
I just thought I'd add that if you want IIS to process .XYZ files ( i.e. older files that no longer exist that are not .ASPX ) you can configure IIS to process .XYZ extension files as .ASP.NET pages, that way they will use the same 404 processing that is used if you hit a /thisdoesnotexist.aspx page.
Cheers,
Chris
is working on a reply...