Setting up your Magento store for search engines, you are supposed to consider many aspects, and product URL key optimization is among them. Magento 2 URL key is a part of product URL that is in fact an address of a product page on your site. Making URLs relevant and unique is the first step to getting higher priority in search engine result page.
By default Magento generates URL keys based on product name. Although your product name may include some stop words, that does not conform SEO standards or you just need to update Magento 2 URL keys for products across store views.
To rewrite URL keys for multiple products, you can resort to usual product editing or make use of Store Manager import facility and bulk update keys in one go.
Before regenerating keys for your Magento 2 products, consider that URL key and URL path are different notions. Url_key is the part of static URL that describes a product or a category. It is filled in Magento as is. If there is not value provided, Magento takes the name of the product, lowercasing it and replacing blanks with hyphens. Url_path is created from URL key and product URL suffix specified in Stores->Settings->Configuration->Search Engine Optimization.
In order to regenerate Magento URL keys in the process of import, you should of course include them in the import file. If you need to update URL keys only, then it will be enough to have product identifier (SKU or ID) and product URL key itself in the feed. There is no need to input URL path, since it will be created automatically as it has been already outlined. Sample file we use for import includes columns for product identification and URL keys.
Further the file should be uploaded to your store via the import profile. In order to update URL keys successfully make sure you have configured the settings as we outline below.
Product URLs play an important role in evaluating how well your site is indexed by search engines. Make your store SEO friendly setting up relevant product URLs with Store Manager. Regenerate URL keys in the most approachable way for numerous entities.
Check detailed guides updating Magento meta details or creating unique ones and get a sample of the import file. Read More...
Learn how to use Store Diagnostics tool to detect problems related to product attributes automatically. Read More...
Tutorial on how track inventory on multiple Magento product sources (MSI). Read More...
The ultimate guide on Magento 2 SEO optimization (XML map generation, meta tags optimization, etc...) Read More...
This website uses cookies.
If you mean the functionality of Store Manager, yes it's also possible to update URL keys with the Multi Editor tool a proper SQL expression.