How can I configure Magento to generate SEO-friendly category URLs?

Member

by vinnie , in category: SEO , a year ago

How can I configure Magento to generate SEO-friendly category URLs?

Facebook Twitter LinkedIn Telegram Whatsapp Pocket

1 answer

Member

by dortha , a year ago

@vinnie 

To configure Magento to generate SEO-friendly category URLs, you can follow these steps:

  1. Login to your Magento Admin Panel.
  2. Go to Stores > Configuration in the main menu.
  3. Under the General section, select Web.
  4. Expand the Search Engine Optimization tab.
  5. Set "Use Web Server Rewrites" to Yes. This enables Magento to use rewrite rules for generating SEO-friendly URLs.
  6. Expand the "Product URL Suffix" section.
  7. Set "Category URL Suffix" to .html or any other desired extension.
  8. Expand the "URL Options" section.
  9. Set "Add Store Code to URLs" to No. This ensures that the store code is not included in the URL.
  10. Save the configuration.


After making these changes, Magento will generate SEO-friendly category URLs. For example, a category with the name "Shoes" will have a URL like "yourstore.com/shoes.html".