Search engine friendly URLs (SEFs) are not required, but are recommended for any website, including e-commerce. This can help search engines index the pages of your site, and it's considered a best practice for Search Engine Optimization. Fortunately, setting up SEFs in PrestaShop is easy to do and can be completed in just a few short steps.

Non SEF URLs vs SEF URLs

For a better understanding of the differences between non-search engine friendly URLS (non SEF URLs) and SEFs (search engine friendly URLs), let's look at an example of each.

Non SEF URL A non SEF URL will contain query strings and IDs that will mean nothing to search engines or visitors:

http://shop.whhsupport.com/category.php?id_category=6
SEF URL A SEF URL will be a more meaningful URL and can contain the category name, product name, etc.:

http://shop.whhsupport.com/test

As you can see, SEF URLs provide information useful to search engines and look much better as well.

Enabling SEFs in Preferences

  1. The first part of the process to enable SEFs in PrestaShop is to enable friendly URLs in the Preferences tab of PrestaShop
  2. Begin by logging into your PrestaShop back office.
  3. Navigate to the Preferences tab and click on the SEO & URLs link

    presta-pref-seo-urls

  4. Scroll down the page to the Set Up URLs area
  5. Click Yes next to Friendly URL to enable this for your shop and click the Save button.

    presta-enable-friendly-urls

This is only the first part of the process, now we will need to regenerate our .htaccess file to start using SEF URLs in our PrestaShop installation.

Generating Your New .htaccess file in Tools

  1. Navigate to the Tools tab in your PrestaShop back office and click on the Generators link.

    presta-tools-generators

  2. Under .htaccess file generation, make sure the box is checked nex to Friendly URL and click the Generate .htaccess file button.

    presta-generate-htaccess

Congratulations, you've now enabled Search Engine Friendly URLs (SEF URLs) for your PrestaShop site! Now your pages in PrestaShop will be more easily indexed by search engines.
Did you find this article helpful?

Login to comment.

Your Opinion Matters

... but we need to know what you're thinking!

I'm Christi Nickerson, your friendly Community Support technician, and I wrote the article you're looking at now. I like to think it's perfect, but I'm sure you have some suggestions. Please, let me know what they are!

Feedback
Your Email Address
Because we'd like to talk with you!

Support Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.