0

I've enabled the option (Use SEO URLs) in settings (Opencart 3). All links such as contact, about, etc are working, except the homepage!

I have added this to the SEO URL page:

  • Query: common/home
  • Keyword: home

But it still appears as: index.php?route=common/home

How can I fix that?

Andrew_Lvov
  • 4,621
  • 2
  • 25
  • 31
Behiry
  • 575
  • 5
  • 20

2 Answers2

0

I hope it will help you as

Please make changes in 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')) 
{

to

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') 
{
Hille
  • 2,123
  • 22
  • 39
LetsCMS Pvt Ltd
  • 634
  • 5
  • 7
0

The problem is the link on the main logo. You can fix this issue by installing the vQmod that is free to download at this link: https://www.antropy.co.uk/blog/one-quick-opencart-seo-tip-to-avoid-a-duplicate-home-page/

Paul Feakins
  • 719
  • 5
  • 7