🏠 Home πŸ”§ Tools πŸ“ Blog πŸ‘‹ About πŸ“¬ Contact ⚑ All Free Tools
βš™οΈ Dev Tools β€” Free & Instant

Free .htaccess Redirect Generator

Create 301, 302, HTTPS force, www/non-www, wildcard and bulk redirects for Apache servers. Build your complete .htaccess file and download it in one click.

301 Permanent 302 Temporary πŸ”’ Force HTTPS 🌐 WWW Redirect πŸƒ Wildcard πŸ“¦ Bulk Import
0
301 Redirects
0
302 Redirects
0
Total Rules
0
Lines Generated
⚑ Quick Rules β€” One Click Add
πŸ”’
Force HTTPS
Redirect all HTTP traffic to HTTPS automatically
🌐
Force WWW
Redirect non-www to www version of your site
βœ‚οΈ
Remove WWW
Redirect www to non-www (cleaner URLs)
πŸ”—
Remove Trailing Slash
Redirect /page/ β†’ /page for consistency
πŸ“„
Remove index.html
Redirect /index.html β†’ / (remove duplicate)
🚧
Maintenance Mode
Redirect all traffic to a maintenance page
πŸ”§ Custom Redirect Builder
♻️ 301 Permanent Redirect 301 Best for SEO. Passes link juice.
⏩ 302 Temporary Redirect 302 Temporary move. No SEO impact.
↩️ 303 See Other Redirect 303 After POST, redirect to GET.
πŸ”„ 307 Temp Strict Redirect 307 Like 302 but keeps HTTP method.
πŸ” 308 Perm Strict Redirect 308 Like 301 but keeps HTTP method.
πŸ—‘οΈ 410 Gone Redirect 410 Page permanently removed.
πŸ“₯ Bulk Import Redirects

One redirect per line. Format: /old-path β†’ https://domain.com/new-path or /old,https://new

πŸ“‹ Your Redirect Rules (0 rules)
No redirects yet β€” add one above or use a Quick Rule ⚑
βš™οΈ Global .htaccess Options
Enable RewriteEngine
Required for mod_rewrite rules. Always include.
Add Comments
Include descriptive comments in the generated code
Add WebTigers Header Comment
Credit line at the top of the file
Block WordPress XML-RPC
Security: block xmlrpc.php brute force attacks
Disable Directory Listing
Hide folder contents from visitors (Options -Indexes)
Add Browser Caching Headers
Cache static assets for faster page loads
πŸ“„ Generated .htaccess
0 lines