Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialAustin Harms
8,680 PointsHow would you set the canonical link in a Wordpress site?
Since Wordpress themes are written in PHP and the HTML is then generated, how would you add the canonical link to the duplicate page? Would you have to modify one of the PHP files?
1 Answer
mikes02
Courses Plus Student 16,968 PointsI use the Yoast SEO WordPress plugin and let it take care of that, make it very easy and allows you to do a lot of beneficial SEO after installing the plugin, very easy to use and there are guides on Google that will show you how to configure it as well.
Thiago Nogueira
8,411 PointsThiago Nogueira
8,411 PointsThanks for sharing this information, I am going to look into it! I have been using WP and wondered how i could improve my SEO on it. :)
mikes02
Courses Plus Student 16,968 Pointsmikes02
Courses Plus Student 16,968 PointsI think you will like it, I use it on pretty much all WordPress sites, it makes SEO much easier.