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

krystinabutko

Newbie
  
  • Posts

    6
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

krystinabutko's Achievements

Rookie

Rookie (2/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. В коробке установлен Easy Blog Simple. Надо сделать ЧПУ. Добилась урл вида "/blog/?article_id=4". Заменить article_id=4 на keyword из url_alias НЕ ПОЛУЧАЕТСЯ НИКАК. В seo_pro.php внесены все необходимые изменения. Просто поясните, почему не срабатывает вот этот участок кода для article_id if(!in_array($route, array('product/search'))) { foreach($data as $key => $value) { switch($key) { case 'article_id': case 'product_id': case 'manufacturer_id': case 'category_id': case 'information_id': case 'order_id': $queries[] = $key . '=' . $value; unset($data[$key]); $postfix = 1; break; case 'path': $categories = explode('_', $value); foreach($categories as $category) { $queries[] = 'category_id=' . $category; } unset($data[$key]); break; default: break; } } }
  2. Просто поясните, почему не срабатывает вот этот участок кода для article_id if(!in_array($route, array('product/search'))) { foreach($data as $key => $value) { switch($key) { case 'article_id': case 'product_id': case 'manufacturer_id': case 'category_id': case 'information_id': case 'order_id': $queries[] = $key . '=' . $value; unset($data[$key]); $postfix = 1; break; case 'path': $categories = explode('_', $value); foreach($categories as $category) { $queries[] = 'category_id=' . $category; } unset($data[$key]); break; default: break; } } }
  3. В коробке установлен Easy Blog Simple. Надо сделать ЧПУ. Добилась урл вида "/blog/?article_id=4". Заменить article_id=4 на keyword из url_alias НЕ ПОЛУЧАЕТСЯ НИКАК. Мой seo_pro прикреплен. seo_pro.php
×
×
  • 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.