---
title: Robots
url: 'https://info.srv.kowal.co/docs/magento/modules/robots'
markdown: 'https://info.srv.kowal.co/docs/magento/modules/robots.md'
lang: en
date: '2026-11-29'
description: 'Set indexing and link-following rules for storefront paths. Test prefix and wildcard matches, then check the robots meta tag on a matching page and a control page.'
taxonomy:
  category:
    - docs
    - Magento
    - Modules
  tag:
    - seo
    - metadata
---

# Robots

**Composer** `kowal/module-robots` · **Version** 1.0.11

## Product page

[Robots — kowal.co](https://kowal.co/magento-2-module-robots-tag-management)

## Description

Sets robots meta directives for storefront URLs using path-matching rules.

## For whom

For store administrators and SEO teams managing indexing directives for particular groups of pages.

## Features

- Separate NOINDEX and NOFOLLOW rule lists.
- Prefix and wildcard path matching.
- Matching against the public URL path even when Magento rewrites it internally.

## Installation

From the Magento root, with Composer access to the Kowal package, run

```sh
composer require kowal/module-robots
bin/magento module:enable Kowal_Robots
bin/magento setup:upgrade
bin/magento cache:clean
```

## Configuration

1. Enable the module under **robots → settings** in the intended scope.
2. Enter one path per line without the domain. For example, `customer/account/login/` matches a path prefix, while `*archive.html` matches a suffix.
3. Enter a rule in both lists when both directives should apply. Save and refresh the page cache.

## Requirements / notes

The package requires `kowal/base`. Matching is case-sensitive. The directive appears in the page HTML. The robots.txt file has separate configuration.

## FAQ

**Does an entry without a wildcard match just one URL?**

It matches a path prefix, so it may also apply to longer paths beginning with the same characters.

## Verify the installation

```sh
bin/magento module:status Kowal_Robots
```

On staging, configure NOINDEX for a chosen path. Compare the `meta name="robots"` element in the source of a matching page and a control page. Add the rule to NOFOLLOW and check for both values.

---

## Navigation

- Parent: [Magento 2 Extensions](https://info.srv.kowal.co/docs/magento/modules.md)
- Previous: [Catalog Hover Image](https://info.srv.kowal.co/docs/magento/modules/catalog-hover-image.md)
- Next: [Product Popularity](https://info.srv.kowal.co/docs/magento/modules/popularity.md)
