Turn off Canonical URLs – WordPress SEO by Yoast

related posts in wordpress

Yoast SEO works in a way to choose a focus keyword for your articles, and then makes sure that you use that focus keyword everywhere. But Yoast SEO turns the canonical URLs ON always.

It has different types of features:

– Page Analysis
– Search Engine Optimization
– XML Sitemaps
– Meta & Link Elements
– RSS Optimization
– Breadcrumbs
– Social Integration
– Multi-Site Compatible
– Import & Export functionality

You can DOWNLOAD Yoast SEO from WordPress Plugin page or go to directly Yoast SEO website.

Unfortunately WordPress SEO or Yoast SEO turns the canonical URLs ON and unlike other SEO plugins does not have an ON/OFF option.

You need to add filter in function.php using below code:

Turn off Canonical URLs:

add_filter( ‘wpseo_canonical’, ‘__return_false’ );

Based on United States, Jacob Frazier is a skilled JavaScript developer with over 8 years of experience. He is passionate about change and trying new things, both professionally and personally. He loves startups and is extremely proactive.

You may like:  How to Boost your website’s SEO with Yoast and W3 Total Cache Plugin?

Leave a Reply

Your email address will not be published. Required fields are marked *