Correct sitemap setup when WordPress is in a subfolder
-
I have an existing website at:
https://examplesite.com/
I then added WordPress with Yoast SEO to a subfolder:
https://examplesite.com/blog/
Now my sitemaps look like this:
https://examplesite.com/sitemap.xml
https://examplesite.com/blog/sitemap_index.xml
https://examplesite.com/blog/page-sitemap.xmlIs this the correct setup or should the /blog/ sitemaps be referenced in the root sitemap.xml?
The reason I’m asking is because all pages that are in page-sitemap.xml are not being indexed by Google at all.
Also, when i use for example Screaming Frog SEO Spider, it never finds any of the pages in /blog/.
https://imgur.com/WMLDwTwMy robots.txt looks like this:
https://imgur.com/DdwKQLuHere’s a screenshot from my Google Search Console / Sitemaps:
https://imgur.com/lgz9hQA
https://imgur.com/vYxrH5kThanks for taking a look!
- You must be logged in to reply to this topic.