Skip to content
On-Page SEO

Header Structure and URL Slugs: Two On-Page SEO Fundamentals Most Sites Get Wrong

Header hierarchy and URL slugs are the two on-page elements most sites inherit from defaults nobody ever touched. The rules that actually matter and how to retrofit without breaking SEO.

Share

Header structure and URL slugs are the two on-page elements most likely to be inherited from defaults nobody ever touched. WordPress hands you “Hello World” as your first post slug. Themes ship with H2s, H3s, and H4s scattered through templates without coherent hierarchy. And six months later you have a site where every page uses headers inconsistently and half your URLs contain dates, categories, or post IDs that bury the keywords.

Both are easy to fix. Both have outsized impact on how search engines understand your pages. Here is the right structure and how to retrofit it without breaking your SEO.

Header hierarchy that works

One H1 per page. That H1 is the page’s primary heading and should match the searcher intent the title tag promises. Underneath, H2s break the content into logical sections: usually 3-7 sections for a typical article or service page. H3s sit under H2s for sub-points. H4 and below are rare and mostly cosmetic.

The hierarchy is what AI summarizers and Google’s snippet generators use to extract structured answers from your page. A page with clear H2s like “What is technical SEO” and “How to audit your site” is far more likely to earn a featured snippet than the same content with no headers, or with headers used purely for visual styling.

The common header mistakes

Multiple H1s. Old WordPress themes used H1 for the site logo and another H1 for the page title. Modern HTML5 allows multiple H1s technically, but search engines still treat them as the primary topic signal. Audit your templates and confirm one H1 per page.

Skipped levels. H1 jumping directly to H3 confuses both screen readers and search engines. If a section needs an H3, give it an H2 parent first.

Headers used for styling. Page builders love using H3 or H4 because the visual default size is right. This breaks hierarchy. Use the correct heading level and style it with CSS to look the way you want.

Vague headers. “Our Services” tells search engines nothing. “WordPress Maintenance Plans for Idaho Businesses” does. Headers are content, not labels.

URL slug rules

Short, descriptive, lowercase, hyphen-separated, keyword-relevant, no stopwords, no dates.

Good: /local-seo-idaho/, /services/website-maintenance/, /woocommerce-vs-shopify/

Bad: /2026/04/blog/local-seo-tips-for-idaho-small-business-owners-in-2026/, /?p=482, /page_id=99

WordPress defaults give you ugly slugs. Permalinks > Post name fixes the structural problem. From there, every new post and page gets a slug you write deliberately, not whatever WordPress auto-generates from the title.

Retrofitting existing URLs

Changing existing URLs is risky. Every URL you change needs a 301 redirect from the old URL to the new one, or you lose every backlink and ranking signal pointing at the old version. If your old URLs are dated or category-cluttered but they rank, leave them alone. The risk of a botched redirect almost always exceeds the upside of a prettier slug.

The exception: URLs that contain the wrong information: typos, outdated product names, abandoned brand names. Those are worth changing with proper 301s in place. Use Redirection or a similar plugin to manage the mapping, test every old URL before going live, and monitor 404s in Search Console for the first month.

The category and tag URL trap

WordPress generates URLs like /category/seo/ and /tag/wordpress/ by default. These archive pages often rank for terms you do not want them ranking for, splitting authority with your actual content pages. Two options: noindex the tag and category archives (let your real pages do the ranking) or make the archives substantial enough to be useful pages on their own (add intro copy, custom layouts, related-resources blocks).

For most small business sites, noindexing tags and keeping categories indexed (with custom intro text) is the right call.

The audit pass

  • View source on five page templates: confirm one H1 each, logical hierarchy below
  • Crawl with Screaming Frog or Yoast’s analysis: flag pages with no H1 or multiple H1s
  • Check Search Console > Pages for any URLs containing ?, dates, or post IDs
  • Verify Permalinks > Post name is set
  • Decide on category/tag indexation policy and apply it
  • Update redirects map if any slugs change

How this fits

Headers and slugs are core on-page SEO. They sit on the technical foundation (URL structure is technically configurable; header hierarchy depends on theme templates) and amplify internal linking by giving anchor text meaningful URLs to point at. A clean slug is a better internal-link target than a date-stamped one.

Every SEO audit covers header structure and URL hygiene. For most sites, the fixes are small but cumulative. They take an afternoon and pay back for years. Book a free consultation to walk through your site’s specific gaps.

FREE ESTIMATE

Thinking About a Project?

Free quote, scope and price locked up front, fully owned at launch.

Grade My Website