How to use 301 Redirect Generator
- Enter one redirect per line as: /old-path /new-path.
- Choose 301 (permanent) or 302 (temporary).
- Copy the Apache or Nginx rules into your server configuration.
About this tool
A 301 redirect tells browsers and search engines that a page has moved permanently, passing most ranking signals to the new address. Use 302 only for temporary moves. Each old address must start with a slash, and the target can be a path on the same site or a full URL.
Test redirects after deploying and avoid chains of several redirects, which slow pages down.
Frequently Asked Questions
- 301 or 302?
- Use 301 for permanent moves and 302 for temporary ones.
- Does a redirect keep my SEO value?
- Mostly yes. Google treats 301 redirects as a signal to transfer the page's ranking signals.
Related tools
- Robots.txt GeneratorBuild a robots.txt file and copy it to the root of your site.
- Sitemap XML GeneratorPaste your URLs and download a ready-to-upload sitemap.xml.
- Hreflang Tag GeneratorTell search engines which language version to show each user.
- HTML Link GeneratorBuild a correct anchor tag with the right rel attributes.
- Meta Tag and On-Page SEO AnalyzerPaste a page's HTML source and see a quick on-page SEO report.
- Privacy Policy GeneratorCreate a starting-point privacy policy from a few choices.