Redirect Generator
Generate .htaccess, Nginx, and meta tag redirect rules for 301 and 302 redirects.
Permanent redirect - passes SEO value
RewriteEngine On # Redirect /old-page to /new-page RewriteRule ^old-page$ /new-page [R=301,L]
About .htaccess redirects:
- Place the code in your .htaccess file in the website root
- Requires Apache with mod_rewrite enabled
- Rules are processed top to bottom
How to use the Redirect Generator
Enter old and new URLs
Specify the source URL you want to redirect from and the destination URL to redirect to.
Choose redirect type and format
Select 301 (permanent) or 302 (temporary) and pick the output format for your server.
Copy the redirect code
Copy the generated redirect code and add it to your server configuration or HTML file.
About the Redirect Generator Tool
Generate .htaccess, Nginx, and meta tag redirect rules for 301 and 302 redirects. This free online redirect generator from BuildQuill runs entirely in your browser. No data is sent to any server, keeping your information private. No signup or installation needed.
- Free to use with no account required
- Works in all modern browsers
- All processing happens locally in your browser
- Part of BuildQuill's seo tools collection
Frequently Asked Questions
What is the difference between a 301 and 302 redirect?
Which redirect format should I use?
How do I redirect an entire domain to a new one?
Related Tools
Text to Slug
Convert any text into a clean, URL-friendly slug for your website.
Color Palette Generator
Generate harmonious color palettes from any base color. Complementary, triadic, analogous, and more.
Hash Generator
Generate SHA-1, SHA-256, and SHA-512 hashes from any text input.
Image to Base64
Convert any image to a Base64 data URL instantly in your browser. No upload, fully private.
MD5 Hash Generator
Generate MD5 hash from any text string for checksums and verification.
Meta Tag Generator
Generate perfect HTML meta tags for SEO, Open Graph, and Twitter Cards in seconds.