The other obvious element on a search engine's results page, besides the title and description (and other schema implementations, which we'll move onto in a moment), is the page URL.
The general consensus within the SEO community is that URL keys should be relevant to our destination page, in lowercase, and simple for the user to interpret.
By default, Magento will try to set our URL key as our product or category name followed by our chosen file extension. For SEO purposes, this is perfectly acceptable, and we wouldn't want to change these from their defaults too much.
As covered in the previous chapter, we would simply want to make sure that our URLs are as clean and simple as possible by performing simple tasks such as:
Removing the
index.php
file from our URLsUsing our canonical URL for products (
www.mydomain.com/my-product-url.html
)
URLs should be user-friendly wherever possible—this means short and descriptive of the content. A shorter URL is also more likely to...