How to use Weglot with Shopify Markets?

In this article, you'll learn what Shopify Markets is and how to ensure compatibility with Weglot.

What is Shopify Markets?

The Shopify Markets feature allows users to create their own international e-markets on their Shopify store and easily sell products in several countries all around the world. Basically, using just your Shopify store via your Shopify admin, you will have the capacity to manage sales in several countries.
Thanks to Shopify Markets, you can deploy, manage, and optimize international markets while using only one Shopify shop.
To know more about Shopify Markets, click here.

Is Weglot compatible with Shopify Markets?

Yes, Weglot is compatible with Shopify Markets!
Weglot now offers a subdirectory integration that is compatible with Shopify Markets.

With the subdirectories integration, translated pages are displayed using subdirectory URLs. For instance, English-translated pages would appear with a URL such as .

The compatibility with Shopify Markets allows URLs to include both Market and language information. These elements are independent of each other and are separated by a dash within the same subdirectory.

Here's how the URL structure would look:[Weglot-language]-[Shopify-Market]

Therefore, the URLs could be: (for an English-translated page in the English market) (for an English-translated page in the French market)

How to integrate Weglot with Shopify Markets?


  1. In Shopify, choose to use subfolder-type URLs for your Markets. Subfolder-type URLs are URLs like "" for the German version of your market. 
  2. Delete additional languages that you can have on your Shopify admin. To achieve that, you can go to your Shopify Admin > Settings (in the bottom left) > Languages. If you have registered languages, unpublish them and delete them. They are something different from Weglot and can create some conflicts.
  3. Another essential prerequisite is that you must manage your own domain name and not use a Shopify subdomain (with the URL ending with ).
  4. You must have access to your DNS provider, where you can add and modify DNS records. This is generally where you rent your domain name (it can be Shopify itself or another provider such as GoDaddy, Google Domains, etc.).


Now that you're ready, activate the subdirectory integration in your Weglot project.

  1. Go to your Weglot Dashboard > Settings > Setup and click on the "Subdomains / Subdirectories" toggle button.

If you were using the subdomain integration, doing this will deactivate it. Once this is done, click on the same button to launch the subdirectories integration setup.
  1. Next, provide your domain name URL, and in the URL Type section, select "Subdirectories" in the dropdown menu.

  1. Click on "Next", and you will access the step called "Your DNS settings."

Your DNS settings

  1. First, you will have to add the following DNS record in your DNS provider:

host (or name) > cloudflare-verify

type > TXT

value > will be given to you during the process in Weglot

  1. Once you have added this new DNS record to your DNS provider, go back to your Weglot account and click on "Check DNS".
  2. You will then have to wait a few minutes so that the SSL certificate can be validated. Click on "Check DNS" to see if the certificate is validated.
  3. A new DNS entry will appear on your screen. This time, you'll need to modify the already existing DNS record in your registrar with the value given by Weglot.
The DNS record you will have to modify will be different depending on whether you have a subdomain in your URL (e.g., or not (e.g.,

If you wish to remove the subdirectories integration, you'll have to set this DNS record back to its prior value before deactivating the integration. So, you might want to take a screenshot of your current setting before modifying it. In any case, Weglot will warn you about this should you attempt to deactivate the integration.

If you don't have a subdomain in your URL (e.g.,

The second DNS record will ask you to modify your A record.

Hover over the value to copy it in your clipboard
You should only have one A record, so you'll need to modify your existing A record with the value displayed on Weglot. You don’t have to create a new one.
You can safely change the target, as Weglot will keep the connection between your domain name and the servers you are using.
This configuration is needed to add the subdirectories to your domain and to create the translations server-side.

If you have a subdomain in your URL (e.g. ):

The second DNS record will ask you to modify a CNAME record.

The process to follow here will be exactly  the same as the one you followed to add the first DNS record but with a different record. Note that, depending on your setup, the subdomain can be an A record. In any case, the value should always be modified .

  1. Once you have modified the second DNS, save the changes and click on « Check DNS ».


Finally, it will take a few minutes for your subdirectories to be initialized. 

Note that it can take up to an hour for the subdirectories integration to deploy fully.
After the initialization of the subdirectories, please get in touch with us at, as we'll need to add special settings on our side to ensure compatibility between Weglot and the Markets feature.

If you are having any trouble during this process, do not hesitate to contact us at

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us