.htaccess 301 Redirect and HTTPS Rule Generator
These rules are for Apache servers with mod_rewrite enabled, including many Hostinger shared-hosting accounts. Always keep a backup of your current .htaccess file, test on a staging site, and remember that a wrong redirect can loop or drop paths. Nginx users need a different syntax. This tool only writes text; it does not change your server.