noindex-seo/README.md
2026-08-10 19:07:06 +00:00

1.3 KiB

noindex SEO

Control search engine indexing with robots directives (noindex, nofollow, noarchive, nosnippet, noimageindex) for specific parts of your WordPress site.

For end users

See readme.txt for installation, usage, and the WordPress.org-format changelog.

For developers / contributors

  • CLAUDE.md — project-specific architecture, data model, tooling setup, and deliberate exceptions to the AGENTS defaults. Read this first.
  • AGENTS.md — index to the contribution guidelines (security, compatibility, tooling, testing, deployment). Topic-specific rules live in the AGENTS-*.md files.

Common commands

composer install                              # Install dev dependencies
vendor/bin/phpcs                              # WordPress Coding Standards
vendor/bin/phpstan analyse --memory-limit=1G  # Static analysis (level 9)
vendor/bin/phpunit                            # Test suite (71 tests)
bash bin/preflight.sh                         # Full pre-deploy verification

Test setup

Copy the sample config and fill in your local DB credentials:

cp tests/wp-tests-config.sample.php tests/wp-tests-config.php

The WordPress test library must be installed at /tmp/wordpress-tests-lib (or set WP_TESTS_DIR).

License

GPL-3.0-or-later. See LICENSE.