How to add query string at the end of sitemap Yoast SEO
If you want to add ?wmc-currency=AUD for all of your product URLs in the sitemap, you can use the wpseo_xml_sitemap_post_url filter: /** * Alters the URL structure for all products * * @param string $url The URL to modify. * @param WP_Post $post The post object. * * @return string The modified URL. */ function … Read more