Reverify WPML Site Key
January 8, 2025 ยท AI Conversations
—
### 1. **Obtain the Correct Site Key**
– Log in to your WPML account at [WPML.org](https://wpml.org/).
– Go to **Account > Sites**.
– If your site isn't listed:
1. Click **Add a New Site**.
2. Enter your site URL (including protocol, e.g., `https://example.com`).
3. Copy the generated site key.
—
### 2. **Deactivate the Old Key (if needed)**
– Log in to your WordPress admin panel.
– Navigate to **Plugins > Add New > Commercial** (or find WPML in your installed plugins).
– Click **Unregister WPML from this site** (if an old key is registered).
—
### 3. **Register the New Site Key**
– While still on **Plugins > Add New > Commercial**:
– Click **Register WPML**.
– Paste the new site key you copied from WPML.org.
– Click **OK** or **Submit**.
—
### 4. **Verify the Registration**
– WPML should now display a confirmation message indicating successful registration.
– Ensure that WPML is active and updates are enabled.
—
### Troubleshooting Tips:
– **URL Mismatch**: Ensure the URL you registered on WPML.org matches your site's URL exactly, including `https://` or `http://`.
– **Firewall Issues**: If WPML can't connect to its servers, ensure your hosting provider or firewall isn't blocking outgoing connections to `wpml.org`.
– **Cache Problems**: Clear any cache (plugin, server, or browser) if changes don't reflect immediately.
Would you like help with anything else related to WPML or WordPress?
—
### 1. **Reverify via WPML Settings**
– Go to **WPML > Support** in your WordPress admin panel.
– Look for the **Site Key** section or **Subscription** section.
– If an old key is present:
– Click the **Unregister WPML from this site** link.
– Retrieve your new site key from [WPML.org](https://wpml.org/):
– Log in, go to **Account > Sites**, and generate a new key for your site.
– Paste the new site key in the input field provided in the WPML settings.
– Save your changes.
—
### 2. **Reverify via the Database (Manual Method)**
If you're unable to access the WPML settings, you can manually update the site key in the database.
#### **Steps**:
1. **Access the Database**:
– Log in to your hosting provider's control panel (e.g., cPanel, Plesk) and open **phpMyAdmin**.
– Alternatively, connect to your database via a database management tool like MySQL Workbench or Adminer.
2. **Find the WPML Option**:
– Locate the `wp_options` table (or `_options` if you use a custom prefix).
– Search for the option name: `_icl_site_key`.
3. **Update the Site Key**:
– Edit the value of `_icl_site_key` to the new key you generated on WPML.org.
– Save the changes.
4. **Clear Cache**:
– Clear your WordPress and server cache to ensure the new key is recognized.
—
### 3. **Test the Update**
– After updating the key, go to **WPML > Support** in your WordPress admin.
– Check if WPML indicates the plugin is registered successfully.
If you encounter issues, let me know, and I can guide you through troubleshooting!