Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Leaderboard

Popular Content

Showing content with the highest reputation on 10/28/2024 in Posts

  1. Не использовать Добавить в начало. Правилами замены заменить первую часть на домен... {skip}">|https//xxxxx
    1 point
  2. Доброго дня, я можу допомогти якщо актуально, пищіть.
    1 point
  3. Если надо сделать вторую и последующие страницы не каноническими, а канонической объявить первую страницу тогда: в контроллере категорий вместо if ($page == 1) { $this->document->addLink($this->url->link('product/category', 'path=' . $category_info['category_id']), 'canonical'); } else { $this->document->addLink($this->url->link('product/category', 'path=' . $category_info['category_id'] . '&page=' . $page), 'canonical'); } сделай if ($page == 1) { $this->document->addLink($this->url->link('product/category', 'path=' . $category_info['category_id']), 'canonical'); } else { $this->document->addLink($this->url->link('product/category', 'path=' . $category_info['category_id']), 'canonical'); $this->document->addLink($this->url->link('product/category', 'path=' . $category_info['category_id'] . '&page='. $page), ''); } В шаблоне шапки вместо {% for link in links %} <link href="{{ link.href }}" rel="{{ link.rel }}" /> {% endfor %} сделай {% for link in links %} {% if link.rel %} <link href="{{ link.href }}" rel="{{ link.rel }}" /> {% else %} <link href="{{ link.href }}" /> {% endif %} {% endfor %}
    1 point
Guest
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.