• Resolved Sven Lehnert

    (@svenl77)


    I’m trying to use WP STAGING with WPML on a folder structure with permalinks enabled in the free version. Everything is working nicely, but if I try to use WPML and change the language, even though I’m on the correct URL in the new staging site, I get the content from the live site and not the translations made on the staging site. It looks like WPML is using the live database tables and not the staging tables. Any idea how I can make WP STAGING work with WPML?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Tapan Kumer Das

    (@voboghure)

    The issue you’re experiencing is likely due to WPML’s reliance on absolute URLs and database connections to specific tables. When using WP STAGING with WPML in a folder structure with permalinks enabled, some adjustments are necessary to ensure that WPML uses the staging database and staging URLs instead of pointing to the live environment.
    You can follow this article for fixing your issue. After adjusting as per the article if you are still facing the issue, please let us know.

    Cheers

    Thread Starter Sven Lehnert

    (@svenl77)

    Thank you for your help. I tried this, but it did not fix the issue. I also switched from Permalink “Post name” to “Plain” for testing, but I still see the translation displayed from the live site and not the staging site.

    Change WPML language URL format.

    You can switch the WPML language settings on your WP Staging staging site to URL-based language like yourdomain.com/?lang=en

    You can change this under WPML > Languages.

    Note: If you push the staging site back to live, you must revert this setting on the live site.

    Plugin Contributor alaasalama

    (@alaasalama)

    Hi @svenl77

    Please share your site’s system information from (WP STAGING > System Info) via this form and we will help you further from there.

    Mention this thread URL when writing to us.

    Thanks,
    Alaa

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘WP STAGING and WPML’ is closed to new replies.