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

biga

Newbie
  
  • Posts

    3
  • Joined

  • Last visited

biga's Achievements

Newbie

Newbie (1/14)

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

Recent Badges

0

Reputation

  1. Seo_pro помогло. Все предыдущие советы пробовал. Но урлы все-таки не формировались до установки seo_pro
  2. Доброго дня, комрады! Досталось мне в наследство поддежка сайта с OpenCart. И вот в чем проблема. ЧПУ работает, т.е. http://site.com/index.php?route=checkout/cart работает и http://site.com/checkout/cart одинаково доступны. Но, к сожалению, все ссылки в шаблоне оформления не ЧПУ, т.е. http://site.com/index.php?route=checkout/cart Каким образом я могу изменить данное поведение? С OpenCart работаю впервые, попинайте в какую сторону грести. p.s. Немного о PHP Как я понял ссылки формируются через catalog/controller. Там я увидел такую картину $data['shopping_cart'] = $this->url->link('checkout/cart'); Т.е. url формируется через system/library/url.php В тоже время в index.php вызывается // SEO URL's $controller->addPreAction(new Action('common/seo_url')); Т.е. теоретически url должен переписываться в этом преэкшене. И тут самое интересное, такое ощущение, про функция rewrite из catalog/controller/common/seo_url.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.