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.example.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.example.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?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Did you find this article helpful?

Comments

n/a Points
2014-08-09 3:33 pm

Nice article, I have a module that automatically removes IDs from URLs to make them user friendly and redirects old to new ones to avoid 404 errors.www.fmemodules.com/en/49-pretty-urls.html

Staff
12,339 Points
2014-08-13 5:26 pm
Hello Alastair,

Thank you for your suggestion. Feel free to create a post about your Search Engine Friendly PrestaShop module, in our User Submitted Articles section. I can then link your comment to it.

If you have any further questions, feel free to post them below.
Thank you,

-John-Paul
n/a Points
2014-08-09 3:33 pm

Informative tutorial.

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help 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.
}