What You’ll Learn
- Configuring automated and manual HTML scans
- Setting up post-update regression scans
- Viewing raw HTML and rendered differences
- Using change thresholds for notifications

Regression Testing Dashboard
To open the add-on, go to MainWP > Add-ons > Monitoring > Regression Testing. The Dashboard page provides an overview of all connected child sites and their scan results. Each site in the list includes: • Site Name & URL – Click the site name to open its MainWP child site Dashboard. • Change Percentage – Displays how much the site’s HTML has changed since the last scan, giving you an immediate sense of whether an update introduced modifications. • Comparison Timeframe – Shows when the last two scans occurred. • Settings Mode – Lets you know if the site is using global settings or has custom, per-site configurations
General Settings
To customize how scans are performed, navigate to MainWP > Add-ons > Monitoring > Regression Testing > Settings.
/ slug. If you want to scan another page, enter its slug, such as /contact-us. This is useful if a particular page, such as a pricing or checkout page, is more critical to monitor.
Target pages follow these rules. Your Dashboard refuses to save settings that break them.
- A site can have up to 100 target pages.
- Slugs can use WordPress routing and pagination queries, such as
/?p=123,/?page_id=2, or/?post_type=product. Other query keys, such as/shop/?orderby=popularityor/?currency=EUR, are not accepted. - Slugs can contain
@and non-ASCII characters. - Two slugs that differ only in letter case, such as
/Aboutand/about, count as the same page and are refused.
head, #header, or .wrapper.
• Track enqueued CSS & JS files – If enabled, the add-on will also track changes to JavaScript and CSS files. However, this can significantly increase scan time. Only files served from the site’s own address are tracked. Files from another host, such as a CDN, and font files are skipped. The first 50 files on a page are tracked. A file that fails to load is recorded for that file without failing the page.
• Exclude CSS files from specific directories and Exclude JS files from specific directories – Prevent selected CSS or JS files from being included in the scan by specifying directories, such as /wp-admin/*.
• Snapshot retention policy - Set how long HTML snapshots should be kept before they are automatically deleted. Choose from 1 day, 1 week, 2 weeks, 1 month, 2 months, 3 months, 6 months, 1 year, or unlimited. Default is 30 days. The Child Site Overview widget uses this retention window for its Change chart history.
Automated Scan Settings
• Post-update automatic scans – Automatically perform a scan after a plugin, theme, or WordPress core update. After updates are finished on a Child Site, Regression Testing will begin automatically. The UI reflects this sequence, with status messages and icons that accurately indicate when an update or a regression scan is underway.

- Your sites use full-page caching, object caching, or a CDN that needs time to refresh after updates.
- Plugins or themes perform background tasks (e.g., asset rebuilding, cache warming) immediately after activation or update.
- You want a more stable baseline by scanning after the site has stabilized post-update.
Notifications Settings
• Enable notification emails – Get an email alert if a site’s changes exceed a specified threshold. • Change score threshold – Set the percentage difference that triggers a notification. Your Dashboard sends the notification when a page crosses the threshold. Later scans that still find the page above the threshold do not send it again. Notifications use the MainWP notification email template and settings.Per-site Settings
Go to the MainWP > Sites > Manage Sites page
Locate the desired child site and click on its name
Click Regression Testing in the sidebar on the left
Click the Settings tab
Enable Overwrite General Settings and click Save
Set your desired per-site preferences
Click the Save Settings button at the bottom of the page
Viewing Scan Results
Navigate to MainWP > Add-ons > Monitoring > Regression Testing
Locate the desired Child Site in the table, and then from the ellipsis menu choose:



Widgets
MainWP Overview Page Widget

How scans run
Scans started with Scan Site, after updates, or on a schedule are queued. With WordPress cron running, a background worker on your Dashboard checks the queue every minute. Each site runs one scan at a time. Start and completion times depend on work already in the queue and the time each page takes to scan.- Scheduled scans start at their scheduled local time. Your Dashboard checks for due schedules every minute. A suspended site, or a site whose last sync failed, skips that run. When your Dashboard was offline at the scheduled time, the schedule runs once to catch up.
- Post-update scans start after the configured delay, as described in Automated Scan Settings.
- A scan that saved results for most pages and failed on a few shows as finished.
Failed pages
When a page cannot be scanned, its tooltip in the Regression Testing table names the reason when you can act on it:https://müller.de, are requested in their punycode form. Sites installed in a subdirectory are scanned at their own path.
Scan sites on a private network
Your Dashboard refuses to scan sites whose address resolves to a private network address, such as10.0.0.5 or 192.168.1.20. To allow specific private sites, add the mainwp_html_regression_private_origin_allowed filter to your Dashboard site, for example in a code snippet:
10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, and fc00::/7 ranges. Loopback addresses, such as 127.0.0.1, are always refused.
Permissions
Viewing Regression Testing results requires access to the add-on. Saving general or per-site settings, changing Overwrite General Settings, and running scans also require the WordPressmanage_options capability or the Regression Testing Management permission. With Team Control, assign Regression Testing Management to a custom role to let its users make these changes.
Related Resources
- Monitoring Add-ons - Browse all monitoring tools
- Regression Testing Abilities - Automate scans and settings through the Abilities API
- Manage Updates - Update management guide
- Dashboard Insights - Analytics for your Dashboard
