In AdminTools .htaccess maker, we've enabled Redirect non-www to www. By chance, we noticed that this results in a 302 status code from the site (as reported by the online tool isitup.org) when visiting the non-www url and a 301 when visiting the www url.
With redirecting disabled - and with the Joomla core .htaccess file - both www and non-www return a 301 code.
With redireting enabled, we noticed that the .htaccess code contains this line:
RewriteRule ^(.*)$ http%2://www.%{HTTP_HOST}/$1 [R,L]
We could of course change the last part to "[R=301,L]", manually / directly in the .htaccess file, but I suppose that this might be overwritten when using .htaccess maker in the future?
Would it be possible to add this to the AdminTools functionality? Or is there a reason why you didn't add this in the first place?
And we are a bit surprised by the fact that with Joomla core .htaccess we get a 301 and not a 200 response. I am aware that this is not part of your service, but if you happen to know how / why this is happening we'd be happy to learn more about it.
Kind regards