Redirect Rule Generator
Generate .htaccess and nginx redirect rules for 301 redirects, HTTPS, and www canonicalization.
2 redirects configured
About this tool
301 redirects preserve SEO value during URL changes, HTTPS migrations, and www canonicalization.
Generate Apache .htaccess or nginx snippets — paste into server config manually.
How to use the Redirect Rule Generator
- 1
Select redirect type: 301, HTTPS force, or www/non-www.
- 2
Enter source and destination URLs or patterns.
- 3
Copy the generated .htaccess or nginx config snippet.
Redirect priorities
HTTPS and www/non-www should redirect in one hop — avoid redirect chains.
Test redirects with curl or browser dev tools after deployment.
Pro tips
- Backup existing .htaccess before overwriting.
- Map old URLs in a spreadsheet before generating bulk redirect rules.
Social Media Specs & Character Limits
Optimal text formatting, length guidelines, and parameters for all major platforms:
| Platform | Max Length | Ideal Length | Hashtag Policy |
|---|---|---|---|
| Instagram Feed & Reels | 2,200 chars | 125 - 150 chars | 3 - 5 tags (Recomm.) |
| TikTok Posts | 4,000 chars | 100 - 200 chars | 3 - 5 tags (Ideal) |
| YouTube Description | 5,000 chars | 1,500 chars (SEO) | 3 - 10 tags |
| X / Twitter Post | 280 chars | 100 - 140 chars | 1 - 2 tags |
| LinkedIn Articles & Posts | 3,000 chars | 500 - 1,000 chars | 3 - 5 tags |
Related tools
All tools →Broken Link Syntax Checker
Find malformed URLs with regex — no crawling
Alt Text Template Generator
Bulk alt text templates for image SEO
Canonical Tag Generator
Generate rel=canonical link tags for SEO
Character Frequency Counter
Count character and word frequency in any text
Color Contrast Checker
Test WCAG color contrast for accessibility
Favicon Generator
Generate favicon sizes from an uploaded image
Frequently Asked Questions
Should I use 301 or 302 redirects?▼
Use 301 for permanent moves (domain changes, URL restructures) — it passes most SEO value.
Does this modify my server?▼
No. This generates config text — you paste it into your server config manually.