Free Tool

Redirect Code Generator

Generate server-specific redirect rules in seconds. Supports Apache .htaccess, Nginx, WordPress, JavaScript, meta refresh and Cloudflare — with bulk redirect support.

Configuration

Redirect Entries

Generated Code

How It Works

How to Use This Tool

1

Choose Server & Redirect Type

Select your server platform (Apache, Nginx, WordPress, etc.) and whether you need a 301 permanent or 302/307 temporary redirect.

2

Add Your Redirect Rules

Enter source and destination URLs for each redirect. Add as many entries as you need using the "Add Redirect" button.

3

Copy or Download

Review the generated redirect code, then copy it to your clipboard or download it as a configuration file for your server.

More Tools

Related Tools

Need Help With Your SEO Strategy?

Redirects are just the beginning. Get a free, no-obligation SEO audit and discover how to dominate search results.