Technical SEO · FREE SEO UTILITY

PDF HTTP Link Canonical, X-Robots-Tag & HSTS Server Header Builder.

Stop PDF brochures from cannibalizing HTML landing pages—generate HTTP Link rel="canonical", X-Robots-Tag and HSTS rules for Nginx, Apache, Cloudflare and Vercel.

Raw HTTP response headers preview
Link: <https://yourwebsite.co.il/pricing>; rel="canonical"
Strict-Transport-Security: max-age=31536000; includeSubDomains
Ready server configuration
# Nginx HTTP SEO headers for /files/pricing-brochure-2026.pdf
location = /files/pricing-brochure-2026.pdf {
  add_header Link '<https://yourwebsite.co.il/pricing>; rel="canonical"' always;
  add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
}

How to use this in your SEO workflow

  • Because PDF files have no HTML <head>, an HTTP Link: <url>; rel="canonical" response header is Google’s official way to consolidate PDF ranking signals into an HTML page.
  • Server-level X-Robots-Tag headers protect staging environments, feeds and private document folders cleanly.
  • Enabling Strict-Transport-Security (HSTS) enforces HTTPS across browsers after the initial 301 redirect.
Audit live canonicals in Site Audit
More utilities in this category:

Related in-depth SEO guides

SEO Academy