Can't override canonical or rel links anymore
-
I just updated to the latest version of WordPress SEO (1.7.3.3). I noticed the code I wrote to intercept and tweak the canonical and rel next/prev links no longer works.
This version doesn’t store its instance in $GLOBALS[‘wpseo_front’] anymore. Not sure if there’s a way around this in the newer version where I can get the instanct value of the front end, which is needed to remove the actions like ‘adjacent_rel_links’ that I want to override.
The reason I override these is we have custom url structures to account for in some cases so I look for those specific cases and override where needed.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Can't override canonical or rel links anymore’ is closed to new replies.