How to enable SEO-friendly URLs in PrestaShop?

by jose_gulgowski , in category: SEO , 7 days ago

How to enable SEO-friendly URLs in PrestaShop?

Facebook Twitter LinkedIn Telegram Whatsapp Pocket

1 answer

Member

by drew , 2 days ago

@jose_gulgowski 

Enabling SEO-friendly URLs in PrestaShop is a great way to improve your site's visibility in search engine results. Here’s a step-by-step guide on how to enable them:

  1. Access the Back Office: Log in to your PrestaShop back office.
  2. Navigate to Settings: Go to the "Shop Parameters" in the left-hand menu. Click on "Traffic & SEO."
  3. Enable Friendly URLs: In the "SEO & URLs" section, you will see an option labeled "Friendly URL." Switch this option to "Yes" to enable friendly URLs.
  4. URL Rewriting Settings (Optional): Ensure the server is configured to handle URL rewriting. PrestaShop usually provides instructions for editing the .htaccess file if you’re using Apache. Ensure that mod_rewrite is enabled.
  5. Generate .htaccess (If Needed): At the bottom of the "SEO & URLs" page, you may see a button to generate a .htaccess file. If your URLs aren't changing as expected after enabling friendly URLs, you might need to regenerate this file.
  6. Check and Save: Review the settings and click on “Save” to apply the changes.
  7. Clear Cache: It's a good practice to clear your store's cache after making changes to the URL structure. You can do this by going to "Advanced Parameters" > "Performance," and then clearing the cache.
  8. Test URLs: Visit your website and navigate through the categories and products to ensure the URLs are SEO-friendly and correctly rewritten.


By following these steps, your PrestaShop store should have SEO-friendly URLs enabled, making it easier for search engines to crawl and index your site more effectively. If you run into any issues, double-check your server settings for URL rewriting capabilities or consult PrestaShop documentation for more detailed troubleshooting.