HTTP status codes for SEO & link checks

HTTP 308 Permanent Redirect

The strict permanent redirect status code used by default in frameworks like Next.js (permanent: true). Google treats 308 identically to 301 for search indexing and canonicalization.

Verified

Syntax / Example

// Next.js next.config.ts produces HTTP 308
{ source: '/old-slug', destination: '/new-slug', permanent: true }

Verify On A Live URL

curl -sI https://www.backlinkcamp.com/pricing | grep -iE "^HTTP|^location"

Documented Facts For HTTP 308 Permanent Redirect

Metric or RuleDocumented ValueSource
RFC definitionPermanent Redirect (RFC 9110 §15.4.9)RFC 9110: HTTP SemanticsChecked November 25, 2026
Google Search treatmentStrong permanent canonical signal (same as 301)Google: HTTP Status Codes & SearchChecked November 25, 2026
Key difference from 301Preserves HTTP method and request bodyRFC 9110: HTTP SemanticsChecked November 25, 2026

Official Specification & Google Behavior

Defined in RFC 9110 §15.4.9. Like 301, it indicates a permanent move, while forbidding user agents from changing the request method from POST to GET.

SEO & Indexing Impact

Acts as a strong canonical signal in Google Search on par with 301—no need to override Next.js's built-in 308 redirects unless integrating with legacy non-browser clients.

Backlink Monitoring Verdict
Treat HTTP 308 identically to HTTP 301: follow the Location header and verify the destination still contains the agreed link.

Common Pitfalls

  • Writing custom link checkers that only recognize 301 and 302 while flagging valid 308 permanent redirects as errors.
  • Creating redirect loops between www/non-www or trailing-slash rules.

Frequently Asked Questions

Does Google treat 308 the same as 301?
Yes, Google's HTTP status code documentation treats both 301 and 308 as strong permanent redirect signals.
Why does Next.js return 308 instead of 301 for permanent redirects?
Next.js uses 308 by default because RFC 9110 guarantees the HTTP method is preserved, preventing accidental POST-to-GET conversions.
Do browsers cache 308 redirects?
Yes, like 301, 308 responses are cacheable by default unless cache headers say otherwise.

Primary Sources

Verified

Related Research Guides