Skip to content
atlookup

Base URL Tag Detected

The <base> tag changes how relative URLs resolve — a frequent source of subtle bugs with analytics, canonicals, and form submissions.

notice Impact: low BASE_TAG_PRESENT 2 min read Updated

Why it matters

The <base> tag changes how relative URLs resolve — a frequent source of subtle bugs with analytics, canonicals, and form submissions. Usually unnecessary in modern sites.

Address when convenient — notices usually mark a polish opportunity rather than a defect. Estimated SEO impact: low — small marginal improvement, but cheap to fix.

How to fix

  • Remove <base href="..."> if not strictly required
  • If needed, ensure every canonical and form action uses absolute URLs

Common causes

If the rule is firing across many pages, the root cause is almost always one of these:

  • Mixed-content sub-resources from before HTTPS migration that escaped the rewrite.
  • CDN or upstream proxy strips a security header that was set at the origin.
  • Legacy redirects send HTTPS traffic through HTTP first.
  • Test/staging hostnames leak into production HTML via hard-coded URLs.

Anti-patterns to avoid

Even with the best intentions, these "fixes" make the issue worse — recognise them so you don't ship them:

  • Mixed HTTP/HTTPS resources after migration.
  • Self-signed or expired certificates on production.
  • Long-lived secrets in client-rendered HTML or JS bundles.

How atlookup detects this

Our crawler renders each page with a real headless browser, then inspects HTTPS state, response headers, mixed content, and certificate validity. Pages where the rule fires for base url tag detected are flagged on the report.

If you'd like to see this rule fire on your own site, run a free 60-second audit — every page is reported with the exact lines that triggered it.

Tools to verify the fix

Once you've applied the fix, double-check with these external validators:

Frequently asked questions

Why does Base URL Tag Detected matter for SEO?

The <base> tag changes how relative URLs resolve — a frequent source of subtle bugs with analytics, canonicals, and form submissions. Usually unnecessary in modern sites.

How do I fix base url tag detected?

Remove <base href="..."> if not strictly required If needed, ensure every canonical and form action uses absolute URLs

Is this a critical SEO issue?

Address when convenient — notices usually mark a polish opportunity rather than a defect. Estimated SEO impact: low — small marginal improvement, but cheap to fix.

How does atlookup detect base url tag detected?

Our crawler renders each page with a real headless browser, then inspects HTTPS state, response headers, mixed content, and certificate validity. Pages where the rule fires for base url tag detected are flagged on the report.

How long does it take to fix?

5–15 minutes per page. Most teams batch similar issues across templates so the per-page time goes down at scale.