# JPKCom Rank Math Options — Guide & Tips

> Use JPKCom Rank Math Options to unlock the robots.txt/.htaccess editors, remove Rank Math credits and disable telemetry — including on multisite, with zero configuration.

Source: https://www.jpkc.com/db/en/guides/jpkcom-rank-math-options/

JPKCom Rank Math Options is a lightweight companion plugin for [Rank Math SEO](https://wordpress.org/plugins/seo-by-rank-math/). It unlocks features hidden by default — chiefly the robots.txt/.htaccess editors on multisite — and trims a few Rank Math defaults most operators end up disabling anyway. There is nothing to set up: activating it is enough.

## Guide

### Requirements

- WordPress **6.9** or newer (tested up to 7.0)
- PHP **8.3** or newer
- **Rank Math SEO** must be installed and active — the plugin header declares `Requires Plugins: seo-by-rank-math`, so WordPress prevents activation otherwise
- Network-ready: can be network-activated on multisite and takes effect on every site

### Installation

1. Upload the `jpkcom-rank-math-options` directory to `/wp-content/plugins/`, or install the ZIP via **Plugins → Add New → Upload Plugin**.
2. Activate the plugin (network-wide on multisite) under **Plugins → Installed Plugins**.
3. Make sure **Rank Math SEO** is active.
4. Open **Rank Math → General Settings → Edit robots.txt** or **Edit .htaccess** — the editors are now available.

### Configuration

There is nothing to configure — activating it is enough. If you want to disable the behaviour temporarily without deactivating the plugin, you can unhook the filter from another plugin or your `functions.php`:

```php
remove_filter( 'rank_math/can_edit_file', '__return_true' );
```

## Tips & Tricks

- **Why the editors are missing in the first place:** Rank Math hides the robots.txt/.htaccess editors on multisite (and when the `RANK_MATH_ADVANCED_MODE` constant is not set) for safety. The plugin opts your installation back in via the official `rank_math/can_edit_file` filter (returning `true`).
- **Cleaner source & sitemap:** The "Powered by Rank Math" HTML comment in the frontend and the "Generator" line in the XML sitemap are removed.
- **Telemetry off:** Rank Math's anonymous usage tracking is forced off at the option layer (via an `option_rank-math-options-general` filter that rewrites the `usage_tracking` key to `off` on read — the only reliable hook point).
- **Spec-compliant llms.txt:** Rank Math prepends an intro paragraph to the generated `llms.txt`; the plugin strips it so the file starts with the site's H1 as the spec expects.
- **Tidy admin bar:** The Rank Math menu node is removed from the WordPress admin bar (frontend and backend).
- **No database writes:** The plugin only hooks into Rank Math filters — no UI, no options, no database entries of its own.

## Further reading

- Source code on GitHub: <https://github.com/JPKCom/jpkcom-rank-math-options>
- Rank Math SEO: <https://wordpress.org/plugins/seo-by-rank-math/>
- [This project's changelog](https://www.jpkc.com/db/en/changelog/jpkcom-rank-math-options/)

