RewriteEngine On RewriteMap redirects txt:/home/.../.../rewriterules.map RewriteRule ^(.*)$ ${redirects:$1|$1} [R,L,NC] How does it work? (See here for details.) The first line turns on mod_rewrite. The next line sets the location of the map file (the two column list of source/destina...