Seo url 不适用于 OpenCart 3 中的主页

Seo url doens't work with homepage in OpenCart 3

我在设置 (Opencart 3) 中启用了选项(使用 SEO URLs)。除主页外,所有链接(如联系方式、关于等)均有效!

我已将此添加到 SEO URL 页面:

但它仍然显示为:index.php?route=common/home

我该如何解决?

希望对您有所帮助

请在 catalog/controller/startup/seo_url 中进行更改。php

if `(($data['route'] == 'product/product' && $key == 'product_id') ||
    (($data['route'] == 'product/manufacturer/info' || 
    $data['route'] == 'product/product') && $key == 'manufacturer_id') || 
    ($data['route'] == 'information/information' && $key == 'information_id')) 
{

if (($data['route'] == 'product/product' && $key == 'product_id') || 
    (($data['route'] == 'product/manufacturer/info' || 
    $data['route'] == 'product/product') && $key == 'manufacturer_id') ||
    ($data['route'] == 'information/information' && $key == 'information_id') || 
    $data['route'] == 'common/home') 
{

问题是主徽标上的 link。您可以通过安装可在此 link 免费下载的 vQmod 来解决此问题: https://www.antropy.co.uk/blog/one-quick-opencart-seo-tip-to-avoid-a-duplicate-home-page/