Skip to content

WPML setup on WordPress — the configuration that matters

A WordPress WPML setup walkthrough that focuses on the four configuration choices that determine whether the install runs clean or spends a year being unwound.

The WPML setup wizard on a WordPress site takes about ninety seconds to click through. The four decisions inside it determine whether the install runs clean for years or has to be unwound at the database level eighteen months later. Most of the WPML rescues we take on land on one of these four choices being wrong, picked by someone clicking Next without knowing the implication.

What’s happening

WPML’s setup wizard collects: default language, secondary languages, URL format, “translate what you have already” yes/no, and translation editor mode (Classic vs Advanced). Each of these writes to wp_options.icl_sitepress_settings and downstream tables. Changing any of them after content exists is a migration, not a setting flip. URL format and language assignment are particularly hard to walk back — they touch every translated permalink, every CDN cache key, every hreflang tag, and every external inbound link.

How to verify

Before running the wizard, inspect what’s already in the database:

wp option get icl_sitepress_settings --format=json | jq '.language_negotiation_type, .active_languages, .default_language, .urls'
wp db query "SHOW TABLES LIKE 'wp_icl_%'"
wp post list --post_type=any --format=count

The negotiation type encodes URL format: 1 is language-in-directory, 2 is domain-per-language, 3 is query parameter. Anything other than 1 on a new install needs justification. After running the wizard, verify the choices took:

wp eval 'print_r( apply_filters( "wpml_active_languages", null ) );'
curl -sI https://example.com/fr/ | grep -i 'content-language\|link'

The fix

  1. Pick the default language deliberately. It cannot be changed without rebuilding the language registry. If French is the primary market, set French as default — do not set English as default and add French as secondary. The default-language post never gets a language flag in the URL.
  2. Use language-in-directory URLs. /fr/, /es/, /de/ is the only WPML URL mode that survives every CDN, every cache layer, and every SEO audit. Domain-per-language is acceptable only when the business already owns the domains and accepts the TLS and DNS multiplication.
  3. Say no to “translate what you have already” on the first pass. Run the wizard, then audit the post inventory, then decide which post types need translation. Defaulting to “translate everything” on a site with 50,000 posts creates 50,000 translation jobs and a String Translation table that takes weeks to prune.
  4. Pick the Advanced Translation Editor only if you’ll use professional translators. The Classic Editor is faster for in-house teams and doesn’t lock you into WPML’s segment-based workflow.
  5. Disable automatic browser redirect. It breaks crawlers, breaks campaign links, and shows up in Search Console as soft-404s.

Stack Harbor runs WPML at scale under the managed enterprise WordPress hosting operating model with the setup decisions documented and reproducible. If you’re scoping a WPML deployment and want it done right the first time, book a consult. The same team handles managed enterprise WordPress hosting recovery work when an earlier WPML install needs to be untangled.