Session Overview

This is a continuation session from the April 9 H1 tag deployment. The previous session ("Missing H1 Tags: 45 Pages Fixed via WPCode Snippet") successfully added H1 heading tags to 45 of 48 pages identified in the Screaming Frog crawl report. This session focused on identifying and planning fixes for the remaining 5 URLs that were not addressed.

The 5 remaining URLs break into two categories: 3 archive/pagination pages that cannot have H1 tags added through content editing, and 2 pages where WordPress's url_to_postid() function could not resolve the URL path to a post ID.

What Was Accomplished

The 48 spreadsheet URLs were compared against the 45 paths included in WPCode snippet 40203. This confirmed the three archive pages that were intentionally excluded from the snippet:

  1. /category/kentucky-law-talk/page/2/
  2. /category/personal-injury-attorneys/insights/page/2/
  3. /resources/blog/page/6/

These are WordPress-generated paginated archive index pages. They do not have editable content in the post editor because they are dynamically generated by the theme. Google treats paginated subpages as continuation pages, not standalone content. The SEO value of adding H1 tags to these is effectively zero. Recommendation: skip these entirely.

The 2 URLs that failed url_to_postid() have not yet been confirmed. The execution log is stored in wp_options under the key h1_tags_log, but the WordPress admin session had expired and Sam had not yet logged back in when the session ended. The most likely candidates based on URL structure are pages under /lex-cases/, /lawsuits/, /sam-car-accidents/, or /owensboro-2/, since these appear to use custom post types or rewrite rules that url_to_postid() does not resolve.

What Was Tried and Didn't Work

Chrome extension connection was unstable. Multiple tab creation attempts failed with tab-not-found errors before stabilizing. Navigation to wp-admin redirected to Salesforce/Litify instead of WordPress, indicating the WordPress session cookie had expired. The WP login page loaded successfully but the session ended before Sam could log in.

Decisions Made and Reasoning

  1. Skip archive pagination pages: The 3 archive URLs (/page/2/, /page/6/) are dynamically generated by WordPress and cannot have H1 tags added through content editing. Fixing them would require theme template modifications or a PHP filter hook, and the SEO payoff is zero. Decision: do not pursue.
  2. Pull the WPCode execution log before doing anything else: Rather than guessing which 2 URLs failed, the correct approach is to read the h1_tags_log option from wp_options, which contains the exact NOT FOUND entries from the snippet execution.

Files and Locations