Hi,
I have created a dynamic link (set up as a Route) which filters the data on a html page by product_id
parameter. The dynamic url looks like this:
https://abc123.com.au/tech-sheet.html?product_id=A36B:643766FD-7F8A-4224-B9F5-6BF2
This is the dynamic link binding for the url:
dmx-bind:href="'/tech-sheet.html?product_id='+SourceVarietyGSUID"
The Route has been setup as below:
Is it possible to convert the above dynamic url to a url as below for easy readability and SEO?
https://abc123.com.au/product_species/commercial_name
Both product_species
and commercial_name
are database fields that are fetched dynamically when product_id
parameter is passed to the tech-sheet.html
page.
I have checked the URL Rewrite docs to find a method to convert URL to a cleaner URL, however, none of the options listed in the documents seem to work for me.
Any help is greatly appreciated. Thank you
Last updated: