Check keyword in title (first 60 chars)
results[‘kw_in_title’] = keyword.lower() in title[:60].lower() # Check H1 matches title intent results[‘h1_matches’] = keyword.lower() in h1.lower() # Check word count results[‘word_count_ok’] = word_count >= 1800 # Check internal links results[‘internal_links_ok’] = internal_links >= 3 return results score = audit_on_page( title=”On-Page SEO for Long-Form Blog Posts — 2026 Guide”, h1=”On-Page SEO for Long-Form Blog Posts”, word_count=2800, … Read more