-1
Guys, I made a product registration page, and I’m willing to put to access the product through the name, same as the wordpress system, but I could not find any support for this.
When saving the product, it generates a friendly URL such as "www.example.com/product/product name" to be able to access it without having to use the ID in the link.
I already tried to work with the str_replace
but causes problems with special characters such as spaces, quotes and others.
Have you tried fetch on the site before asking? Nothing cleared your doubts? So I believe your question needs improvement, because the way it is is unviable to answer anything.
– Woss
I updated the expensive question.
– Thomas Franklin