 annS-8
|
Background of the issue:
I am trying to switch my site from development to production. I followed the instructions provided here: https://wpml.org/faq/how-to-remove-the-this-site-is-registered-on-wpml-org-as-a-development-site-notice/ to swap the development site to production.
Symptoms:
The banner indicating the site is registered as a development site still remains after following the migration instructions.
Questions:
Can you assist with deregistering and reregistering the plugin on your side?
|
 Noman
WPML Supporter since 06/2016
Languages:
English (English )
Timezone:
Asia/Karachi (GMT+05:00)
|
Hi,
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
And see if this resolves your issue.
Here is a doc for more details:
https://wpml.org/faq/how-to-remove-the-this-site-is-registered-on-wpml-org-as-a-development-site-notice/
Thank you
|
 annS-8
|
Hi there, thanks for your reply.
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)
Is there another workaround?
Thanks for your help.
|
 Noman
WPML Supporter since 06/2016
Languages:
English (English )
Timezone:
Asia/Karachi (GMT+05:00)
|
Okay, in that case, you may try the below steps:
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:
define( 'OTGS_INSTALLER_SITE_KEY_WPML', 'your-site-key' );
4. Make sure to paste this line of code right above where it reads:
/* That's all, stop editing! Happy publishing. */
Please, get your site key from your wpml.org account and adjust the provided line of code accordingly.
5. After that, please visit your site frontend again and see if that message goes away.
Here is a doc for more details:
https://wpml.org/faq/automatic-wpml-registration-using-php-for-easy-moves-between-production-development-and-staging/
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:
.otgs-development-site-front-end {
display: none !important;
visibility: hidden !important;
opacity: 0 !important;
}
Please let me know the results,
Thank you
|
 annS-8
|
Hi there,
We are live now with the languages and the banner is gone: hidden link
But we have the attached error in our HubSpot which we can't seem to resolve – please can you advise?
Thanks
Nathan
|
 Noman
WPML Supporter since 06/2016
Languages:
English (English )
Timezone:
Asia/Karachi (GMT+05:00)
|
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
|