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 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
Meta Tag Generator
Generate perfect HTML meta tags for SEO, Open Graph, and Twitter Cards in seconds.
Open Graph Preview
Preview how your page looks when shared on Facebook, Twitter, LinkedIn, and Discord.
Google SERP Preview
Preview how your page appears in Google search results on desktop and mobile.
Keyword Density Analyzer
Analyze keyword frequency and density in your content for better SEO optimization.