1. I want to add canonical link to my blog posts.
The solution I have found is adding the following:
<link rel=”canonical” href=”<?php the_permalink(); ?>”/>
2. The problem with that solution is that it adds forward-slash ‘/’ at the end of every permalink whereas I want to have the following format:
<link rel=”canonical” href=”http://www.letthemstare.com/aventure-dress-giveaway” />
How can I get posts urls WITHOUT having the forward-slash at the end?
Thanks and regards,