I really don't understand in which file and how to use rel=canonical
Whe I share my website in Facebook I see http://www.smywebsite.com/?view=featured and I read what Dziudek has written in july '13 for "The World News II" template: "You can modify the head section in the layouts/default.php file or in the layouts/blocks/head.php file." https://www.gavick.com/forums/the-world ... 27389.html
But it doesn't work or they're not the same files in Simplicity
<?php $app = JFactory::getApplication();
$menu = $app->getMenu();
if ($menu->getActive() == $menu->getDefault()) { ?>
<link rel="canonical" href="http://www.mywebsite.com" />
<?php } ?>
Could you please help me? Which files am I supposed to consider? And how ?
Thank you very much,
Lorenzo