Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Compatibility with Yoast SEO when Form Single Views are disabled #1690
When Form Single Views are disabled from Settings > Display Options > Post Types, then still we can see URLs of those form single views under XML Sitemap of Yoast SEO. Also, tried refreshing permalinks.
If Form Single Views are disabled, then XML Sitemap of Yoast SEO should not show those pages.
If Form Single Views are disabled, then XML Sitemap of Yoast SEO is showing all the form single view URLs which is redirecting to homepage with a non-homepage URL.
Removing those URLs from XML Sitemap or 301 redirection to homepage. We need to investigate the best way around.
Steps to Reproduce (for bugs)
@DevinWalker @mathetos I have investigated in detail for this issue and discussed the same with @ravinderk based on which I have found few ways with which we can resolve it. However, trying it with accessing the module which is generating the sitemap directly doesn't worked.
Here are the few ways worked:
Also, I have made sure that [give_forms] shortcode is working when
Looking for you views and suggestions as well.