How to Redirect WooCommerce Users Afte...
Easily redirect WooCommerce users to a custom URL after checkout by adjusting the ...

WPCodeBox
872
Learn how to disable WordPress author pages and redirect them to your site’s home page for improved SEO and site management.
<?php
function author_page_redirect() {
if ( is_author() ) {
wp_redirect( home_url() );
}
}
add_action( 'template_redirect', 'author_page_redirect' );





