Closed szepeviktor closed 4 years ago
@szepeviktor does this also happen with the current master version?
Copying ....
Done.
Oh Yes!
"GET /4444440000000000444444444/ HTTP/2.0" 200
FYI this is my custom code
// Sitemaps
add_filter('core_sitemaps_register_providers', function ($providers) {
unset($providers['users']);
return $providers;
}, 0, 1);
add_filter('core_sitemaps_post_types', function ($postTypes) {
// echo-knowledge-base plugin
unset($postTypes['epkb_post_type_1']);
return $postTypes;
}, 10, 1);
add_filter('core_sitemaps_taxonomies', function ($taxonomyTypes) {
// echo-knowledge-base plugin
unset($taxonomyTypes['epkb_post_type_1_category']);
unset($taxonomyTypes['epkb_post_type_1_tag']);
return $taxonomyTypes;
}, 10, 1);
Seems to be caused by #149, so not sure how you encounter this also in 0.2.
See #162 for a fix.
Describe the bug When core-sitemaps plugin is disabled 404 (non-existent) URL-s return:
404.php
templateWhen enabled
single.php
gets rendered with HTTP/200 for non-existent URL-s