TR EN

HTTP 301 Moved Permanently

HTTP 301 indicates that the requested resource has been permanently moved to the URL given by the Location header.

301

HTTP 301 Moved Permanently

HTTP RFC Standard

What Does HTTP 301 Mean?

HTTP 301 indicates that the requested resource has been permanently moved to the URL given by the Location header.

Causes and How to Fix HTTP 301

Used during domain migrations, HTTP to HTTPS redirection, and URL restructuring.

SEO & Search Engine Crawl Impact

301 indicates a permanent move and is a strong canonical signal for the destination. It does not promise a fixed percentage of PageRank transfer or a ranking outcome.

Testing HTTP 301 via Terminal (cURL)

Inspect the HTTP response status and headers directly from your terminal:

curl -I -L https://example.com
curl -s -o /dev/null -w "%{http_code}\n" https://example.com

Web Server Configuration (Nginx & Apache)

Configure custom error handling in your web server:

# Nginx Custom Error Handler
error_page 301 /301.html;
location = /301.html {
    root /var/www/html;
    internal;
}

Other HTTP Status Codes

HTTP 200HTTP 302HTTP 400HTTP 401HTTP 403HTTP 404HTTP 410HTTP 429HTTP 500HTTP 502HTTP 503HTTP 504

Google: HTTP status codes and crawling

Frequently Asked Questions

How do I fix an HTTP 301 status code?
Used during domain migrations, HTTP to HTTPS redirection, and URL restructuring. Check server error logs (/var/log/nginx/error.log) and verify application route handlers.
Does HTTP 301 affect my SEO rankings?
301 indicates a permanent move and is a strong canonical signal for the destination. It does not promise a fixed percentage of PageRank transfer or a ranking outcome.