Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I just installed v1.3. and added a custom mapping for: /test/myniceoldpage.asp
I'm getting a 404 as below during the request.
HTTP Error 404.0 - Not Found
If i manually add a rule to the urlRewriting.config it is properly handled, so umbraco does handle the request
Did you add /test/ to this line in the web.config file?
<add key="umbracoReservedPaths" value="~/umbraco,~/install/" />
This should not be necessary. That would mean you need to set up a reserved path for each 301 rewrite.
Am i missing something?
Sorry, didn't see this was under the 301 URL tracker project, ignore me!!
Nope, umbraco is not handling the request...
The UrlRewriting.NET get's hit, but that doesn't mean umbraco also get's hit.The only way you can see umbraco get's hit, is if the umbraco not found page is shown (intentionally left ugly bla bla...)
I got the same error.
Directories and .aspx works fine.
Adding the .asp handler adds this to the web.config.
<add name="ASPClassic" path="*.asp" verb="GET,HEAD,POST" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="File" requireAccess="Script" />
Im running a IIS 7, Umbraco 4.5.2 and .NET 4
I can't help with this... This is related to configuring IIS the right way, and has nothing to do with umbraco nor the 301 URL Tracker.
Stefan, sorry about that. I thought you were an all-knowing oracle ;)
Richard, did you find a solution?
No problem, but you were wrong ;-)
I had this exact same problem last week, had to resort to manually adding them to UrlRewriting.config.
Trying to redirect old .php urls to the new umbraco pages.
I know .php is handled by asp.net due to the error page when I goto an old .php url.
I have the old url mapped to the new page.
Here is my error:
You need to change the error page in IIS to point to a .aspx file. This is how I did and it capture all kind of files
I did that... customErrors is set to "On" and the error page is an aspx page.
AND change the errorpage in IIS <- you need to do that also - or do this: http://our.umbraco.org/wiki/recommendations/recommended-reading-for-web-developers/urlrewriting-html-to-aspx
Did any of you get this working?
If you did, can i please see your web.config?
Ive been trying and trying with no luck.
I've been investigating the issue of getting it to work with .php/.cfm pages :-
I belive that the umbraco 404 handlers only work with .aspx or
extensionless url's (this is hard coded into the umbraco requestModule).
As a workaround you can set-up the UrlRewritter to rewrite .php requests to a .aspx page that does't exist :-
<add name="phprewrite" virtualUrl="^~/(.*).php" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="~/php/$1.aspx" ignoreCase="true" />
This then enables you to use the custom mapping in the 301 URL Tracker
Custom mappings :-
So /oldpage.php or /olddir/oldpage.php will get 301 redirected to the umbraco page that you've set the custom mapping on.
I have the same problem, does anyone have a clue how to get Umbraco to handle this? I have tried everything in IIS7 but I cant ssem to get it to pass it to Umbraco.
Didn't you see my post above yours?
Yes i did, I also wrote about it here.
But I would really like to have documentation on how to config IIS7 to handle mappings in the right way.
Then I would have saved about 2 hours of research.
Well, you'd have to find it yourself... I already searched the web for it multiple times, but in the end it didn't work for me.
But if you do and find a solution, let us know!
I just wrote a blog-post on how we do it here: http://blog.toxic.se/blog/2011/september/using-301-url-tracker/
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted