Redirect Rule Generator
Written byOleh Soloninupdated
301, 302, 307 or 308.
Result
- The rule
location = /old-page { return 301 https://example.com/new-page; }
- Formatnginx
- Code301
- What the code meansa permanent redirect; signals pass to the new URL
- Source path/old-page
- What matters
Avoid chains: every extra hop adds a request and lengthens the crawler's path, and chains have a length limit. Point the old URL straight at the final one.
Related tools
HTTP Status Code Lookup
Explains a server response code, its family, its effect on indexing and its default caching behaviour.
Robots.txt Generator
Builds a robots.txt file with the disallow rules you need, a sitemap line, a preferred host and a crawl delay.
Meta Tag Length Checker
Measures meta tags in characters and in pixels and warns whether search results will truncate them.