An empty category in PrestaShop responds as if everything were fine: a 200 code and the text “there are no products in this category”. For Google it is a page with no content, and it ends up marking it as Soft 404 or leaving it in “Crawled, currently not indexed”. Meanwhile, it takes crawling and internal links. Pagination, on the other hand, PrestaShop already does well, and the most common mistake is to touch it: canonicalising pages 2, 3 and 4 to the first one, or setting them to noindex.
Below you have how to find your empty categories, what to do with each one depending on your version and what not to touch in pagination.
How to know whether this is happening to you
1. In Search Console. Go to Indexing > Pages and open Soft 404 and Crawled, currently not indexed. If there are category URLs among the examples, open them: if they say there are no products, this is it.
2. In the database. This query lists the active categories with no active product at all, also counting those in their subcategories. Change ps_ to your prefix and 1 to the ID of your language and your shop:
SELECT c.id_category, cl.name, cl.link_rewrite
FROM ps_category c
JOIN ps_category_lang cl
ON cl.id_category = c.id_category
AND cl.id_lang = 1
AND cl.id_shop = 1
WHERE c.active = 1
AND c.id_category > 2
AND NOT EXISTS (
SELECT 1
FROM ps_category d
JOIN ps_category_product cp ON cp.id_category = d.id_category
JOIN ps_product_shop ps
ON ps.id_product = cp.id_product
AND ps.id_shop = 1
AND ps.active = 1
AND ps.visibility IN ('both', 'catalog')
WHERE d.nleft >= c.nleft
AND d.nright <= c.nright
);
The query counts the products of the whole branch because the faceted search module is usually set up to show, in each category, the products of its subcategories too. If your shop does not do that, change the nleft and nright condition to cp.id_category = c.id_category.
In a shop with 195 active categories that we reviewed this month, 62 came up: 32%. Another 9% had between 1 and 3 products.

3. Look at where they come from. In that case, the 62 broke down like this:
- 12 were leftovers from a migration, with names like “39” or “314 2”, hanging from the home page;
- 44 were collections whose products had all been disabled;
- the rest were brands and unassigned subcategories.
Only 4 of the 62 had received any click in 16 months.
Why it happens: what PrestaShop returns in each case

| Page | What PrestaShop returns | Is anything needed? |
|---|---|---|
| Category with products | 200, canonical to itself | No |
Page 2, 3, 4… (?page=2) |
200, canonical to itself, “(2)” at the end of the title | No |
?page=1 |
200, canonical to the category without the parameter | No |
A page that does not exist (?page=999) |
404 | No |
| Disabled category (8.x) | 404, no redirect | Depends: see below |
| Active category with no products | 200 and “no products” | Yes |
We measured the first four on a shop running PrestaShop 8.2. The last two are in the PrestaShop 8.2 category controller:
- if the category is not active, it sends a 404 with the error page, without redirecting;
- if it is active, it looks for products and renders the page with no special handling when it finds none.
Google calls a page that returns a success code but whose content looks like an error or is empty a soft 404, and flags it that way in Search Console (HTTP status codes, Google). A category with the text “no products” is exactly that.
How to fix it
Each empty category has one of three ways out. Traffic and the catalogue choose it, not the tool:
| Situation | What to do |
|---|---|
| It will have products again, or it is a category people search for | Fill it. Assign the products that fit even if they are already in another category. While it stays empty, noindex |
| It has visits or links and there is a category that replaces it | Redirect it with a 301 to that category |
| It has no visits or links and will not return | Disable it. It returns 404 and Google removes it |
Disabling or redirecting in PrestaShop 8
The category is disabled in Catalog > Categories, with the switch in the Displayed column. PrestaShop 8 has no category redirects: if you want a 301, it is done in .htaccess. It has to go at the top, outside the # ~~start~~ and # ~~end~~ lines, because PrestaShop regenerates whatever is between them:
RedirectMatch 301 "^/12-empty-category/?$" /34-category-that-replaces-it
Change both paths to yours: the empty category’s in its exact format, with or without the ID, and the destination’s.
Disabling or redirecting in PrestaShop 9
PrestaShop 9.0 adds to categories the redirect fields that in version 8 only products had (Category class, PrestaShop 9.0.0). When you disable a category you can choose a 301 or 302 to another category, 404 or 410. There is no need to touch .htaccess.

noindex while it is empty
For the categories you are going to fill, this stops Google counting them as empty in the meantime. It goes in your theme’s templates/catalog/listing/category.tpl (if it is a child theme, in the child), at the end of the file:
{block name='head' append}
{if empty($listing.products) && empty($subcategories)}
<meta name="robots" content="noindex, follow">
{/if}
{/block}
It only acts when the category has neither products nor subcategories. As soon as you assign it a product, the noindex disappears by itself. After saving it, clear the cache in Advanced Parameters > Performance.
Pagination: what not to touch
Google asks for each page of a listing to have its own URL and its own canonical, and not for all of them to point to the first one (pagination on ecommerce sites, Google). That is exactly what PrestaShop does: the category canonical includes the page number (category controller). The three mistakes we see:
- Canonicalising pages 2, 3 and 4 to page 1. You are telling Google those pages are surplus, and the products linked only from them may go uncrawled.
- Setting them to
noindex. Google does not recommend it for pagination, only for sort and filter variants that repeat the same listing. - Worrying about
rel="next"andrel="prev". Google has not used them since 2019. PrestaShop still adds them and it does no harm, but it does not help either.
What is worth checking is the sort order (?order=) and results per page, which are not pagination but variants of the same listing. We explain it in the same page with several URLs and, for filters, in how to stop PrestaShop filters being indexed.
Pages 2, 3 and 4 repeat the title of the first with the number after it. What PrestaShop does with each title is covered in the title of pages 2, 3 and 4 and the rest of the shop.
What happens when it is done well
We are going to apply this approach on the 195-category shop from the example, and we will add here the measured evolution of the Soft 404 warnings and of the pages crawled but not indexed at 4, 8 and 12 weeks.
What breaks if you do it wrong
- Deleting the category instead of disabling it. You lose its description, its metadata and its image, and there is no going back. Disabling is reversible.
- Disabling a category that is linked by hand. If the menu, a banner or a text links to it by its URL, those links lead to a 404. Check them first.
- Redirecting all the empty ones to the home page. Google may treat it as a soft 404 anyway, and the customer lands on a page they did not ask for.
- Adding the
noindexwithout the condition. If you put it in the theme without theif, you deindex every category in the shop. Check a category with products right after saving it. - Touching the pagination canonical with an SEO module. Some offer “canonical to the first page” as an option. Leave it off.
If your categories do have products and still do not rank, the cause is something else: we explain it in why a category with products does not rank.
When you cannot do this yourself
You can do it yourself if you have few empty categories, none of them gets visits and you can disable them from the back office. You need help if there are dozens, if they come from a migration and you do not know which ones had traffic, if your shop is on PrestaShop 8 and you have to redirect from the server, or if the theme files need changing. That is part of what we review in SEO for PrestaShop (in Spanish).
Want to know whether this affects your shop?
Leave us your URL. We review it and tell you what we find and what it is costing you, with no commitment.
Received. We reply within 24 working hours.
Frequently asked questions
What happens to empty PrestaShop categories on Google?
A category with no products keeps responding with a valid, almost empty page. If there are many, Google crawls pages with no value and they can worsen its picture of the shop.
Is it better to disable or redirect an empty category?
If it is going to have products again soon, it can be left with noindex in the meantime. If it is not coming back, it is disabled and redirected to the most similar category.
Should pagination pages be set to noindex?
No. Google recommends that each pagination page be indexable and have its own canonical. Setting them to noindex or canonical to the first page can stop Google reaching the products on the following pages.
How do I find the empty categories in my shop?
By checking the category list with the number of products, with a database query or with a crawl of the shop that shows the category pages with no products.