Opencart SEO Important Steps

Spread the love

Let’s Dive into Opencart SEO Important Steps

Opencart is a type of e-commerce platform which enables anyone to use to sell products. Opencart provides a similar platform like that of Shopify. Opencart SEO necessary steps will give you a brief explanation of how to generate organic traffic. On this platform, you are given a website which is a platform to display your products and sell. A site meant for selling of items and products needs to be well optimised and ranked to make sales and prevent redundancy. However, with lots of methods on how to go about maximising your open cart store for good deals, it is also essential to discuss necessary steps to setting up your open cart e-commerce website for Search Engine Optimization. This article is based on teaching how you can get your opencart installation to the point of making it fit for SEO. I will describe four tips that will put your opencart platform on the lane for its optimisation through Search Engine Optimization practices and techniques. The steps involve Setup of Search Engine Friendly URL (SEF URL), Redirection of non-SEF URL, Setup of Canonical tagging site-wide, access application for redirection of opencart.


  1. SEF URLs in Opencart For SEO

Enable SEF in Opencart

Login to your Opencart install as the Administrator and navigate to [system] -> [settings]. Click on the Server tab and then select “yes” for Use SEO URLs.

Enable Opencart Sef URL

Click the “save” button.

The next thing is to enable the SEF URLs and enter URL of each product page. This may be difficult and take time to do if you have a database of thousands of products.

Navigate to your catalogue -> products/categories/information -> Click “Data” tab –> Enter the SEF URLs in to “SEO Keyword” field (ensure you use “-” as the separator, e.g. Aegean-sea-scented-candle)

Entering SEF URLs Opencart

Now that we have all our new SEF URLs, we need to redirect the old Opencart URL so that Google crawls only our new one and it discards the old ones.

2. Redirect non-SEF URLs to SEF URLs

Opencart automatically and permanently redirects old non-SEF URLs to new SEFs. This can cause header response and duplication of new SEF URLs which causes excellent danger to rankings.

A very core way to redirect to 301 is to apply the .htaccess file. This way may not work for large e-commerce websites because it would take more time to do and more server loading time. More server loading time is bad for rankings. The PHP wildcard redirect is an excellent alternative to the 301 redirects.

The next primary SEO task for Opencart is canonical tagging. Most e-commerce websites have products that can be crawled from various and multiple addresses for proper categorisation and comfort surfing. The compelling point is to give excellent and unrestricted access to search engines to products on the websites to avoid multiple indexing of the same content.

  1. How to do 301 redirects in .htaccess file for OpenCart website.

A RewriteRule is needed and required to redirect 301 on the opencart e-commerce website .htaccess file. The use of simple 301 redirections like “Redirect 301 /page1″ is not possible. Using it would create query string “?_route_=” to the final destination URL.

RewriteEngine on
RewriteRule ^page1$ [R=301L]

4. Set up correct canonical link element for every page.

A conical tag in the header.tpl file needed on the opencart e-commerce template if it is not set up already.

Insert Opencart canonical code

For parameter link that is not programmed for product, manufacturer or information pages and categories, canonical won’t be visible for such pages. To set it up, product code (product.php), category code (category.php), manufacturer code (manufacturer.php in the folder “/catalog/controller/product/”) and information code (information.php in folder “/catalog/controller/information/”) are required. However, the coding is not the same as the various version or different coding pattern of the opencart. An adjustment of the coding might be needed to make it fit into your opencart website.


Product page: product.php

$this->document->addLink($this->url->link(‘product/product’, ‘product_id=’ . $this->request->get[‘product_id’]), ‘canonical’);

Category page: category.php

$this->document->addLink($this->url->link(‘product/category’, ‘path=’ . $path), ‘canonical’);

Manufacturer page: manufacturer.php

$this->document->addLink($this->url->link(‘product/manufacturer/product’, ‘manufacturer_id=’ . $this->request->get[‘manufacturer_id’] . $url), ‘canonical’);

Information page: information.php

$this->document->addLink($this->url->link(‘information/information’, ‘information_id=’ .$information_id), ‘canonical’);

Going by all the above steps for Opencart SEO, it is believed that you would have gotten yourself an ecommerce website ready for Search Engine Optimization.

How can you find the right SEO service provider for your small business venture?



About US

The most respected Online marketing and SEO agency in Hong Kong. We want to change the way businesses operate.


Other posts