Separate robots.txt for each storefront
This add-on is part of our Subscription plan.
Subscribe once — enjoy all add-ons without limits.
Separate robots.txt for each storefront helps manage indexing rules individually for every CS-Cart storefront. Instead of one shared file, the administrator gets separate robots.txt content for different domains and storefront scenarios.
What it is for
The add-on is useful for stores with multiple storefronts where search engine rules differ: one storefront can keep the catalog open, another can hide service sections, and a third can use its own directives or sitemap. It is convenient for multi-storefront projects, regional sites, test storefronts and stores with different SEO requirements.
Key features
Separate robots.txt content for each storefront, management from the administration panel without manual server access, storefront tabs for quick switching, protected edit mode, restoring the source content and checking write access before saving changes.
How it works
In the administration panel, the add-on displays storefronts and the robots.txt text for the selected storefront. The administrator enables editing, updates directives and saves the result. When robots.txt is requested on the storefront, search engines receive the content prepared specifically for that storefront.
Have questions about the add-on?
- English
- Русский
- 4.18.X
- 4.17.X
- 4.16.X
- 4.15.X
- 4.14.X
- 4.13.X
- 4.12.X
- 4.11.X
- 4.10.X
- 4.9.X
Instructions for Separate robots.txt for each storefront
What the add-on does
The add-on lets you store and edit a separate robots.txt file for each CS-Cart storefront. This is useful when storefronts have different domains, sitemaps, closed sections or indexing requirements.
On first use, the add-on keeps the original robots.txt as a backup and uses it as the base content. Storefront-specific files are then used for indexing rules, and a public request to robots.txt returns the content assigned to the storefront.
Where to find the add-on
The management page is available in the administration panel under Website → SEO → Robots.txt. Each storefront is shown as a separate tab on the page.
The add-on details page also includes tabs with the full description, instructions and change history.
How to edit robots.txt for a storefront
Open the robots.txt management page and select the tab of the required storefront. Check the storefront name and domain to avoid changing rules for another storefront.
Enable the Edit robots.txt checkbox. The text area becomes editable. Add the search engine directives required for this storefront: User-agent, Disallow, Allow, Sitemap and any other lines needed for indexing.
Click Save. If the file is writable, the add-on saves the new content for the selected storefront. If write access is missing, the administrator sees an error notification.
How to restore the source content
On the storefront tab, click the restore button for the original robots.txt content. The add-on inserts the base content into the form. Review it, enable editing if needed and save it for the storefront.
Write permissions
To save changes, the web server must be able to write the robots.txt files used by the add-on. If a permissions error appears during saving, check file permissions in the CS-Cart root directory and save again.
How to check the result
After saving, open the public /robots.txt URL on the required storefront domain. Make sure it displays the text saved for that storefront.
Repeat the check for other storefronts: each one should return its own robots.txt. Also verify the Sitemap line and closed sections so search engines receive the correct indexing rules.
Change history
v1.2.0 from 2026-02-20
[*] Updated the add-on template
[*] Added the full description, instructions, change history and service tabs to the add-on details page
[*] Updated licensing and upgrade center service files
v1.1.1 from 2023-08-07
[*] Standardized the add-on
[*] Updated add-on service files and the icon
v1.1 from 2020-01-28
[+] Added support for separate robots.txt files for storefronts
[+] Added a robots.txt management page in the administration panel
[+] Added public robots.txt output on the storefront
[!] Moved the add-on development history to Git under task https://makeshoppro.flowlu.ru/_module/task/view/task/7794
Legend:
[+] Added
[-] Removed
[*] Changed
[!] Bug fix