Category Slug Not Showing on Sitemap Xml Using Yoast Plugin

I have this problem in my sitemap.xml. I was wondering why in the list, the category slug is not present while in the dashboard permalink section, the URL is displaying its category link.

Here are some of the screenshots to further explain what I mean:

  • So in the image below you can see the links of the products and the links don't have its category being set in the dashboard:

  • Here is the screenshot showing what the links look like in the dashboard and what I expect the sitemap links to display:

Note: This sitemap is generated via Yoast SEO plugin version 4.8.

6

1 Answer

1) Try to disable Cache plugins, or any plugins that might be related

2) Update related plugins (if they need) and also, you'd better update WordPress too (as seen in your screenshot, it needs update)

3) Regenerate Sitemap (update that page)

4) Check if fixed.

5) if so, then re-enable the above disabled plugins and then regenerate sitemap and see if it's broken again, then some plugin conflicts with it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Chloe Bennett

Chloe Bennett

Culture, Media & Entertainment Columnist

Chloe Bennett explores the intersection of pop culture, streaming entertainment, digital trends, and contemporary lifestyle. Her weekly commentary reaches thousands of culture enthusiasts.

Share this article
Twitter Facebook Pinterest