wp2static
wp2static copied to clipboard
Archive URLs got detected even if archives are disabled
The problem here is that wp_get_archives returns archive links even if archives are disables (via Yast SEO for example). In case of Yast SEO these links are rerouted to the default page. What happens is that wp2static takes these archive links and creates a static version of the default page for each and every archive link. The easiest way would be a option to disable explicit archive link detection.
Thanks for tracking these down, @swtrse!
There is a filter available if you add to a custom function, for each detection type. I'm doing some big reworking of the detection functionality and putting it into its own library. I'll then expose those filters in WP2Static's UI/CLI.