Skip to main content
WPML and NitroPack
Updated over a week ago

NitroPack can optimize sites that use the WPML plugin if their URL structure is set up correctly.

With WPML, each language can be set up as a:

  1. Query parameter, e.g., https://example.com/?=en, https://example.com/?=de. This case is supported by NitroPack.

  2. Subfolder, e.g., https://example.com/en/, https://example.com/de/. This case is also supported by NitroPack.

  3. Different domain or subdomain - e.g., https://example.en, https://example.de, https://en.example.com, https://de.example.com. These cases are not supported by NitroPack.

You can select how your site’s URL structure is organized from the “Language URL format” section in the WPML plugin:

WPML_Settings.png

Important: In order for the query parameters or subfolders to work, all links must be added under the same sitemap, so that NitroPack can optimize them.

Did this answer your question?