Created
November 16, 2017 14:02
-
-
Save uprise10/82899d25d57bc0b47b5cd9714eb02c34 to your computer and use it in GitHub Desktop.
Exclude author XML sitemap from Yoast SEO
That's quite strange, since this filter shouldn't have any effect on the sitemap index itself, but only on the author items.
Is the 404 gone when you remove this piece of code?
I've tested this on a clean install, and that just works, so maybe another plugin or code from the theme is interfering here?
Yeah, the 404 is gone when i removed this code. May be an issue with a theme or plug-in.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
adding this results in the sitemap_index not accessible. It results in a 404 error... ;-( :-(