Question about "GenericUrl" route

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
11 years ago
I have this URL: http://localhost:2619/test-product-1

The route debugger says the matched route is the "generic_se_name", which is connected to the "GenericUrl" action on the "Common" controller.  Inside that action is simply a redirect to the home page.

My question is, how exactly then is it correctly displaying the product?  I'm confused as to how its getting to the product correctly when the mapped action is simply a redirect to the home page.

I feel like I'm missing something simple here.  Thanks in advance.
11 years ago
Please Look what MapGenericPathRoute does? I think your answer is here.
It will redirect the url by getting the exact slug and entity from database and redirect them entity-wise.
For that see class GenericPathRoute.cs in Nop.Web.Framework.Seo
11 years ago
Exactly what I was missing.  Thanks!
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.