↪️
.htaccess Redirects
Generate .htaccess redirect rules (Apache).
🔒100% Privacy⚡Instant🆓Free Forever📱Mobile Friendly
Redirects:
.htaccess:
RewriteEngine On
# Force HTTPS
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
# Redirect /old-page
Redirect 301 /old-page /new-page
◆ How it works
.htaccess Redirects — 3 simple steps
01
Add redirect rules
From → To
02
Configure HTTPS/www
Common rules
03
Upload to root
Or merge with existing .htaccess
◆ FAQ
Common questions.
301 vs 302?
+
◆ Related tools