Keyword

Canonical url plugin for K@

  • Blue Heron Acupuncture & TCM
  • Blue Heron Acupuncture & TCM's Avatar Topic Author
  • Offline
  • New Member
More
12 years 1 month ago #103036 by Blue Heron Acupuncture & TCM
Canonical url plugin for K@ was created by Blue Heron Acupuncture & TCM
Hi anyone using K2 know of a canonical url plugin to minimize duplicate url problems on with K2? I have installed Sh404sef but canonical's need to be placed manually with this extension.

Advice appreciated.

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago - 11 years 6 months ago #103037 by Dmitry
Replied by Dmitry on topic Re: Canonical url plugin for K@
They found a decision in Russian forum. You have to change code manually. The only mistake is that while printing the page.
joomlaforum.ru/index.php/topic,200322.0.html
To tell the truth I'd like to have the extension solution.
***
Done. To exclude duplicated content in k2 2.5 you should add to the file: components/com_k2/templates/default/item.php. the next code:
<?php
if ($this->item->link!= JRequest::getURI()) JApplication::redirect($this->item->link,'','' ,true);
?>
Now if wrong url is inserted it is ruled to the correct url
You can see here: studyplanet.by
The only problem not solved is Print button.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum