Does the plugin require update to .htaccess?
-
I am a little confused about how this plugin works. I am using ver. 1.9.44 of the plugin with WP 5.8 and Apache 2.4.
My understanding is that the plugin basically gives you a way to determine the directives to put in .htaccess (when using Apache) and the update of .htaccess has to be done manually.
However, I find that when the plugin is active and the various settings have been configured and the CLI command has been run, the response headers are indeed sent, exactly as configured in the plugin, even though there are no directives in .htaccess, which is completely unexpected.
Let me clarify the situation. I add the directives to .htaccess, clear all caches, and test the site (using either Chrome or https://viewhttpheaders.com) to see what headers are being sent. All is well. Then I remove the directives from .htaccess, clear the caches and retest. The headers are still there! Then I deactivate the plugin and retest. Now only the default WP headers are there, not what I configured in the plugin. Re-activate the plugin, but do not put the directives in .htaccess and the headers, as configured in the plugin, are once again being sent.
I am quite sure that there are no other .htaccess files lurking with any of the relevant directives. And there are no other plugins or functions in functions.php that send these headers.
So, have I completely misunderstood how the plugin is working, or is some other strange thing is happening?
- The topic ‘Does the plugin require update to .htaccess?’ is closed to new replies.