The DevOps Drop
Home / Encyclopedia / HTTP Status Codes / 3xx Redirection Responses / 301 Moved Permanently

301 Moved Permanently

The HTTP 301 Moved Permanently status code indicates that a resource has permanently moved to a new URL.

Published 16 Jul 2026 · HTTP Status Code

What is HTTP 301 Moved Permanently?

The 301 Moved Permanently status code tells clients and search engines that a resource has permanently moved to another location.

It is one of the most commonly used HTTP redirects.

Example

HTTP/1.1 301 Moved Permanently

Location: https://example.com/new-page

Common Uses

  • Changing domain names
  • Moving website URLs
  • Replacing old content
  • SEO migrations

301 Redirects And SEO

Search engines use permanent redirects to understand that the original URL has been replaced.

Why Does It Matter For DevOps?

DevOps engineers frequently configure 301 redirects in web servers and reverse proxies.

  • Nginx configuration
  • Apache configuration
  • Load balancers
  • Application routing

Summary

The 301 Moved Permanently response permanently redirects clients to a new resource location.