Removing WordPress Canonical URLs
-
Hello,
I want to completely remove the <link rel=”canonical” href=”…” /> thing that gets inserted in wp_head(). I use All in One SEO pack but canonical URLs are disabled.
No plugin is inserting that code as I have disabled them all…doing some research I found out that WP has a built in system for canonical URLs but I tried numerous solutions to remove them…to no avail.
The remove_action(‘wp_head’, ‘rel_canonical’); doesn’t help…
Is there a way to completely remove canonical URLs?
Thank you !
The topic ‘Removing WordPress Canonical URLs’ is closed to new replies.