skip to Main Content

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?

2

Answers


  1. 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') 
    {
    
    Login or Signup to reply.
  2. 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/

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search