wp2static icon indicating copy to clipboard operation
wp2static copied to clipboard

SuperCache cache sites got addtet to detection list

Open swtrse opened this issue 3 years ago • 1 comments

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.

swtrse avatar Mar 18 '21 12:03 swtrse

Thanks, @swtrse! Will definitely take a look and aim to get these fixes into the separate WP URL Detection library I'm working on!

leonstafford avatar Mar 18 '21 21:03 leonstafford