Skip to content

Redirect Builder

Free

Generate .htaccess and nginx redirect rules for 301 and 302 redirects

redirect301302htaccessnginx
All SEO Tools

How it works

1

Map

Enter your source and destination URL pairs to define each redirect rule.

2

Configure

Choose the redirect type (301 or 302) and select your target server platform.

3

Export

Copy the generated redirect rules formatted for Apache, Nginx, or Vercel configuration files.

Frequently asked questions

What is the difference between a 301 and 302 redirect?+
A 301 redirect is permanent and tells search engines to transfer ranking signals to the new URL. A 302 is temporary, meaning the original URL retains its rankings. Use 301 for permanent moves and 302 for short-term changes.
Which server formats does the builder support?+
It generates redirect rules for Apache (.htaccess), Nginx (server block), and Vercel (vercel.json). Each output follows the platform's native syntax so you can paste the rules directly into your configuration file.
Can I create regex-based redirect patterns?+
Yes. You can define pattern-based rules using regular expressions for bulk redirects, such as redirecting an entire directory structure or adding trailing slashes to all URLs.
Is this tool processed in my browser?+
Yes. All redirect rule generation runs locally in your browser. Your URL mappings are never sent to any server, so you can safely plan redirects for sites that have not launched yet.
How many redirects can I add at once?+
There is no limit in the tool itself. However, keep in mind that excessive redirects can slow page load times. Search engines also recommend avoiding long redirect chains where one redirect leads to another.