Categories
WordPress

Turn off Canonical URLs – WordPress SEO by Yoast

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.

You may like:  5 Best Alternatives to WordPress

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’ );

Avatar for Jacob Frazier

By Jacob Frazier

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.

Leave a Reply

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