We are currently in the process of converting our Magento site to an Umbraco site (tough one, I know).
We would like to keep our urls the same, but the problem is, that our product page (which is dynamic) currently ends in something like: www.url.com/product-name.html
I would like a controller that gets hit, every time someone enters .html after the parameter of the url. Is this possible?
Custom URL's ending in .HTML
Hello everyone
We are currently in the process of converting our Magento site to an Umbraco site (tough one, I know). We would like to keep our urls the same, but the problem is, that our product page (which is dynamic) currently ends in something like: www.url.com/product-name.html I would like a controller that gets hit, every time someone enters .html after the parameter of the url. Is this possible?
Hi Jannik,
Have you considered an IIS rewrite rule? Which takes /product-name.html to rewrite to /product-name?
Then Umbraco's URL routing pipeline will kick in to try and find the page within Umbraco.
Thanks,
Jamie
is working on a reply...