// SET GOOD CANONICAL URLS IN ZOO PAGINATION: removing /frontpage/2 and /category/2 $doc = JFactory::getDocument(); $uri_src = JUri::getInstance(); if( JRequest::getVar('option') == 'com_zoo' && (JRequest::getVar('view') == 'frontpage' || JRequest::getVar('view') == 'category' || JRequest::getVar('page')) ){ //clean text in URL $myuri = str_replace( array('/frontpage/', '/category/'), '/', $uri_src); //removing data from URL //clean pagination in URL $myuriPos = strripos($myuri, '/'); $myuriLast = substr($myuri, ($myuriPos+1)); if( is_numeric( $myuriLast ) ){ // if this is pagination page $myuri = substr($myuri, 0, $myuriPos); } //removing canonical link foreach ($doc->_links as $k => $array) if($array['relation'] == 'canonical') unset($doc->_links[$k]); //add GOOD canonical link $doc->addHeadLink($myuri, 'canonical', 'rel', ''); } // REDIRECT FROM BAD ZOO PAGINATION: /frontpage/2 and /category/2 if( stristr($uri_src, '/category/') || stristr($uri_src, '/frontpage/') ){ $myuri = str_replace( array('/frontpage/', '/category/'), '/', $uri_src); //removing data from URL header("Location: " . $myuri, TRUE, 301); die(); }?>
For the last few days we were very delighted with the success of our puppy Gladiator on the World Dog Show that took place in Moscow this weekend. The World Dog Show is a global event. A huge number of excellent animals were gathered in Moscow in "Crocus Expo".
One of our puppies, Gladiator, son of Bao, brother of Goliath and Harmony, also took part in this super-show in puppy class. The competition was very serious. The most famous kennels tried to show their achievements. As they say - winning isn’t everything, it’s the taking part that counts. But not for us. Gladiator gets «Best puppy male» and «Best puppy» prizes. We are so pleased and happy! And we congratulate his owners!