URL Rewrite/ASP.NET routing withouth .ASPX extension

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Il y a 12 ans
I just want to know if anyone succeeded in having the 2.1 version render URLs without the .aspx extension.

Something like:

<shop>/my_category/my_product/

withouth any category ID or any product ID.

I get all sort of errors if I try to update the Infrastructure.RouteProvider and remove the IDs from the route.

Any thoughts?

Thanks
Il y a 12 ans
They are already without aspx extension. See demo
Il y a 12 ans
You're right, sorry for that, it was my local dev settings and the hosting settings issue.

However, if I remove the IDs from the URLs I get all sort of errors.

I'm a newbie at MVC, could it be bcause MVC needs to have an ID?

Thank you A.M.!
Il y a 12 ans
MVC doesn't need ID. nopCommerce needs it. It finds products and other entities by identifiers.
Il y a 12 ans
got it, thanks
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.