How do I use the 301 redirect generator (.htaccess / Nginx)?
- Add one redirect per line: old path, a space, then the new path or URL.
- Choose your server or platform.
- Copy the rules into your config, then test with our redirect checker.
301 redirect generator (.htaccess / Nginx): frequently asked questions
Why use 301 redirects when redesigning?
They send visitors and search engines from old URLs to new ones and pass most ranking signals, protecting your SEO.
301 or 302?
Use 301 (or 308) for permanent moves. 302 is for temporary changes.
Where do .htaccess rules go?
In the .htaccess file in your site’s root folder on Apache or LiteSpeed hosting, above other rewrite rules.
What is a redirect chain?
When A redirects to B which redirects to C. It slows pages and wastes crawl budget; redirect A straight to C.
Can I redirect to another domain?
Yes. Use a full URL (https://…) as the destination.
How many redirects can I add?
There is no limit here. For thousands of URLs, server-level maps or Cloudflare bulk redirects perform best.
Will this tool improve my rankings?
It helps you find and fix issues. Rankings depend on content, technical health and authority together; our SEO team can help with the rest.
Is the 301 redirect generator (.htaccess / nginx) free?
Yes. It is free with no sign-up and no usage limits for normal use.
Is my data sent to your servers?
No. This tool runs entirely in your browser, so what you type never leaves your device.
Does it work on my phone?
Yes. The tool works in any modern browser on iPhone, Android, tablet or computer.
