In Yoast SEO settings, there is an option to disable Author archives which makes author archive pages redirect to the homepage. With WordFence installed (confirmed, with only these two plugins enabled), then instead of redirecting to the home page, it goes to a 404 page at the author archive URL (i.e. domain.com/?author-3). When I disable WF, then the redirection occurs as expected.
Turn out this is due to the WordFence option: “Prevent discovery of usernames through ‘/?author=N’ scans, the oEmbed API, the WordPress REST API, and WordPress XML Sitemaps”
I would like to keep this option checked to prevent accessing usernames via the various methods, but I would also like to keep author archives disabled and redirecting to home via Yoast (I just noticed that my sites’ automated blog notification emails link to the author archive, so it is not ideal to have this go to a 404). Is there any way to achieve this via WordFence? Do I need to take this up with Yoast?!
- The topic ‘Conflict with Yoast SEO Author archives redirect’ is closed to new replies.