Small changes. Clear technical purpose.
SEO Snippets
Explore practical HTML, PHP, and configuration examples for common technical SEO tasks. Useful snippets explain not only what to add, but where the code belongs, what it changes, and how to verify the output.
For WordPress websites, check existing theme and SEO plugin output before adding custom markup. A second snippet is not helpful if it creates competing tags or an unclear source of configuration.
Topics to explore
- Inspecting page titles and meta descriptions
- Canonical tag implementation and validation
- Robots meta tags and X-Robots-Tag headers
- Crawlable HTML links and descriptive anchor text
- WordPress hooks for controlled SEO output
- Checking rendered HTML and response headers
