Skip to content

Instantly share code, notes, and snippets.

@RiodeJaneiroo
Created October 10, 2018 12:02
Show Gist options
  • Save RiodeJaneiroo/b9b9c6a4ab97e19183e0ffb5ca79e855 to your computer and use it in GitHub Desktop.
Save RiodeJaneiroo/b9b9c6a4ab97e19183e0ffb5ca79e855 to your computer and use it in GitHub Desktop.
[Disable canonical URLs - YOASY] To disable the canonical entirely, you could do the following: #wordpress #yoast #canonical
add_filter( 'wpseo_canonical', '__return_false' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment