Where to put .htaccess redirect rules
Use the source site’s document-root .htaccess, not a nested directory. These rules require Apache 2.4, mod_rewrite, and FileInfo overrides. Page redirects use an anchored, escaped RewriteRule for a literal, exact path. Merge carefully with existing framework and rewrite rules; this output is not a replacement for the whole file. If you control Apache’s virtual hosts, a dedicated redirect virtual host is often simpler than .htaccess.