Magento has a special panel to take care of the catalog categories of SEO. To access this panel, navigate to Stores | Configuration | Catalog | Search Engine Optimization, as follows:
This panel has the following options:
Popular Search Terms: This allows pages to display your most popular search phrases. Set this to Yes.
Product URL Suffix: This is the suffix that is added to the end of your product URLs.
Category URL Suffix: This is the suffix that is added to the end of your category URLs.
Use Categories Path for Product URLs: This includes the category URL in your URL string.
Create Permanent Redirect for URLs if URL Key Changed: This automatically creates a redirect via the URL Rewrites' module in Magento if the URL key is changed in any page on your website.
Page Title Separator: This separates the page titles on the frontend of your store.
Use Canonical Link Meta Tag For Categories: This displays the main version of the category page. This is picked up by...