In my theme is a custom post type for events.On the category pages for these custom post types no trailing slash is being added to the URL in the canonical tag when there should be.What could be causing this and how can I fix it?
WordPress Yoast SEO canonical tag trailing slash on custom post type categories
seo;wordpress;canonical url;rel canonical