Tag to insert a page's URL in its own HTML script
Posted: Wed Apr 04, 2012 5:23 pm
I want to add a canonical statement to a template to prevent Google indexing the same page with different URL's. Something like:
<link rel="canonical" href="http://www.safari-club.co.uk/botswana-safaris" />
Unfortunately CMS does not seem to provide a tag for a page alias or preferably its full url so that a generic statement can be added to a template rather than having to add and edit the above to every single page. Any ideas?
<link rel="canonical" href="http://www.safari-club.co.uk/botswana-safaris" />
Unfortunately CMS does not seem to provide a tag for a page alias or preferably its full url so that a generic statement can be added to a template rather than having to add and edit the above to every single page. Any ideas?