How can I create custom SEO-friendly URLs in OpenCart?

前端 未结 8 1638
天命终不由人
天命终不由人 2020-11-30 22:29

How can you customize system URLs in OpenCart? For example, I would like http://example.com/index.php?route=checkout/cart to be displayed as http://example.com/cart

8条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-30 23:04

    A simple "no code" method is to install vQmod. Instructions here: vQmod install wiki

    And then upload the xml file available in this Opencart forum thread to the vqmod/xml/ folder.

    The xml contains a relatively easy to read script that maps the urls similar to the two answers above, but without modifying core files. So site updates will not kill it.

提交回复
热议问题