If you already know about international SEO, you probably know why it's so important to have your localized OpenCart shop content on different URLs. But how do you do this with OpenCart?
If you haven't installed additional languages in OpenCart yet, follow this guide: “How to install a language pack in OpenCart”
Now choose one of the ways below to add a new store in OpenCart:
How to create an OpenCart multi store with separate top level domains per country (ccTLD)
After you have purchased the desired domains.
- Go to the domains section of your cPanel:
- To create aditional domains (e.g. yourstore.fr) click on “Addon Domains”
- Complete the form
Adding a domain for your second store in cPanel
New Domain Name–enter the website address that you where your second store will be.
Document root—You need to point your new domain to the same directory that your current OpenCart store is in. If you don't know what the directory is, change this topublic_html
.
Subdomain/FTP username—this field will be autofilled. - Click "Add domain".
- Now go to OpenCart Admin>System>Settings and click "Insert"
- On the General tab enter the new domain name that you just created. Don't forget the slash (
/
) at the end:
OpenCart multi store setup with a separate domain
Fill in the rest of the information about your new store and click "Save". You can choose languages and currency settings here.
Setting up an OpenCart multi store with separate subdomains per language (or country)
- Go to the domains section of your cPanel:
cPanel Domains Section - To create a subdomain (e.g. fr.yourstore.com) click on “Subdomains”:
Creating a subdomain in OpenCart
Subdomain—Enter a name for your subdomain
Document root—Make sure it points to the same directory that your OpenCart installation is in. If you don't know where OpenCart is installed, change this topublic_html
. - Now go to OpenCart Admin>System>Settings and click "Insert"
- On the General tab enter the new subdomain that you just created. Don't forget the slash (
/
) at the end:
OpenCart Multi-store setup with a subdomain
Setting up an OpenCart multi store with separate folders per language (country)
When finished your store URLs will look like this:
http://yourstore.com/language/…
e.g. If your store is translated in English and French, you should have the following URLs for each language:
http://yourstore.com/en/…
http://yourstore.com/fr/…
!Please note: To make this work, you'll have to purchase an extension.
Search the OpenCart marketplace for "multilingual SEO URLs".
However, in this case, you won't be able to use different currencies for each country because you will still have only one store.
What's next?
In the next article I'll tell you how to set different prices for the same product in an OpenCart multi store
Thank you, this amazing.