Filters going into endless loop
-
I set /my-account/ as a filter to force SSL on that URL and its sub-pages. That URL maps to a single page with a WooCommerce login form in it (using a smart tag).
Now, when I go to that page, the browser going into a loop swicthing back and forth between SSL and non-SSL, until the browser gives up with a “error in redirection” message.
Now, if I set the SSL flag of the my-account page to checked, then this loop does not happen. So somehow, not having the “Enable SSL” flag on the page set will force the SSL access to jump to non-SSL, even though the page is set in this plugin as SSL filtered page. Should the filter not override the setting on an individual page? Or could there be some other plugin or setting that is causing the “Enable SSL” flag on a page to take precedence over the filter settings for the same page?
tl;di – the filter setting in this plugin for my-account causes my-account to jump to HTTPS. The unset “Enable SSL” flag on the my-account page causes it to jump back to HTTP. This goes on until the browser gives up. Why would they clash in this way? I don’t have to set the same thing in TWO places, do I?
- The topic ‘Filters going into endless loop’ is closed to new replies.