How to use subdirectories on a Webflow website

In this article, you will learn more about how to use the Weglot subdirectory integration when using Webflow to build your website.


1. I am not currently using Weglot subdirectory integration

a. My website is not proxied through Cloudflare

Here, you'll need to follow the classic subdirectory integration guidelines outlined in this article.

After adding the first DNS record, you'll be asked to modify your main DNS record. Please do not make this change. Instead, directly contact us at support@weglot.com so that we can complete your setup while keeping your DNS records still pointing to Webflow.


b. My website is proxied through Cloudflare

If your website uses Cloudflare to manage your DNS records and your main DNS record is marked as proxied, you're in the right place.

If your DNS record is proxied, you'll see this in the record settings:

The steps you need to follow depend on whether you want to keep your website proxied or not.


If you don't want to keep your website proxied:

You can switch it to "DNS Only" and follow the classic subdirectory integration steps explained here.

When you reach the "Website Details" step, modify the URL in your browser tab to add "?chooseprovider=true" at its end and refresh the page.

After writing your URL, a new "External Provider" section will appear, and you'll have to choose "Fastly".


If you want to keep your website proxied and use a "www" domain:

Follow the general integration guidelines here. You will be asked to change your NS (Name Server) records.


Once that's done, please contact us at support@weglot.com once you've made this change.


If you want to keep your website proxied and use a "non-www" domain:

You will need to create a new Weglot project and contact us at support@weglot.com during the setup, when reaching the "Website details" section, where you're asked to enter your website URL.


2. I am currently using Weglot subdirectory integration

a. My website isn't proxied through Cloudflare

You'll need to revert the DNS change you've made so that your main DNS record(s) point back to Webflow and then add a new DNS record.


Here's how to identify the DNS record you need to add:

Go to your Weglot dashboard, head over to your project settings, and to your "Setup" page.

You'll see a part where the needed values for your DNS record are indicated, and you will need to mark down the value shown just before ".translate":

In our example, the relevant value is 0829de1d.


The DNS record you'll need to create is:

  • Host: cloudflare-verify (for a "non-www" website) or cloudflare-verify.www (for a "www" website)
  • Type: CNAME
  • Value: ⟪the_value_you've _found⟫.verify.weglot.io

In our example, the value of the DNS record will be 0829de1d.verify.weglot.io


After a few minutes, your subdirectory integration should be up and running.

If you need assistance, don't hesitate to contact us at support@weglot.com.



b. My website is proxied through Cloudflare

If you manage your DNS records through Cloudflare and your main DNS record is marked as proxied, please follow these steps.

If your DNS record is proxied, you'll see this in its settings:

Revert the DNS change you made to set up the subdirectory integration.


If you don't want to keep your website proxied:

Reactivate your subdirectory integration from your Weglot setup page.

You'll reach the "Website Details" step,  and will need to modify the URL in your browser tab to add "&chooseprovider=true" at its end and refresh the page.

After writing your URL, a new "External Provider" section will appear, and you'll have to choose "Fastly".


Depending on your configuration, if you want to keep your website proxied:

If your website uses a "www" domain:

Go to your setup page on Weglot. To do so, connect to your Weglot dashboard, access your project settings, and go to the "Setup" section.


Deactivate your subdirectory integration, then reactivate it.

You'll be prompted to update your NS (Name Server) DNS records.

If you're asked to modify your main record afterwards, don't make this change- instead, contact us at support@weglot.com.


If your website uses a "non-www" domain or you don't want to keep it proxied:

Revert the DNS change made for your subdirectory integration.

Deactivate your subdirectory integration via your Weglot dashboard, then go to your Weglot settings and "Setup" page.

Then, contact us at support@weglot.com so we can help complete the setup.

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