Install Plugster on PrestaShop
We read your public pages and prepare them for AI assistants: a summary of your site (llms.txt), a clean version of every page, and tools they can call (MCP server). On your side, two things to do, and nothing else in your pages changes.
1. Two lines in the <head>
They tell assistants where to find the clean version of your site, and load the script that offers them its tools, along with the chat if you switch it on. Your dashboard gives you the exact lines, with your site’s address in place of <your-site>.
<link rel="describedby" href="https://plugster.ai/<your-site>/llms.txt?via=link">
<script src="https://plugster.ai/<your-site>/plugster.js" async></script>
- PrestaShop has no field for adding code to the <head>: the two lines go in the theme.
- Open, by FTP or your host’s file manager, the file themes/<your theme>/templates/_partials/head.tpl (themes/<your theme>/header.tpl on PrestaShop 1.6).
- Paste the two lines at the end of head.tpl, or just before </head> in header.tpl, then save.
- Clear the cache: Advanced Parameters → Performance → Clear cache.
- A theme update replaces this file: the two lines will have to be pasted again afterwards.
2. A redirect of /llms.txt (recommended)
Assistants look for /llms.txt at the root of a domain. A redirect sends them to the one we keep up to date for you; replace <your-site> with the address your dashboard gives. If your site already serves its own /llms.txt, keep it: there is no redirect to set, the two lines in the <head> are enough.
- PrestaShop has no redirect manager: the redirect goes in the .htaccess file at the root of the shop.
- Add these two lines at the very top of the file, before the # ~~start~~ line: RewriteEngine on
- RewriteRule ^llms\.txt$ https://plugster.ai/<your-site>/llms.txt?via=redirect [R=301,L]
- PrestaShop rewrites this file when the Traffic & SEO settings change, but keeps what is written before # ~~start~~.
- On Nginx hosting, which does not read .htaccess: add this to the site configuration: location = /llms.txt { return 301 https://plugster.ai/<your-site>/llms.txt?via=redirect; }
Good to know about PrestaShop
- A child theme keeps the two lines safe from updates of its parent theme: if you have one, paste them in its head.tpl.
- A module that generates an llms.txt no longer has any effect once the redirect is in place: the .htaccess rule runs before it.
Check it is in place
In your dashboard, the Check installation button reads your site’s home page and says, line by line, what it found.
For the redirect, open /llms.txt on your site: you should land on a plugster.ai address. From the command line, curl -I https://<your-domain>/llms.txt answers 301, with our address in Location.
Then
Your dashboard checks the install, we read your site, and you see what AI assistants read and search for on it.