This depends on your Apache version and how it is reported by Apache itself. Custom redirection codes, i.e. the last bit in that line being
[R=301,L]
instead of
[R,L]
, were made available on Apache 2.2. If you are running an earlier version of Apache
or if Apache reports the wrong (or no) version to PHP then Admin Tools "plays it safe" and only uses the old-style redirection you see. This is on purpose. Otherwise the .htaccess Maker was breaking all sites hosted on Apache 1.x and 2.0 server.
The Apache version is detected through the SERVER_SOFTWARE environment variable which is the recommended and, to the best of my knowledge, only way to do it universally through PHP. You can see its contents by going to your site's administrator backend and clicking on System, System Information. Go to the System Information tab (the first one) and look for the sixth line from bottom with the Setting reading "Web Server". The value to the right is the contents of the SERVER_SOFTWARE variable. Please note that if you are not using
Apache itself but a "compatible" server such as Litespeed the custom redirection codes are not universally supported therefore Admin Tools' .htaccess Maker will NOT use them.
Nicholas K. Dionysopoulos
Lead Developer and Director
🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!