it3 — URL shortener & tools

htaccess Redirect Generator

Produce starter rules for Apache. Always test on staging; regex and server modules vary by host.

For RewriteRule, the old path is escaped for regex literals. Query strings and advanced conditions are not generated here—extend on your server as needed.

FAQ

Apache vs LiteSpeed vs nginx?

Directive syntax differs; `.htaccess` applies to Apache-compatible stacks—nginx needs its own `rewrite` blocks.

301 vs 302 SEO?

Permanent consolidates signals when URLs truly moved; temporary preserves old URL equity while A/B routing—mislabeling confuses crawlers.

RewriteBase headaches?

Subdirectory installs sometimes need `RewriteBase`—test on staging with logging enabled.

Trailing slash debates?

Be consistent; mixes create duplicate content—pick one style and redirect the other.

WAF interactions?

Some hosts block `.htaccess` uploads—use their panel or escalate tickets.

Backup first?

A typo can white-screen WordPress—keep FTP backups before experimenting.

Buy Me a Coffee at ko-fi.com