On-Page SEO Analyser
On-Page SEO Analyser gives Drupal site builders and editors a clear view of how well pages are set up for search engines—and what to fix next. New to Drupal? Enable the module, place the block (or open Reports), and you get an 11-point on-page audit with plain-language guidance that points to the right Drupal tools (for example Metatag, sitemaps, and theme markup) instead of generic SEO advice.
What solution does this module provide? It answers “Is this page (or this site) SEO-healthy?” with statuses, scores for reporting, and concrete fix steps—without requiring an external SEO SaaS or keyword-focus workflow.
Features
- 11 on-page SEO checks — meta title/description and social tags, structured data (JSON-LD/microdata), canonical URL, heading structure, robots meta, image alt text, XML sitemap, robots.txt, broken links, basic page-speed heuristics, and
llms.txt. - Floating analysis panel — analyze the rendered page HTML from the frontend; collapse to a tab; see overall status and findings with “how to fix” guidance.
- Full-site background scans — queue published nodes (plus the homepage), fetch HTML with concurrent requests, continue via Drupal cron even if the browser tab is closed, with progress polling and stop support.
- Admin reports — searchable log of analyzed paths, filter by status (Good / Fair / Needs Work), and detail pages with per-check cards. Scores (0–100) and letter grades support reporting; the panel emphasizes pass / warning / error.
- Drupal-oriented fixes — issue text links to practical admin paths and common modules rather than only generic SEO theory.
- Configurable thresholds — title/description length ranges, panel visibility, enable/disable, and optional scan base URL for CLI/cron fetches.
When to use it: before launch, after theme or Metatag changes, during content QA, or as a recurring site health check for editors and SEO stakeholders.
Post-Installation
- Enable On-Page SEO Analyser (Extend UI or
drush en …). - Grant permissions: view seo analysis (frontend panel) and administer seo analyzer (settings, reports, scans).
- Optionally place the SEO Analyser block via Structure → Block layout so the floating panel appears on pages.
- Configure at Configuration → Search → SEO Analyser (
/admin/config/seo/analyser): enable the module, panel visibility, title/description length thresholds, and optional scan base URL. - Open Reports → SEO Analyser (
/admin/reports/seo-analyser) to review past analyses and run a full-site scan. Ensure Drupal cron runs so queued scan items drain in the background.
This module does not add a new content type. It analyzes existing published content and stores results in its own report tables.
Additional Requirements
- Drupal core ^10
- Core modules: Node, Path
- Core HTTP client (Guzzle) for background fetches and link/sitemap/robots checks
- No paid third-party SEO API is required
Recommended modules/libraries
- Metatag — titles, descriptions, Open Graph, Twitter cards
- Schema.org Metatag — JSON-LD structured data
- Simple XML Sitemap — XML sitemap generation
- RobotsTxt — manage
robots.txt - Link checker — deeper broken-link workflows
- Redirect — fix URL issues found during audits
- AdvAgg (or core asset aggregation) — help with performance-related findings
- Drush — useful if you later enable exact-time scan scheduling via system cron