kipusoep / UrlTracker

The Url Tracker for Umbraco
MIT License
54 stars 61 forks source link

Umbraco Documents' Urls without Template/View and Urls with view name that exists in the project are not caught #174

Closed blevai13 closed 6 years ago

blevai13 commented 7 years ago

HI @daniel-chenery, We are facing with the following situation:

  1. For those documents we have a template/view in the project and when we want to create a record in UrlTracker it doesn't take effect in terms it shows up(localy some exception, on production internal server error 500) so it won't check that UrlTracker whether has records for the requested Url or not. Example: we have Product view file in the project(Product.cshtml) and we want to make this shortcut: www.mydomain.com/product the page will load with exception

My guessing is that the Umbraco Endrequest event is not enough, in terms that such calls won't be caught, because in the situation like above the process doesn't get to reach the point where UrlTracker would do it's work. Can you please advise me what should we do in these kind of situation, for workaround I just made in IIS with the rewrite Url records, but we would like to handle all of them in the UrlTracker view.

Thanks, Botond

daniel-chenery commented 7 years ago

Did you happen to try with 3.12 at all? That will narrow it down if it's Umbraco's EndRequest event.

The URL Tracker will only kick-in when it's hit a 404. Since you're getting 500 errors, that's probably why it's not working. Your 1st point sounds like you've deleted a template in Umbraco, which is nothing to do the plugin.

I'm not sure what's going on with your 2nd point. What is the exact error message you're getting?

daniel-chenery commented 6 years ago

Closing this due to inactivity. Feel free to come back and comment with more information though :)

You might need to disable Alternative Template URLs in your Umbraco Setup