how to change single post link

On the WP Dashboard, navigate to:

Posts => Categories

Create new Category, name it – Products. Then go to your post/product-a, on the right panel search for categories and add the new category Products to the post/product.

Save it or Update the post, refresh the page, now if you check the url for this post, will be something like: xyz.com/products/product-a.

enter image description here