Skip to content

fix(seo): align /tools/{provider} titles with H1s - #481

Draft
JayZeeDesign wants to merge 1 commit into
mainfrom
cursor/seo-title-h1-alignment-f93f
Draft

JayZeeDesign wants to merge 1 commit into
mainfrom
cursor/seo-title-h1-alignment-f93f

Conversation

@JayZeeDesign

Copy link
Copy Markdown
Contributor

What this does

Removes leftover formulaic API pricing: chrome from /tools/{provider} page titles so Title matches H1.

Before:

  • Metered: DataForSEO API pricing: $0.00012/call, platform + BYOK | treg.to
  • Mixed: Hunter API pricing: $X, platform + BYOK | treg.to

After:

  • Metered: DataForSEO: 217 tools from $0.00012/call | treg.to (matches H1)
  • Mixed: Hunter: 35 tools, platform or your own key | treg.to (matches H1)
  • Own-account titles unchanged: {Provider}: connect your own account | treg.to

The seo.md fragment documented Title and H1 as matching, but the code still built titles with the API pricing: lead-in that H1s never used. This fix removes that leftover chrome.

How it was tested

uv run --frozen python -m pytest tests/test_seo.py tests/test_provider_pages.py -v
# 77 passed

Verified rendered titles on /tools/hunter and /tools/dataforseo match their H1s.

Checklist

  • uv run --with pytest-xdist pytest -n auto -q passes locally
  • Added or updated tests for the change (if it affects behavior)
  • Updated the relevant docs/context/ fragment (if a subsystem changed)
  • No secrets in the diff (keys, tokens, .env values)
Open in Web Open in Cursor 

- Remove 'API pricing:' lead-in from metered/mixed provider page titles
- Metered titles now: '{Provider}: {n} tools from {price} | treg.to'
- Mixed titles now: '{Provider}: {n} tools, platform or your own key | treg.to'
- Own-account titles unchanged: '{Provider}: connect your own account | treg.to'
- Update seo.md docs to reflect Title=H1 rule
- Rename test_provider_title_leads_with_pricing -> test_provider_title_matches_h1

Co-authored-by: Jason Zhou <JayZeeDesign@users.noreply.github.com>
@cursor

cursor Bot commented Sep 17, 2026

Copy link
Copy Markdown

Folded into #551.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:docs Documentation & design fragments

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants