Home › Forums › Support › How to deactivate canonical tag created by Generatoepress This topic has 1 reply, 2 voices, and was last updated 4 years, 2 months ago by David. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts February 18, 2022 at 8:01 pm #2124896 Abhishek Hi guys. There are two canonical tags created on all of my pages. One is by YOAST SEO, another one is by Generatorpress (Theme). How do I deactivate canonical tags in any one of them? February 19, 2022 at 5:54 am #2125213 DavidStaff Customer Support Hi there, you can try removing the one added by wordpress using this snippet: add_action( 'wp', function() { remove_action( 'wp_head', 'rel_canonical' ); } ); Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In