OpenCart

OpenCart customizations and tuning

SEO replace all ugly ?route=common/home to home page address – Self made 😉 In file /catalog/controller/common/seo_url.php add following line to almost the end of function rewrite($link) (line 122): } else { //convert http://sparring-time.com/index.php?route=common/home to http://sparring-time.com $link = str_replace(‘/index.php?route=common/home’,”,$link); return $link; } And that’s it ;-). Instead of replacing lot of controller php files or any …

Continue Reading