How can I configure Magento to generate search engine-friendly URLs?

by annabell_mcdermott , in category: SEO , a year ago

How can I configure Magento to generate search engine-friendly URLs?

Facebook Twitter LinkedIn Telegram Whatsapp Pocket

1 answer

by harrison.goodwin , a year ago

@annabell_mcdermott 

You can configure Magento to generate search engine-friendly URLs by following these steps:

  1. Login to the Magento admin panel.
  2. Go to Stores -> Configuration -> General -> Web.
  3. Expand the Search Engine Optimization section.
  4. Set Use Web Server Rewrites to Yes.
  5. Set Add Store Code to URLs to No, unless you have multiple stores and want this feature.
  6. Set Server URL Rewrites to Yes.
  7. Set Use Secure URLs on Storefront to Yes, if you have an SSL certificate installed and want to use secure URLs.
  8. Save the configuration changes.


Magento will now start generating search engine-friendly URLs for your store. If you want to customize the URL structure further, you can use the URL Rewrites tool in the admin panel to create custom URL rewrites for specific pages and categories.