Doubled sitemaps & incorrect “Last Modified”
-
Hi, I found two problems (Version 1.0.39)
1.I have 3 taxonomies from WooCommerce (product_cat, product_tag and product_shipping_class) but the sitemap is only generated for product_cat. As a result, there are 3 identical sitemaps with categories.
2. The last modified dates in the index file are not the youngest dates in the child files.My solutions:
api.php file
1. Loop from line 2568 moved to condition above.
2. Removed time from post_date in condition on line 715. If the post modification date is the same as the post date, then the date of the current post is selected as the main modification date, even if there was already a younger post.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Doubled sitemaps & incorrect “Last Modified”’ is closed to new replies.