Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
You have migrated your site from a staging to a production environment and are unable to switch your WPML registration from development to production. A message persists in your back office indicating that a switch is necessary.
Solution:
1. In the migration banner, select the option 'I moved the site to this new URL' and follow the steps described in this guide: How to move a development site to production.
2. Increase the WordPress memory limit to at least 128MB. You can add the following code to your wp-config.php file:

/* Memory Limit */<br />define('WP_MEMORY_LIMIT', '128M');

Add it above the line /* That's all, stop editing! Happy blogging. */
You can verify the WordPress memory limit in WPML -> Support.

If this solution does not resolve your issue or seems outdated, we recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If necessary, please open a new support ticket at WPML support forum for further assistance.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 3 replies, has 2 voices.

Last updated by Carlos Rojas 1 year, 11 months ago.

Assisted by: Carlos Rojas.

Author Posts
May 22, 2024 at 12:31 pm #15658248

danS-34

I initially set up WPML on my site in development in a staging environment, and upon migration of the database to my production site in WordPress, I'm unable to switch my WPML from development to production for the site click2buy.com. I still have a message in my back office saying a switch is necessary. Can you help please?

May 22, 2024 at 12:36 pm #15658274

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hello,
Thank you for contacting us

1.- In the migration banner you should select the option 'I moved the site to this new URL' (or similar) and follow the steps described in this guide: https://wpml.org/faq/how-to-remove-the-this-site-is-registered-on-wpml-org-as-a-development-site-notice/#how-to-move-a-development-site-to-production

2.- Please increase the WP memory Limit. Minimum requirements are 128Mb: https://wpml.org/home/minimum-requirements/
You can add this to wp-config.php to increase WP memory:`

/* Memory Limit */
define('WP_MEMORY_LIMIT', '128M');

- Add it above the line /* That's all, stop editing! Happy blogging. */

You can double-check the WordPress memory limit in WPML -> Support

Kind regards,
Carlos

May 22, 2024 at 12:40 pm #15658304

danS-34

I have done this multiple times. It redirects me to my WordPress back end, where I still see the notification that my site is in development.

May 23, 2024 at 8:39 am #15661376

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hi,

Could you tell me in what specific step it redirects you to your site's backend?