With the URL Rewrites tool, you can create both Product Rewrites, and CMS page even Category Rewirtes in order to redirect the vistors to the another URL instead of the previous address if there is any change of the category.
In addition, Magento 2 store owners can set multiple URLs that point to the same product. You can learn how to manage the multiple paths for SEO at Canonical Meta Tag.
Marketing > SEO & Search > URL Rewrites.
Add URL Rewrites.
Create URL Rewrites, choose “For Category” option.
Storeto apply the rewrites if necessary.
Request Pathfield, insert the new URL key and suffix for the product.
Redirectto Temporary (302) or Permanent (301).
And now, you can see the new product rewrite at the top of the list.
System > Tools > Index Management.
Catalog URL Rewritescheckbox.
Submitto update the index.
Be careful to check the rewrite to ensure that it works perfectly. Beside, ensure that the URL you test goes directly to the intended category, rather than to a subcategory
Ref: Magento 2 User Guide
It comes to the end of tutorial: How to Create Category Rewrites in Magento 2.