=== SEO Repair Kit – AI Chatbot, Schema Manager, SEO Content Monitoring, GSC Integration, Keyword & Rank Tracking ===
Contributors: torontodigits
Donate link: https://seorepairkit.com/
Tags: SEO chatbot, schema markup, 404 monitor, broken link checker, 301 redirection
Requires at least: 5.0.0
Tested up to: 6.9
Requires PHP: 7.4.3
Stable tag: 2.1.1
Release Date: 15-01-2026
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

The ultimate WordPress plugin for SEO automation - from link fixing to AI-powered schema generation and chatbot support.

== Description ==

**SEO Repair Kit v2.1.1** by [TorontoDigits](https://www.torontodigits.com) is a comprehensive WordPress SEO plugin that takes SEO management to the next level with **AI-powered tools** and **automated schema generation**. This all-in-one solution helps you maintain, monitor, and optimize your website's search engine performance.

= Key Features =

**🧠 AI Chatbot (Pro Feature)**
A built-in AI assistant trained to help users improve SEO performance, fix content issues, and receive real-time suggestions — all directly within the WordPress dashboard.
* Context-aware SEO optimization guidance
* Automated troubleshooting support
* Real-time Q&A for schema, redirection, and keyword tracking

**🧩 Schema Manager (Pro Feature)**
A complete schema management that enables users to automatically generate, validate, and manage schema markups for their content. Supports 15+ schema types including Article, Blog Posting, News Article, FAQ, How To, Video Object, Product, Job Posting, Event, Course, Review, Recipe, Local Business, Organization, Corporation, Reservation, Medical Condition, Medical Web Page, Aggregate Rating, and Website.

The Schema Manager allows users to visually configure, preview, and deploy JSON-LD markups across any post type, ensuring SEO compliance and rich results visibility on search engines.

**🔗 Broken Link Scanner**
Advanced link scanning functionality that detects broken internal and external links across your website. Features include:
* Scans all post types for broken links
* Real-time HTTP status code checking
* CSV export for broken links
* Direct edit and redirection options
* Scheduled automatic scanning (weekly/monthly)
* Progress tracking during scans

**📊 KeyTrack - Keyword Performance Tracking**
Comprehensive keyword tracking system integrated with Google Search Console via Google Site Kit plugin:
* Track keyword positions, impressions, CTR, and clicks
* Visual performance insights with interactive charts
* Overview, Pages, Queries, and Settings tabs
* Customizable date ranges for performance analysis
* Threshold settings for custom performance monitoring
* Email reports based on user preferences
* Advanced insights for all pages and queries

**🖼️ Alt Text Manager**
Efficient management of image alt text for improved SEO and accessibility:
* Scans all media images for missing alt text
* Bulk update functionality for multiple images
* Dedicated page for alt text repair
* Add or update alt text for individual images
* Automatic detection of images without alt attributes

**🔄 Redirection Manager**
Professional URL redirection management system:
* Create 301 and 302 redirects
* Track redirect hits and performance
* Active/inactive redirect status management
* Most hit redirect analytics
* Regex pattern support for advanced redirects
* Position-based redirect ordering

**🚫 404 Error Monitor**
Automatic tracking and logging of 404 errors:
* Real-time 404 error detection
* Detailed logging with referrer, user agent, and IP address
* 404 error analytics and reporting
* Easy redirect creation from 404 logs
* Domain-based error tracking

**🤖 Bot Manager**
Comprehensive control over search engine and AI crawler access:
* Manage robots.txt file with visual editor
* Generate and manage llms.txt file for AI model discovery
* Control which AI bots can access your content
* Block or allow specific AI crawlers (ChatGPT, Claude, Google Bard, etc.)
* Server-level bot access control with 403 responses
* Automatic robots.txt rules for blocked bots
* LLMs.txt generator with post type and taxonomy selection
* Real-time validation and preview
* Enhanced robots.txt with security and SEO best practices

**📧 Weekly SEO Summary Email**
Automated weekly email reports with comprehensive SEO insights:
* Search performance metrics (KeyTrack data)
* Broken links analysis and health scores
* Image alt text optimization status
* Redirection statistics and analytics
* Pro plan status and upgrade reminders
* Beautiful HTML email templates

**⚙️ Settings & Configuration**
Comprehensive settings management:
* Post type selection for scanning
* 404 monitoring enable/disable toggle
* Weekly report email preferences
* Last report status tracking
* Customizable plugin behavior

**📱 Interactive Dashboard**
Centralized dashboard for all SEO operations:
* Site SEO analysis with issue detection
* Quick access to all plugin features
* Real-time status widgets
* SEO health score calculations
* Issue severity categorization (critical, warning, suggestion)

**🎯 Onboarding Flow**
User-friendly guided setup wizard:
* Multi-step configuration process
* Post type selection
* Feature enablement (KeyTrack, Schema, Notifications)
* Link scanning schedule setup
* Email notification preferences
* One-time setup completion

= Additional Features =

* License management system for Pro features
* Google Search Console integration via Site Kit
* Database migration system for version updates
* Comprehensive error logging and debugging
* Admin notices and status tracking
* REST API endpoints for subscription management
* Responsive and modern UI design
* Full WordPress coding standards compliance

== Screenshots ==

1. SEO Repair Kit dashboard overview
2. SEO Repair Kit link scanning in progress
3. SEO Repair Kit after completing scanning with results
4. SEO Repair Kit alt text missing scanning interface
5. SEO Repair Kit redirection management page
6. SEO Repair Kit settings configuration
7. KeyTrack overview dashboard
8. KeyTrack pages performance view
9. KeyTrack queries analysis
10. KeyTrack threshold settings
11. KeyTrack threshold email report
12. Schema Manager interface
13. AI Chatbot interface
14. 404 Error Monitor dashboard
15. Bot Manager - robots.txt and llms.txt management

== Changelog ==

= 2.1.1 =
* Introduced Bot Manager feature for comprehensive search engine and AI crawler control
* Added robots.txt management with visual editor and validation
* Introduced llms.txt generator for AI model training and content discovery
* Added AI bot access control to allow/block specific crawlers (ChatGPT, Claude, Google Bard, DeepSeek, Grok, Qwen AI, Meta Llama, Cohere, Mistral AI, Hugging Face, and more)
* Implemented server-level bot blocking with 403 responses
* Added automatic robots.txt rules for blocked bots
* Added Author schema type to Schema Manager for enhanced author markup
* Improved schema management capabilities with new author schema support
* Enhanced SEO tools with advanced bot management capabilities

= 2.1.0 =
* Introduced AI Chatbot for real-time SEO assistance and automation (Pro feature)
* Added Schema Manager supporting 15+ schema types (Pro feature)
* Enhanced dashboard UI and navigation for seamless feature access
* Added 404 Error Monitor for automatic 404 tracking and logging
* Implemented Weekly SEO Summary Email with comprehensive reporting
* Improved plugin performance and compatibility with latest WordPress release
* Enhanced onboarding flow with multi-step guided setup
* Added license management system for Pro features
* Improved error handling and logging throughout the plugin
* Minor bug fixes and stability improvements

= 2.0.0 =
* Introduced the KeyTrack feature for detailed SEO performance tracking
* Integrated Google Search Console support via Google Site Kit
* Added visual performance insights with interactive line charts
* Introduced tabs for Overview, Pages, Queries, and Settings in KeyTrack
* Added customizable date ranges for performance analysis
* Enabled threshold settings for custom performance monitoring
* Enhanced UI/UX with modal notifications and interactive elements
* Customized email report based on user preference settings for KeyTrack
* Improved redirection table schema with enhanced analytics
* Added redirection logs and hit tracking

= 1.1.0 =
* Added CRM integration functionality
* Improved UI/UX for better user experience
* Enhanced API client for better communication with external services

= 1.0.1 =
* Removed direct manipulation of PHP memory limit and max-execution time
* Fixed database table prefix issues
* Fixed CSS enqueuing for public-facing pages
* Fixed scanning whole content links of all post types
* Fixed retrieving HTTP status codes of scanned links
* Fixed alt text missing detection for media images
* Fixed redirection from old URLs to new URLs
* Fixed downloading CSV list of broken links
* Improved error handling and user feedback

== Upgrade Notice ==

= 2.1.1 =
This version introduces Bot Manager - a comprehensive feature for managing robots.txt and llms.txt files, along with AI bot access control. You can now control which search engines and AI crawlers can access your content, generate llms.txt files for AI model discovery, and manage robots.txt with a visual editor. Author schema support has also been added to the Schema Manager. These additions provide better control over search engine crawling, AI model training, and enhanced schema markup capabilities.

= 2.1.0 =
This version introduces AI Chatbot and Schema Manager - enabling automated schema generation, validation, and real-time SEO assistance through AI. The plugin also includes 404 Error Monitor and Weekly SEO Summary Email features. Database migrations will run automatically on update.

= 2.0.0 =
The upgraded KeyTrack feature now seamlessly integrates with Google Search Console through the Site Kit plugin for advanced keyword tracking. Enhanced redirection system with better analytics and logging capabilities.

== Configurations & Use ==

= Initial Setup & Onboarding =

1. After activating the plugin, you'll be guided through an interactive onboarding process.
2. During onboarding, you can configure:
   * Post types to scan for broken links
   * Enable/disable KeyTrack feature
   * Set up link scanning schedule (manual, weekly, or monthly)
   * Select default schema types to use
   * Configure notification preferences (weekly reports, KeyTrack alerts, broken links notifications)
   * Enable alt text scanning
   * Enable redirection management
   * Set notification email address
3. Complete the onboarding to save your preferences, or skip and configure later in Settings.

= Dashboard Overview =

1. Navigate to "SEO Repair Kit" in your WordPress admin menu to access the main dashboard.
2. The dashboard provides:
   * Site SEO Analysis with issue detection (critical, warning, suggestion)
   * Quick access widgets for all major features
   * Real-time status updates
   * SEO health score calculations
   * Direct links to fix identified issues
3. Use the "Re-check Status" button to refresh the analysis.

= Broken Link Scanner =

1. Go to "SEO Repair Kit" > "Link Scanner" in the admin menu.
2. Select a post type from the dropdown (configured in Settings).
3. Click "Scan Links" to start the scanning process.
4. Monitor the progress bar and real-time statistics during scanning.
5. Review the results table showing:
   * Post ID, title, and type
   * Link URL and HTTP status code
   * Link text context
   * Direct edit and redirect options
6. Export broken links to CSV for external analysis.
7. Create redirects directly from the scan results.
8. Schedule automatic scans in Settings (weekly or monthly).

= Alt Text Manager =

1. Navigate to "SEO Repair Kit" > "Image Alt Missing" in the admin menu.
2. View all images missing alt text with their details.
3. Update alt text individually:
   * Click on an image to edit
   * Enter descriptive alt text
   * Save changes
4. Use bulk update feature to update multiple images at once.
5. Filter and search images by post type or status.
6. Monitor alt text optimization progress and statistics.

= Redirection Manager =

1. Go to "SEO Repair Kit" > "Redirection" in the admin menu.
2. Create a new redirect:
   * Enter source URL (old URL)
   * Enter target URL (new URL)
   * Select redirect type (301 Permanent or 302 Temporary)
   * Optionally enable regex pattern matching
   * Set redirect status (active/inactive)
   * Save the redirect
3. View all redirects in a comprehensive table showing:
   * Source and target URLs
   * Redirect type and status
   * Hit count and last hit timestamp
   * Position for ordering
4. Edit or delete existing redirects.
5. Monitor most active redirects with hit analytics.
6. Use the redirect logs to track redirect performance.

= 404 Error Monitor =

1. Navigate to "SEO Repair Kit" > "404 Manager" (or access via Link Scanner).
2. Enable 404 monitoring in Settings if not already enabled.
3. View all 404 errors with details:
   * Requested URL
   * Referrer information
   * User agent and IP address
   * Access count and timestamps
4. Create redirects directly from 404 logs:
   * Select a 404 error
   * Choose target URL
   * Create redirect with one click
5. Filter 404 errors by domain, date, or count.
6. Monitor 404 trends and patterns.

= Bot Manager =

1. Navigate to "SEO Repair Kit" > "Bot Manager" in the admin menu.
2. **LLMs.txt Management**:
   * Use the LLMs.txt Generator to create content discovery files for AI models
   * Select which post types and taxonomies to include
   * Configure AI bot access control (allow/block specific bots)
   * Set posts/terms limit for each content type
   * Add additional custom content
   * Generate and preview the llms.txt file
   * Save or edit the generated content manually
   * Your llms.txt file will be available at: yoursite.com/llms.txt
3. **Robots.txt Management**:
   * Edit robots.txt content with the visual editor
   * Validate robots.txt syntax in real-time
   * Apply enhanced robots.txt with security and SEO best practices
   * Reset to WordPress recommended defaults
   * Preview current configuration
   * Your robots.txt file is available at: yoursite.com/robots.txt
4. **AI Bot Access Control**:
   * Select which AI bots can access your LLMs.txt file
   * Supported bots: ChatGPT (GPTBot), Claude, Google Bard/Gemini, Perplexity, Bing Chat, You.com, Character.AI, CCBot, and more
   * Blocked bots receive 403 Forbidden response
   * Blocking rules are automatically added to robots.txt
   * Bots not listed are allowed by default
5. **Features**:
   * Real-time validation for robots.txt
   * Automatic sitemap detection and inclusion
   * Enhanced security rules (blocks xmlrpc.php, search queries, etc.)
   * Last updated timestamps
   * Delete custom configurations to restore defaults

= KeyTrack - Keyword Performance Tracking =

1. Install and activate Google Site Kit plugin (required for KeyTrack).
2. Connect Google Site Kit to your Google Search Console account.
3. Go to "SEO Repair Kit" > "KeyTrack" in the admin menu.
4. Create a KeyTrack configuration:
   * Enter a name for your KeyTrack
   * Select keywords to track
   * Choose date range for analysis
   * Configure threshold settings (optional)
   * Save configuration
5. View performance data in multiple tabs:
   * **Overview**: Summary metrics (clicks, impressions, CTR, average position)
   * **Pages**: Top performing pages with detailed metrics
   * **Queries**: Top search queries with performance data
   * **Settings**: Manage KeyTrack configurations
6. Set up email reports:
   * Configure threshold alerts
   * Set report frequency
   * Add recipient email addresses
7. Analyze trends with interactive line charts.
8. Export data for external analysis.
9. Watch the demo video: [youtube https://www.youtube.com/watch?v=uiWgcazUDcc]

= Schema Manager (Pro Feature) =

1. Ensure you have an active Pro license (required for Schema Manager).
2. Navigate to "SEO Repair Kit" > "Schema Manager" in the admin menu.
3. Select a schema type from the available options (15+ types supported).
4. Configure schema assignment:
   * Choose post types to apply the schema
   * Map content fields to schema properties
   * Enable/disable specific schema fields
   * Preview the JSON-LD output
5. Save the schema configuration.
6. The schema will automatically be injected into your pages as JSON-LD markup.
7. Validate schema using Google's Rich Results Test tool.
8. Manage multiple schema types for different content types.
9. Use the visual field mapper to easily configure complex schemas.

= AI Chatbot (Pro Feature) =

1. Ensure you have an active Pro license (required for AI Chatbot).
2. Navigate to "SEO Repair Kit" > "AI Chatbot" in the admin menu.
3. Start a conversation with the AI assistant:
   * Ask SEO-related questions
   * Get troubleshooting help
   * Request optimization suggestions
   * Learn about plugin features
4. The chatbot provides:
   * Context-aware responses
   * Real-time SEO guidance
   * Feature explanations
   * Best practice recommendations
5. Use the chatbot for:
   * Schema configuration help
   * Redirection setup guidance
   * KeyTrack configuration assistance
   * General SEO questions

= Settings Configuration =

1. Go to "SEO Repair Kit" > "Settings" in the admin menu.
2. **Post Types Settings**:
   * Select which post types to scan for broken links
   * Choose from all public post types
   * Save your selection
3. **404 Monitoring Settings**:
   * Enable or disable automatic 404 error tracking
   * 404 errors will be logged when enabled
4. **Weekly Report Email Settings**:
   * Enable or disable weekly SEO summary emails
   * View last report status and timestamp
   * Reports are sent to your admin email address
5. Save all settings to apply changes.

= Weekly SEO Summary Email =

1. Enable weekly reports in Settings (enabled by default).
2. Reports are automatically sent every week to your admin email.
3. Each report includes:
   * Search performance metrics from KeyTrack
   * Broken links analysis and health scores
   * Image alt text optimization status
   * Redirection statistics and analytics
   * Pro plan status and upgrade information
4. Reports are sent in beautiful HTML format with:
   * Visual charts and metrics
   * Actionable insights
   * Direct links to fix issues
   * Dashboard access links
5. View the last report status in Settings to verify delivery.

= Advanced Features =

1. **Scheduled Link Scanning**:
   * Configure automatic link scans in onboarding or Settings
   * Choose between manual, weekly, or monthly schedules
   * Scans run automatically via WordPress cron

2. **Bulk Operations**:
   * Bulk update alt text for multiple images
   * Export broken links to CSV
   * Manage multiple redirects at once

3. **Analytics & Reporting**:
   * Track redirect hit counts
   * Monitor 404 error patterns
   * Analyze KeyTrack performance trends
   * View comprehensive SEO health scores

4. **Bot Management**:
   * Control AI crawler access to your content
   * Generate llms.txt files for AI model discovery
   * Manage robots.txt with visual editor
   * Block or allow specific AI bots
   * Server-level access control

5. **Integration**:
   * Google Site Kit integration for KeyTrack
   * Google Search Console data access
   * REST API endpoints for external integrations

= Troubleshooting =

* If KeyTrack doesn't show data, ensure Google Site Kit is installed and connected.
* If weekly emails aren't sending, check your server's mail configuration and email settings.
* If schema isn't appearing, verify your Pro license is active and schema is properly configured.
* If links aren't being detected, ensure the post type is selected in Settings.
* Check the plugin's debug logs for detailed error information.

== Installation ==

1. Download the plugin zip file.
2. Go to your WordPress admin panel and navigate to Plugins > Add New.
3. Click "Upload Plugin" and select the `seo-repair-kit.zip` file.
4. Click "Install Now" and then "Activate Plugin".
5. After activation, you'll be guided through an onboarding process to configure the plugin.

Alternatively, you can manually upload the plugin:
1. Extract the zip file.
2. Upload the `seo-repair-kit` folder to `/wp-content/plugins/` directory on your web server.
3. Activate the plugin through the 'Plugins' menu in WordPress.

== Frequently Asked Questions ==

= What's new in version 2.1.1? =
Bot Manager has been introduced - a comprehensive feature for managing robots.txt and llms.txt files with AI bot access control. You can now control which search engines and AI crawlers access your content, generate llms.txt files for AI model discovery, and manage robots.txt with a visual editor. Author schema support has also been added to the Schema Manager. These new features provide enhanced control over search engine crawling, AI model training, and expanded schema markup options.

= What's new in version 2.1.0? =
AI Chatbot and Schema Manager are the two flagship features — offering AI-powered SEO support and multi-schema management for rich search results. The plugin also includes enhanced dashboard UI, improved performance, and better compatibility with the latest WordPress release.

= Does the Schema Manager support JSON-LD? =
Yes, it automatically generates valid JSON-LD code compatible with Google's Structured Data guidelines. All schema markups are output as JSON-LD format in the page head.

= Do I need coding knowledge to use the AI Chatbot or Schema Manager? =
Not at all. Both features are fully visual and user-friendly, designed for beginners and experts alike. The Schema Manager provides a visual interface for configuring schema types, and the AI Chatbot offers conversational assistance.

= What is SEO Repair Kit, and how does it work? =
SEO Repair Kit is a comprehensive WordPress plugin designed to automate and simplify SEO management. It scans your website for broken links, missing alt text, and other SEO issues, then provides tools to fix them. It also includes advanced features like keyword tracking, schema management, and AI-powered assistance.

= Is the SEO Repair Kit compatible with my WordPress theme? =
Absolutely! SEO Repair Kit is designed to be compatible with a wide range of WordPress themes. Whether you're using a popular or custom theme, our plugin seamlessly integrates to provide optimal performance.

= Will SEO Repair Kit affect my website speed? =
No, the SEO Repair Kit is designed with performance in mind. It operates efficiently in the background without causing any noticeable slowdowns. Our team has optimized the plugin to ensure it enhances your website's functionality without compromising speed.

= What kind of support is available for SEO Repair Kit? =
We provide dedicated customer support to assist you with any questions or issues you may encounter. Please visit our support portal at https://support.seorepairkit.com/ to submit your query. You can also find helpful resources and documentation to resolve common issues on the support website.

= Is the SEO Repair Kit compatible with other plugins? =
In most cases, SEO Repair Kit is compatible with other plugins. However, it's always a good practice to test compatibility in a staging environment before installing major updates. Our support team can guide you through any potential compatibility concerns.

= Does it check internal and external links? =
Yes, it scans both internal links pointing to site pages and external links. The scanner checks HTTP status codes for all links found in your content.

= My website has 10K+ pages, will it scan all the pages? =
Yes, it can scan all the pages but it will take some time. To save you time, we have divided pages into different post types, allowing you to scan specific post types separately. You can also schedule automatic scans on a weekly or monthly basis.

= What happens to broken pages without redirects? =
Without redirects, broken pages will show 404 errors, causing visitors and search engines to leave quickly. The plugin's 404 Monitor tracks these errors, and you can easily create redirects from the 404 logs.

= What permissions does the plugin require? =
It requires administrator permissions in your WordPress site to scan, detect issues, and fix SEO problems. All features are accessible only to users with 'manage_options' capability.

= How does the plugin address missing alt text? =
The plugin identifies images without alt text and provides options to generate or input appropriate descriptions. You can view all images missing alt text on a dedicated page and update them individually or in bulk.

= Can the plugin handle bulk updates for alt text? =
Absolutely. Our plugin includes a bulk update feature, allowing users to efficiently update alt text across multiple images simultaneously. This saves time and ensures consistent alt text throughout the website.

= How does the weekly email report work? =
The plugin automatically sends a comprehensive weekly SEO report to your admin email address. The report includes search performance metrics, broken links analysis, alt text status, redirection statistics, and more. You can enable or disable this feature in the Settings page.

= What is KeyTrack and how does it work? =
KeyTrack is a keyword performance tracking feature that integrates with Google Search Console via the Google Site Kit plugin. It tracks keyword positions, impressions, CTR, and clicks, providing visual insights and email reports based on your preferences.

= Do I need Google Site Kit for KeyTrack to work? =
Yes, KeyTrack requires Google Site Kit plugin to be installed and connected to your Google Search Console account. This integration allows KeyTrack to access your search performance data.

= Who can use the SEO Repair Kit? =
SEO Repair Kit is an ideal solution for a diverse range of users, including business owners, bloggers, content managers, designers, developers, and SEO professionals.

= Do I need coding skills to use the SEO Repair Kit? =
No, the SEO Repair Kit is designed to be beginner-friendly, and you can optimize your WordPress SEO without any coding knowledge. The plugin provides a user-friendly interface for easy configuration and management.

= How do I contact the SEO Repair Kit support team? =
If you encounter any issues, need assistance, or have questions about using SEO Repair Kit, our dedicated support team is here to help. Please visit our support portal at https://support.seorepairkit.com/ to submit your query. You can also find helpful resources and documentation to resolve common issues on the support website.

= What are the Pro features? =
Pro features include AI Chatbot for real-time SEO assistance and Schema Manager for advanced schema markup management. These features require an active Pro license. Free users have access to all other features including link scanning, alt text management, redirections, KeyTrack, and 404 monitoring.

You can also find helpful resources and documentation to resolve common issues on the support website.