Dear Support,
Please, I noticed that the redirection function you gave me is working for other pages but is not working for the default woocommerce shop page: It does not redirect from the woocommerce shop page to my custom shop page.
See the code below:
function custom-shop_page_redirect()
{
if( is_page( 680 ) )
{
wp_redirect( home_url( ‘/custom-shop-page/’ ) );
exit();
}
}
add_action( ‘template_redirect’, ‘custom-shop_page_redirect’ );
Please, kindly assist.
Regards,
Stardrive