I have a aspx page on my umbraco website that sits in a folder seperate from umbraco. How do I hit this page without umbraco looking for it as an umbraco page?
At the moment I get the following error when I try to do this:
Page not found
No umbraco document matches the url
'http://sfd.local/custompages/newsdetail.aspx'
aspx page outwith umbraco redirect problem
Hi,
I have a aspx page on my umbraco website that sits in a folder seperate from umbraco. How do I hit this page without umbraco looking for it as an umbraco page?
At the moment I get the following error when I try to do this:
Page not found
No umbraco document matches the url 'http://sfd.local/custompages/newsdetail.aspx'
Cheers,
Marc
In you web.config add the page to the "umbracoReservedUrls" key.
Perfect, thanks.
If I wanted to change this so that I had a page like:
/news/this-is-my-news-title-101.aspx
and wanted to redirect to:
/custompages/newsdetail.aspx?id=101
Do you know how I would achieve this?
Cheers,
see redirect package at http://our.umbraco.org/projects/301-url-tracker
may be Url Rewriting?
Will have a look cheers
Well if there's always that ID at the end, you could easily do it with a rewrite rule (see /config/urlrewriting.config):
is working on a reply...