Would it be a good practice to add code to components/com_sh404sef/shPageRewrite.php:
*/
// all done
return $buffer;
with
*/
// CANONICAL LINK FIX
$buffer = shInsertCustomTagInBuffer( $buffer, '</head>', 'before', '<link rel="canonical" href="'.$shPageInfo->shCurrentPageURL.'" />', 'first');
//CANONICAL LINK FIX - END
// all done
return $buffer;
to increase SEO scores or would this be worth it? I read suggestions but not sure if this would really make a lot of difference or you would have added this option already to sh404sef.
I trust your practices.
Thanks
*/
// all done
return $buffer;
with
*/
// CANONICAL LINK FIX
$buffer = shInsertCustomTagInBuffer( $buffer, '</head>', 'before', '<link rel="canonical" href="'.$shPageInfo->shCurrentPageURL.'" />', 'first');
//CANONICAL LINK FIX - END
// all done
return $buffer;
to increase SEO scores or would this be worth it? I read suggestions but not sure if this would really make a lot of difference or you would have added this option already to sh404sef.
I trust your practices.
Thanks