wp2static
wp2static copied to clipboard
SuperCache cache sites got addtet to detection list
The problem here is that in DetectPostsPagionationURLs the post type "oembed_cache" is not excluded from the query. This results in URLs that does not exist on the site. For SuperCache the solution would be to exclude oembed_cachejust like nav_menu_item and revision. A more general approach would be so let configure an list of excluded post_types.
Sidenote: I forked this project (swtrse/wp2static) and did include all the changes to optimize this plugin to my needs. Maybe someone finds this useful.
Thanks, @swtrse! Will definitely take a look and aim to get these fixes into the separate WP URL Detection library I'm working on!