Thank you for contacting WPML Support. Could you please delete the existing site key and create a new one by following below steps:
1. Please login to your WPML.org account >> Go to the Sites page: https://wpml.org/account/sites/
2. Delete the existing site key.
3. Please login to your site and go to the Dashboard >> Plugins >> Add new > Commercial tab and click the Unregister WPML from this site link if that link exists.
4. Then please click the Register WPML link.
5. Click the Get a key for this site link.
6. It will generate the Key for your site.
7. Copy the key, and paste it back into the input box, and press the Register button.
8. Clear all sorts of site/server/CDN cache
Unfortunately I am struggling to follow the Add new plugin step because of the way our hosting is setup on WordPress. I don't have the right access and gaining that access will be difficult (see attached)
1. Login to your WPML.org account >> Go to the Sites page: https://wpml.org/account/sites/
2. Delete the existing site key and create a new one with your production site URL: hidden link
3. Edit the 'wp-config.php' file of your WordPress installation and place the following line of code:
If you find any issue in following the above steps, you may hide that notice from frontend by adding below CSS code in the custom CSS section of the theme:
Glad to hear the development site banner is gone now.
This message is usually shown when the WPML is not registered properly. You may delete the existing site key from WPML.org Sites(https://wpml.org/account/sites/) page and make sure to generate a new key with correct site URL like this: hidden link
After that add that key in wp-config.php file and clear all sorts of cache and see if this resolves the issue.
Please let me know the results,
Thank you
The topic ‘[Closed] Switching from development to production’ is closed to new replies.