You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pcosta88
changed the title
WooCommerce Shop Page fails to be removed from sitemap
Trashed or deleted or removed WooCommerce Shop Page fails to be removed from sitemap
Jul 28, 2017
It's issue/behavior related to woocommerce. Customer needs to set other(new) page as shop base page. Woocommerce still has current page id (even it's in trash) as shop base and get_permalink( wc_get_page_id( 'shop' ) ) returns shop__trashed.
If customer wants to remove shop page from product sitemap, it's possible with filter from #7002. Probably this issue could be closed as duplicate of #7002. I see that customer want to set noindex to shop page and exclude it from product sitemap.
What did you expect to happen?
After deleting the WooCommerce Shop page it would be removed from the sitemap
What happened instead?
It was not
How can we reproduce this behavior?
1.Delete shop page
2.See that it still appears
Can you provide a link to a page which shows this issue? https://www.dynamiteindicators.com/product-sitemap.xml
Technical info
The text was updated successfully, but these errors were encountered: