Deliver superior customer experiences with an AI-driven platform for creating and deploying cognitive chatbots
Deliver Awesome UI with the most complete toolboxes for .NET, Web and Mobile development
Automate UI, load and performance testing for web, desktop and mobile
A complete cloud platform for an app or your entire digital business
Detect and predict anomalies by automating machine learning to achieve higher asset uptime and maximized yield
Automate decision processes with a no-code business rules engine
Optimize data integration with high-performance connectivity
Connect to any cloud or on-premises data source using a standard interface
Build engaging multi-channel web and digital experiences with intuitive web content management
Personalize and optimize the customer experience across digital touchpoints
Build, protect and deploy apps across any platform and mobile device
Rapidly develop, manage and deploy business apps, delivered as SaaS in the cloud
The content you're reading is getting on in years
This post is on the older side and its content may be out of date.
Be sure to visit our blogs homepage for our latest news, updates and information.
By default, Sitefinity Ecommerce ships with a date formatted URL for the Product Detail page, which comes very handy if you just want to let your users know when the product was published. But as with any other part of Sitefinity, this URL can be highly customized to meet your own needs and make even more Pretty URL or PURL in general. For Ecommerce, having the date in the URL does not usually create an SEO friendly URL.
You can change the default route of products in 2 ways
1. Using the urlFormat in the backend of Sitefinity
2. Extending OpenAccessCatalogDataProvider in your application
Below is the default URL format of products in Ecommerce
This option will let you extend the details by excluding the date in the URL. To attain this URL format you would need to navigate to Backend-> Administration-> Settings-> Advanced-> Catalog->Providers-> OpenAccessProvider-> Parameters and then create a new parameter with the name urlFormat and value /[UrlName], this will change product detail URL by excluding the date. Please also note that new products added to the system will get new URL format by default. However for products which already exist,you will have to republish the existing products to get the new URL format.
Below is a screenshot on how the new URL would look like -
This option will let you extend the route of product detail in any way you want. You have complete control over the route that leads to the detail page.
Above is an image on how the changed URL format would look like, please note that you can get the "DetailRouteKey" in any way you want and feed any string into the URL at this moment.
Also, as above note that new products added to the system will get the new URL format by default. However for products which already exist,you will have to republish the existing products to get the new URL format.
I hope this post was helpful.
Credit and thanks to Venkata Koppaka!
View all posts from The Progress Team on the Progress blog. Connect with us about all things application development and deployment, data integration and digital business.
Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.
Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.