Topic: URL canonical

Hi everyone,

Possible to have a hack to insert URL in the meta tag URL canonical ?

Thanks you,

Re: URL canonical

Describe which code you want that will be created via hack (<meta> for instance)

Best regards,
CN Support team

Re: URL canonical

Like this :

<link rel="canonical" href="http://www.COMPLETE_URL_NEWS"/>

Re: URL canonical

Nobody has the same problem ?

5 (edited by 2013-05-31 10:23:39)

Re: URL canonical

There is no solution with the help of Cutenews.. You can use the following way to for canonical url, for example:
<?php if ($_GET['id']) echo '<link rel="canonical" href="http://'.$_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'].'"/>'; ?>

Best regards,
CN Support team

Re: URL canonical

Hi Support Team,

Perfect!

Thanks you.