=== Monitor.Cat ===
Contributors: monitorcat
Tags: seo, speed, performance, diagnostics, optimization
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
Stable tag: 1.2.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

SEO analysis, speed optimization, and diagnostics toolkit for WordPress. All-in-one site health from one dashboard.

== Description ==

Monitor.Cat is a lightweight WordPress toolkit that helps you understand and improve your site's SEO, performance, and system health — all from one beautiful dashboard.

**No external services required.** Everything runs locally on your WordPress installation. No accounts to create, no API keys to configure, no data leaves your site.

= SEO Analysis =

Scan any post or page for SEO issues with 10 built-in analyzers:

* **Meta tags** — Title and description length, presence, and uniqueness
* **Open Graph** — OG and Twitter Card tag verification
* **Heading hierarchy** — H1-H6 structure validation
* **Image alt text** — Coverage analysis across all images
* **Schema.org** — Structured data detection
* **Links** — Internal and external link analysis
* **XML Sitemap** — Sitemap availability check
* **Robots.txt** — Search engine visibility verification
* **Canonical URLs** — Duplicate content prevention
* **Readability** — Content readability scoring

= Speed Optimization =

Analyze and improve your site's loading performance:

* **Page weight** — HTML size and resource analysis
* **Image optimization** — WebP availability and lazy loading check
* **Asset audit** — CSS/JS file count and render-blocking detection
* **Database cleanup** — Remove revisions, auto-drafts, spam, and expired transients
* **Caching** — Object cache, page cache, and browser cache detection
* **Compression** — GZIP/Brotli compression verification
* **Response time** — Server TTFB measurement

= System Diagnostics =

Comprehensive environment information at a glance:

* PHP version, extensions, and configuration
* WordPress version, debug settings, and constants
* Database server info and table statistics
* Web server, disk space, and SSL status
* Active plugins and theme details
* Health checks: cron, REST API, permalinks, file permissions

= Coming Soon =

Additional modules are in development:

* Security — Login protection and hardening
* Backup — Scheduled database and file backups
* SMTP — Mail configuration and testing
* Redirect Manager — URL redirect management
* Scanner — Malware and integrity scanning

== Installation ==

1. Upload the `monitor-cat` directory to `/wp-content/plugins/`
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Navigate to **Monitor.Cat** in the admin sidebar
4. Run your first SEO scan or speed analysis

Or install directly from the WordPress Plugin Directory:

1. Go to **Plugins → Add New** in your WordPress admin
2. Search for "Monitor.Cat"
3. Click **Install Now**, then **Activate**

== Frequently Asked Questions ==

= Does this plugin connect to external services? =

No. All analysis runs locally on your WordPress installation. No data is sent to external servers.

= Will it slow down my site? =

No. All scans run on-demand in the admin area. The plugin adds zero overhead to your frontend pages.

= What PHP version do I need? =

PHP 8.0 or higher is required.

= Can I remove it cleanly? =

Yes. When you delete the plugin through WordPress, all settings and cached data are removed automatically.

= Does it conflict with SEO plugins like Yoast or RankMath? =

No. Monitor.Cat detects popular SEO plugins and factors them into its analysis. It complements rather than replaces dedicated SEO plugins.

== Screenshots ==

1. Dashboard with module overview and quick-access cards
2. Speed Optimizer with Cat Score, server-side analysis, and database cleanup

== Changelog ==

= 1.2.2 =
* Fixed WP.org plugin check warnings: prefixed all template globals, added translators comment, created languages directory
* Added wp_cache for duplicate title DB query in MetaAnalyzer
* Shortened readme.txt short description to under 150 characters

= 1.2.1 =
* Fixed robots.txt parser not resetting user-agent groups between sections, causing AI crawler blocks to be incorrectly overridden
* Added missing test stubs for wp_parse_url, get_categories, _n, wpautop
* Updated test expectations for SchemaAnalyzer and GeoReadinessAnalyzer

= 1.2.0 =
* Complete rewrite from the ground up
* Added SEO analysis module with 10 analyzers
* Added Speed optimization module with 7 analyzers and database cleanup
* Added Diagnostics module with 6 collectors
* New design system matching the Monitor.Cat brand
* Modern architecture with PSR-4 autoloading
* REST API endpoints for all modules
* Self-hosted fonts and icons (no external CDN calls)

= 1.1.1 =
* Initial WordPress.org release

== Upgrade Notice ==

= 1.2.1 =
Bug fix: robots.txt AI crawler analysis now correctly identifies blocked bots.

= 1.2.0 =
Major rewrite with new SEO, Speed, and Diagnostics modules. Clean install recommended.
