Does Googlebot treat 308 the same as 301 for SEO?
Yes. Google Search treats 308 Permanent Redirect identically to 301 for canonicalization and link equity transfer.
HTTP 308 Permanent Redirect is the strict counterpart to 301: it signals a permanent move while forbidding clients from changing POST/PUT/DELETE into GET.
location ^~ /v1/events {
return 308 https://api.example.com/v2/events$is_args$args;
}
curl -i -sS -X POST -H 'Content-Type: application/json' -d '{}' https://api.example.com/v1/events
Yes. Google Search treats 308 Permanent Redirect identically to 301 for canonicalization and link equity transfer.
ingress-nginx defaults to 308 for HTTPS redirects so API POST requests are not silently downgraded to GET. You can override it via `nginx.ingress.kubernetes.io/permanent-redirect-code`.
Yes, all modern browsers, curl, Node fetch, and HTTP libraries fully support RFC 9110 308 redirects.