PS PrestaShop Intermediate

DataFirefly All in One SEO — Complete documentation

Installation, settings and behaviour of DataFirefly All in One SEO 2.0.0 for PrestaShop 1.7.8, 8 and 9: meta, canonical, hreflang, JSON-LD, redirects, 404, sitemap, robots.txt, llms.txt and Consent Mode v2.

Updated Module version 2.0.0

DataFirefly All in One SEO gathers the SEO settings of a PrestaShop 1.7.8, 8 or 9 shop in one module: meta templates, canonical and hreflang, JSON-LD, Open Graph, redirects, 404 log, XML sitemap, robots.txt, llms.txt and consent-aware tracking. It writes each tag once, in the place your theme already prints it, and removes the copies of the theme.

Version 2.0.0. Rewritten module: PrestaShop 1.7.8 to 9, PHP 7.1 to 8.5, back office in 8 languages. Updating from 1.0.x keeps your redirects, overrides, templates, robots.txt rules and custom JSON-LD.

Requirements

  • PrestaShop 1.7.8, 8.x or 9.x (Classic, Hummingbird or a theme using the standard variables $page.meta, $page.canonical and $urls.alternative_langs).
  • PHP 7.1 to 8.5.
  • Friendly URLs enabled for /sitemap.xml and /llms.txt.
  • Optional: the official productcomments module, the only source used for the average rating.

Installation and update

  1. In Modules > Module Manager, click Upload a module and choose dfallinoneseo-2.0.0.zip.
  2. The module creates 11 tables (ps_df_seo_*), registers 20 hooks and adds the DataFirefly SEO menu under Improve.
  3. If you already use 1.0.x, upload the new zip over it: PrestaShop runs the update script. Your data is kept; obsolete files of 1.0.x are removed.
If another sitemap module (gsitemap, DataFirefly Sitemap) or 404 module (DataFirefly 404 Smart) is active, the corresponding feature of All in One SEO starts switched off, so you never get two sitemaps or two 404 logs.
After an update from 1.0.x: Google tags now wait for the visitor’s consent (basic Consent Mode), and the custom head code saved in 1.0.x, which was never printed, is now printed. Check the Tracking & consent page.

Dashboard

The dashboard lists what the module controls and what is left to do: meta titles and descriptions missing per type and per language, duplicate titles, 404 errors seen in the last 30 days, redirect chains, sitemap status, robots.txt status and conflicts with other modules. Each recommended action opens the page that fixes it.

SEO dashboard: completeness indicator, recommended actions and active features
SEO dashboard: completeness indicator, recommended actions and active features
The score is the share of checks that pass. It describes your configuration and content; it is not a ranking or traffic measurement and does not predict one.

Meta templates

A template writes the meta title and the meta description of the pages whose PrestaShop fields are empty, at display time. Your fields are never overwritten. Order of priority: SEO override of the page, then the PrestaShop field, then the template, then the PrestaShop default (the name).

Meta title and meta description templates with variables and search result preview
Meta title and meta description templates with variables and search result preview

Variables

  • Every page: {shop_name}, {sep} (separator chosen in the settings), {page_num}, {year}.
  • Products: {product_name}, {brand}, {category}, {reference}, {ean13}, {price}, {price_tax_excl}, {short_description}.
  • Categories: {category}, {category_parent}, {category_description}. CMS pages: {cms_title}, {summary}. Brands and suppliers: {manufacturer}, {supplier} and their descriptions.

A part written between {?brand} and {/?} is shown only when the variable has a value. HTML is removed from the values, separators left alone by an empty variable are removed, and the result is cut at a word boundary at the limits you choose (65 and 160 characters by default). The preview shows the result on a real item of your shop.

Bulk editor

A table of the PrestaShop meta titles, meta descriptions and URLs (slugs) of products, categories, CMS pages, brands and suppliers, language by language, with filters: no meta title, no meta description, too long, duplicate titles. Only the rows you modify are saved. A changed URL is normalised and gets a 301 redirect from the old address.

Bulk editing of meta titles, meta descriptions and URLs, with filters and length counters
Bulk editing of meta titles, meta descriptions and URLs, with filters and length counters

The Write the templates into the PrestaShop fields block is optional (templates already apply to empty fields): preview first, then write empty fields only (recommended) or every field, in this language or in all languages.

SEO settings of a page

For a product, category, CMS page, brand or supplier: meta title and description per language (they replace the PrestaShop values on the shop only), canonical URL, sharing title and description, sharing image, noindex, nofollow and focus keyword.

SEO settings of a page: title, description, canonical URL, sharing, noindex and focus keyword per language
SEO settings of a page: title, description, canonical URL, sharing, noindex and focus keyword per language

The same settings are available in the Modules tab of the product page, with a preview of the search result, the title actually used and its origin (override, SEO tab, template or product name), and the content checklist. The box saves its own fields and never touches the product form.

SEO box of the product page: Google preview, title actually used, score and points to fix
SEO box of the product page: Google preview, title actually used, score and points to fix

Content analysis and page inspector

The analysis checks the texts of each product, category and CMS page: meta title and description present and of a reasonable length, unique title, amount of text, image captions, no H1 in the description, focus keyword in the title, description, text and URL. Run it in batches from the page; the results are sorted by score.

Content analysis: score per page, distribution and checks to fix first
Content analysis: score per page, distribution and checks to fix first

The inspector reads a page of your shop as a visitor receives it and lists its tags: title, description, robots, canonical, hreflang, Open Graph and X, JSON-LD, with the duplicates found. Only the addresses of your shop can be inspected.

Page inspector: tags actually sent (title, canonical, hreflang, Open Graph, JSON-LD) without duplicates
Page inspector: tags actually sent (title, canonical, hreflang, Open Graph, JSON-LD) without duplicates

Structured data (JSON-LD)

One @graph per page, built from what the page shows:

  • Organization (or OnlineStore, Store, LocalBusiness, Corporation): name, legal name, logo, e-mail, phone, address, VAT number, profiles (sameAs) and, if you declare it, the return policy (MerchantReturnPolicy).
  • WebSite and WebPage.
  • BreadcrumbList: the breadcrumb displayed by the theme.
  • Product and Offer: price and currency as displayed to the visitor (tax included or excluded), availability (InStock, BackOrder, OutOfStock) with the rules of the add-to-cart button, condition, brand, GTIN-13 / GTIN-12, images. priceValidUntil only when a specific price has an end date.
  • AggregateRating: only validated reviews of productcomments, only when that module displays them on the product page.
  • Custom blocks (Event, Course, Recipe…) on the pages you choose, with {shop_name}, {base_url}, {page_url} and {entity_id}.
JSON-LD structured data: Organization, Product and Offer, BreadcrumbList, return policy and custom blocks
JSON-LD structured data: Organization, Product and Offer, BreadcrumbList, return policy and custom blocks

In module markup mode, the theme blocks of the same types are removed; in theme markup mode, the module adds only your custom blocks. The JSON is always re-encoded by the module, so a text cannot close the script element.

Google retired the sitelinks search box (SearchAction) in November 2024 and no longer shows FAQ rich results since 2026: both remain available as options or custom blocks, without rich result in Google. Rich results are never guaranteed.

Social networks

Open Graph (title, description, URL, locale, image, product price and availability) and X card tags, written once. The image is the custom sharing image of the page, then the main product image or the category image, then the default image.

Social networks: Open Graph, X (Twitter) card, default image and sharing preview
Social networks: Open Graph, X (Twitter) card, default image and sharing preview

Redirects

Rules 301, 302, 307, 308 and 410, matching an exact URL, URLs starting with a prefix, or a regular expression (captures $1, $2… in the destination). Filters: type, automatic, never used, inactive, chains.

301, 302 and 410 redirects: exact, prefix and regex rules, origin, hits and filters
301, 302 and 410 redirects: exact, prefix and regex rules, origin, hits and filters
  • Checked before saving: a rule to the same page or back to its source (loop) is refused, a destination that is itself redirected is reported, a source that already has a rule is refused.
  • Safety: a relative destination always stays on your shop (a captured //other-site never becomes a domain), an absolute destination keeps its domain. Only GET and HEAD requests are redirected, never the back office.
  • Automatic 301 when the URL of a product, category, CMS page, brand or supplier changes, in every language; renaming back never creates a loop.
  • Exact rules are found with one indexed query; prefix and regular expression rules are cached.

The tester shows which rule answers a URL without visiting it. The CSV import detects the separator (; or ,) and accepts the file of the export.

Test a URL without visiting it and import redirects from a CSV file
Test a URL without visiting it and import redirects from a CSV file

404 errors

One row per missing URL with its number of hits, last visit, origin and a suggested replacement page. Robots, static files (images, CSS, JS) and usual probe URLs are ignored; tracking parameters are removed; the referrer is kept without its parameters; no IP address is stored. Rows older than the retention period (90 days) and rows above the maximum (5,000) are removed automatically.

404 error log grouped by URL, with origin and suggested replacement page
404 error log grouped by URL, with origin and suggested replacement page

XML sitemap

/sitemap.xml is an index pointing to one file per type and per language (/sitemap-products-en-1.xml…), at most 1,000 URLs per file by default (50,000 maximum). A file is built when it is requested and kept in cache 24 hours in var/dfallinoneseo/. Each URL lists its versions in every language (xhtml:link hreflang, itself included, plus x-default) and the product images (image:loc).

XML sitemap: content, images, hreflang, cache and detection of another sitemap module
XML sitemap: content, images, hreflang, cache and detection of another sitemap module

Never listed: inactive or invisible items, noindex pages, pages whose canonical URL is another page, CMS pages not indexable, root and home categories. Submit the index address in Google Search Console and Bing Webmaster Tools. A sitemap helps search engines discover your pages; it does not guarantee their indexing.

robots.txt and llms.txt

The module never writes robots.txt on its own. You add rules (Disallow, Allow), choose the AI crawlers to address and the Sitemap line, read the preview where the block of the module is highlighted, tick the confirmation and write. Only the block between # BEGIN DataFirefly SEO and # END DataFirefly SEO is replaced; the rest of the file is kept. The previous file is saved in var/dfallinoneseo/robots/ and can be restored in one click.

robots.txt: module rules, AI crawlers, highlighted preview, confirmed write and backups
robots.txt: module rules, AI crawlers, highlighted preview, confirmed write and backups
Disallow stops crawling, not indexing: to keep a page out of search results, use noindex. Blocking an AI crawler is a request that each operator decides to follow or not. Google ignores Crawl-delay.

/llms.txt follows the proposal of llmstxt.org: shop name, one-sentence summary, optional free text, then lists of links to your categories and information pages. It is off by default. It is a proposal, not a standard: no effect on visibility or traffic is promised, and Google states that search does not need it.

llms.txt: summary, free text per language and preview of the file in the format proposed by llmstxt.org
llms.txt: summary, free text per language and preview of the file in the format proposed by llmstxt.org

Google Analytics 4, Google Tag Manager, Meta pixel and TikTok pixel with Google Consent Mode v2. Consent is denied by default. In basic mode (recommended), no Google tag and no pixel loads before the visitor accepts in your cookie banner; in advanced mode, Google tags load at once and adapt to the consent; pixels always wait for ad_storage = granted. Your banner must send the Google consent update (gtag('consent', 'update', ...)) or call window.dfseoConsent.update({ analytics_storage: 'granted' }). Optional GA4 events: view_item, add_to_cart, purchase.

GA4, Tag Manager and pixels tracking with Google Consent Mode v2, verification codes and protected custom code
GA4, Tag Manager and pixels tracking with Google Consent Mode v2, verification codes and protected custom code

Verification codes: Google Search Console, Bing, Yandex, Pinterest, Baidu. Custom code before </head> and </body>: only a SuperAdmin, or a profile allowed by a SuperAdmin, can change it; each change is written to the PrestaShop logs.

Settings

SEO features on or off for the front office, removal of the theme duplicates, redirects and automatic 301, canonical (overrides, filtered pages to the category, pagination to itself or to page 1), hreflang (codes fr-FR or fr, x-default: default language, a chosen language or none), noindex rules (search, filtered listings, cart and checkout, customer account, new products, best sellers, price drops), deletion of the data at uninstall, export and import of the settings (JSON, without the custom code), maintenance.

Settings: front features, removal of theme duplicates, canonical, hreflang, x-default and noindex rules
Settings: front features, removal of theme duplicates, canonical, hreflang, x-default and noindex rules

Compatibility with other modules

  • gsitemap / DataFirefly Sitemap: keep a single sitemap; the module warns when two are active.
  • DataFirefly 404 Smart: keep a single 404 log, and each redirect rule in one module only.
  • ps_googleanalytics: if it already sends GA4, do not fill the GA4 ID here (double counting).
  • Modules that add their own Product JSON-LD: use the theme markup mode if you want to keep theirs.

Troubleshooting

  • /sitemap.xml answers 404: the sitemap of the module is off (another sitemap module is active?), friendly URLs are off, or a sitemap.xml file exists at the root.
  • The title does not change: the page has an override or a meta title of its own; the template applies only to empty fields. Check with the page inspector.
  • Two canonical or Open Graph tags: switch on Remove the duplicates of the theme in the settings.
  • Google tags never load: in basic mode they wait for consent; check that your banner sends the consent update.
  • The robots.txt block disappeared: PrestaShop regenerated the file (Traffic & SEO); write it again from the module.

Uninstallation

Uninstalling removes the menu, the hooks and the settings. Redirects, overrides and templates are kept unless you switched on Delete the data when uninstalling; robots.txt is not modified (remove the block from the module page before uninstalling if you wish).

Was this page helpful?

Still stuck? Contact support