Opencart out of the box is pretty bad for SEO.
Urls aren’t optimised, canonical links are wrong, and filters can create big problems!
And while you could customise each feature by hand, buying an extension will save you time and money.
So here we have the best SEO extensions you need to get started ranking your Opencart store.
Which parts of Opencart require immediate optimisation?
So while some parts you may be able to get away with, there are a few essential parts of Opencart that should be fixed to avoid issues in Google rankings, which are:
- SEO Urls (keywords instead of random strings).
- Sub-category canonicals (to include the main category).
- Product canonicals & breadcrumbs
So let’s go over each one and see which extension / module can fix it.
1. SEO Urls for Opencart: Categories, Products, Information, Brand, Cart, Checkout, Homepage
The basic Opencart url for something like the information page is: https://domain.com/index.php?route=information/information&information_id=4
And the basic internal link for the homepage is: https://domain.com/index.php?route=common/home
Now Google really hates no-descriptive urls, especially those with lots of strange characters as it finds them more complicated to process, so we want to enable SEO urls so that we can change these to ideal urls:
Ideal information url: https://domain.com/contact
Ideal homepage url: https://domain.com/
1st Step – Enable SEO urls in the Htaccess and Admin Area
So you may have to get slightly technical here, you basically need to edit the name of the file .htaccess.txt to .htaccess, which should be present in the root folder of your website hosting (check via File Manager or FTP).
Next we need to change the setting in the admin area. Go to System -> Settings, then click the edit icon on the right, go to the server tab, and next to the SEO url settings set it to Yes.
Now you should be able to successfully edit the SEO url in your products, categories, information and brand pages with the SEO keyword field.
2nd Step – Extra Pages Require an Extension
So unfortunately it’s too much effort to manually code the other pages to work (not to mention that you’ll have to do it again if you upgrade Opencart versions), and so we need to purchase an extension for this.
The best Option: Opencart SEO Pack Pro by iSenseLabs
There are so many SEO options with this extension, and it will really help you manage the SEO of your Opencart store (particularly if you have a lot of products), but this setting is all we care about here.
You can easily switch all the non-seo optimised urls for things like account, login, checkout, homepage, etc to their optimised variations.
This is well worth the money at just under $100 when last checked.
The iSenseLabs support team are also excellent, and they can fix any integration issue within a few hours usually.
2. Sub-category Canonical Links – Make Them Right
So if you have a sub-category on your website, you might not have noticed but the default Opencart canonical is this: https://domain.com/sub-category
That means that Google will index and rank that page without the sub-category in the url.
This is not ideal, we want Google to rank this variation in 99% of cases: https://domain.com/category/sub-category
You can verify this by checking the official Opencart demo, where you will see urls like this for a sub-category canonical: <link href=”https://demo.opencart.com/index.php?route=product/category&path=26″ rel=”canonical” />
The url of the page is actually: https://demo.opencart.com/index.php?route=product/category&path=20_26
So to fix this, we need another extension!
Solution – Path Manager by Geeko
This brilliant little module will allow you to customise the canonical paths for categories and sub-categories.
As you can see from the image above, you get a choice as to which url to use for internal links, and another option for the canonical url that Google will choose.
These choices for each are:
- Direct path – everything comes off the root of the domain, eg: domain.com/category
- Full path – the full string is uses, eg: domain.com/category/sub-category
Now because you can choose either option for both the canonical and the internal urls, there’s loads of flexibility. However I recommend you choose Full path for both options.
John provided fantastic support for any conflicts, helping you get it up and running nice and fast.
Bonus – You can Customise Product Canonicals and Breadcrumbs too!
It also allows you to customise the breadcrumbs for your products, so even if your url is from the root domain (recommended, domain.com/product-url ) then you can still include a breadcrumb to a category (which will also show in the Google results if you have the right schema.org code included).
The options for your product canonical urls are:
- Direct link: direct link to product, no category included (ex: /product_name), this is default opencart behaviour
- Shortest path: shortest path by default, can be altered by banned categories (ex: /category/product_name)
- Largest path: largest path by default, can be altered by banned categories (ex: /category/sub-category/product_name)
- Last category: only the last category of the product will be displayed, if you have a product in /category/sub-category/product_name the link will be /sub-category/product_name
- Manufacturer path: manufacturer path instead of categories (ex: /manufacturer/product_name)
This offers you so much flexibility for your product url structure.
- If your products are in multiple categories and sub-categories then choose the Direct or Manufacturer path.
- If your products are in one category only then you can choose between Direct, Shortest and Manufacturer path.
It also allows you to add categories to breadcrumbs, even when you use the direct path. This option can be controlled by using the banned category feature, which allows you to remove certain categories from ever appearing in breadcrumbs / canonical urls.
Like I said previously, the support is amazing and it’s getting upgraded regularly.
So they are my basic recommendations to get your Opencart website SEO ready.
If you’re struggling with your SEO, consider purchasing a website audit from me to plan your way to the top of Google.
And if you’re going all out you can also purchase ecommerce domination SEO services here!