Back to Arsenal

Redirect Rule Generator

SEO

Generate Apache, Nginx, or CSV redirect rules for migrations, slug changes, and cleanup.

ttb run redirect-rule-generator
Paste one old/new path pair per line.

Redirect inputs

Great for migrations, slug changes, and content cleanup.

Generated rules

3 redirect pairs ready.

Redirect 301 /old-page /new-page
Redirect 301 /old-category/widget /products/widget
Redirect 301 /blog/2023/post /blog/post
Keep one redirect per line so your migration sheet stays easy to audit.
इस टूल को शेयर करें:

How to Use Redirect Rule Generator

Enter your old URL (source) and new URL (destination), choose the redirect type (301 permanent or 302 temporary), and select your server format (Apache .htaccess, Nginx, or CSV). Add multiple redirects for bulk migrations, then generate the complete rule block ready to paste into your server config or redirect manager plugin.

1

Enter old and new URLs

Paste the original (old) path or URL and the new destination URL for each redirect.

2

Select redirect type

Use 301 for permanent moves (SEO equity transfers). Use 302 for temporary redirects (no equity transfer).

3

Choose server format

Select Apache for .htaccess rules, Nginx for server block rules, or CSV to import into a plugin.

4

Generate and deploy

Copy the generated rules and add them to your server config or redirect plugin.

Frequently Asked Questions

When should I use 301 vs 302?+
Use 301 for permanent URL changes — it transfers ~90-99% of link equity. Use 302 for temporary redirects like A/B tests where the original URL will return.
Do redirects hurt SEO?+
A single 301 redirect has minimal impact. Redirect chains (A to B to C) reduce crawl efficiency and lose equity at each hop. Always redirect straight to the final destination.
How long should I keep old redirects?+
Keep them indefinitely for important pages. Removing a redirect too soon returns a 404, wiping any residual authority. Only remove after confirming no significant traffic or inbound links remain.

Free tools, weekly.

Get lightweight updates when new tools land.

अपडेटेड रहें

नई टूल्स सबसे पहले पाएं।

सबसे पहले नए टूल्स पाएं। 5,000+ डेवलपर्स के साथ जुड़ें जो हर हफ्ते नए ऑनलाइन टूल्स, कोडिंग टिप्स और प्रोडक्टिविटी हैक्स का डाइजेस्ट पाते हैं। बिना स्पैम के।

© 2026 TinyToolbox. सर्वाधिकार सुरक्षित।

गोपनीयता पहले। विज्ञापन-समर्थित। हमेशा मुफ्त।

[H4CK]