Defining a custom route

Posted 1 year ago by TimeSocks

Hi,

I have a site with products with urls in the format www.mysite.com/products/long-product-name, the slug being grabbed from the database, naturally. I'd like to create a route with a shortened version of the product to include in marketing, e.g. www.mysite.com/product.

How can I do this?

Please sign in or create an account to participate in this conversation.