I put this on my templates… Quick question:
How is this different than just outputting the URL to the page you are on?
As far as I can see, the cononical link is the same as the URL in the location bar.
Why can’t google use that?
EE does do a very good job of generating consistent links, but you can’t control every link to every page on your site and this is basically a simple means of telling search engines which one is correct.
For example, I can be pretty much certain that it would be possible to access a single page on your site via all of the following URLs:
What this plugin does is ensure that the correct address, in this case http://www.example.com/seg1/seg2/, is output as the canonical tag setting irrespective of which URL variation is accessed.
The links in my first post all do a much better job of describing it than me, however.