How do I completly remove the author archive page?
Hey indy1003!
Thank you for using the theme.
You can’t remove the actual pages but you disable the author links on Enfold > Blog layout > Blog meta elements. Disable the Blog Post Author. You can also redirect all author links to another page. Add this on functions.php:
add_filter( 'author_link', 'my_author_link' );
function my_author_link() {
return home_url();
}
Cheers!
Ismael
Here’s another option if you’re not using a child theme and don’t want to have to keep track of all your custom CSS. If you have Yoast SEO plugin installed (free version), go into “Titles & Metas”, then, in the “Archives” tab, the first section is “Author Archives”. Make sure it’s set “disabled,” then save changes, clear your cache, and the problem should be solved. This resulted in my “About Author” page disappearing, and my 404 to Homepage plugin sending people straight to the homepage. Hope this is helpful!