Commit 771c4ebcae7433a9d9a05094f67ea19b50b076a9

Authored by Dima
1 parent b2796072

fix page mask

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/app/frontend/views/index.php
... ... @@ -5,7 +5,7 @@
5 5 <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
6 6 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
7 7 <?php
8   - if (preg_match("/page/i", $_SERVER['REQUEST_URI'])) {
  8 + if (preg_match("/page/i", $_SERVER['REQUEST_URI']) && !preg_match("/prof_tips/i", $_SERVER['REQUEST_URI'])) {
9 9 echo "<link rel='canonical' href='http://".$_SERVER['HTTP_HOST'].$this->seoUrl->setUrl($this->url->get($page_url_for_sort['3']))."?all=1'>";
10 10 }
11 11 if (preg_match("/sort-/i", $_SERVER['REQUEST_URI'])) {
... ...