What are the latest updates on the Webflow integration with Weglot, including the availability of subdirectories and the ability to exclude certain variables from translation?

TL;DR
  • Webflow and Weglot now support multilingual subdirectory URLs using reverse proxy setup by pointing your domain to Weglot's IPs.  
  • Enable subdirectories in Weglot's settings and use data-wg-notranslate or dashboard rules to control what content is translated.

Webflow’s integration with Weglot has recently expanded, offering enhanced multilingual features like support for subdirectories and finer control over content exclusions.

1. Subdirectory Support Now Available

  • Weglot now supports subdirectory-based multilingual URLs (e.g., example.com/fr/example.com/de/) on Webflow’s hosting.
  • Previously, only subdomain implementations (e.g., fr.example.com) were possible with Webflow.
  • Subdirectory support became available after Webflow enabled reverse proxy configuration, which Weglot relies upon to rewrite language paths correctly.

2. How to Enable Subdirectories in Webflow/Weglot

  • In Weglot, choose Subdirectory under "Project Settings > Language setup".
  • You'll need to configure your Webflow project to allow proxy connections, typically by:
  • Keeping your site hosted on Webflow
  • Pointing your domain to Weglot’s reverse proxy IPs: (a) 76.76.21.21 and (b) 76.76.21.142
  • Weglot then serves language-specific versions of your site under subdirectories, still using Webflow as the source.

3. Variable Exclusion and Translation Control

  • Weglot allows you to exclude specific variables, elements, or blocks from translation using:
  • data-wg-notranslate attribute on HTML elements in Webflow
  • Translation rules in your Weglot dashboard (via URL paths, custom CSS selectors, or text matches)
  • This is useful for excluding variables like slugs, IDs, eCommerce product SKUs, or dynamic CMS content that shouldn’t be altered in translation.

4. CMS and SEO Enhancements

  • The new setup also supports:
  • Translated slugs and URLs for CMS items
  • Localized SEO metadata, including <title> and meta descriptions per language
  • Hreflang tags automatically added by Weglot for better international SEO compliance

Summary

Webflow and Weglot now support subdirectory language versions and more refined content exclusion options. These updates enhance multilingual SEO, content control, and localization on Webflow-hosted sites. To implement, configure Weglot with reverse proxy settings and use data-wg-notranslate or dashboard rules for exclusions.

Rate this answer

Other Webflow Questions