Welcome to WebmasterWorld Guest from 54.163.49.19

Forum Moderators: rogerd & travelin cat

Message Too Old, No Replies

Yoast Wordpress SEO - How to change rel=canonical on a single post

     
8:51 pm on Aug 8, 2014 (gmt 0)

New User

joined:May 16, 2014
posts: 18
votes: 0


I need to change the rel=canonical on a single post, so that the link points to a URL on a different domain. The reason for this is that I have duplicate content on 2 websites, and I would like one of them to be the 'original' source for SEO purposes.

I think I need to add something to functions.php to select the page number and edit wpseo_canonical, but everything I have tried so far breaks my site. Any suggestions would be much appreciated!
9:04 pm on Aug 8, 2014 (gmt 0)

Moderator This Forum from US 

WebmasterWorld Administrator travelin_cat is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Feb 28, 2004
posts: 3115
votes: 2


Go to the post you want to change, locate the "Wordpress SEO By Yoast" area, click on the "Advanced" tab and scroll down to "Canonical URL:"

I believe that is what you are looking for.
9:13 pm on Aug 8, 2014 (gmt 0)

New User

joined:May 16, 2014
posts: 18
votes: 0


Can't believe I missed that... Thanks!