Skip Navigation

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

Problem:
The client is using Hostinger for hosting and wants to enable the staging feature to make changes on a subdomain (e.g., stage.turkmenexporter.com) without affecting the live site. The client is concerned about whether the WPML plugin will remain active and functional on the staging subdomain.

Solution:
1. We informed the client that WPML should work fine on the staging site, but issues might arise with registering WPML if the correct URL is not used when generating the WPML key.
2. We advised the client to create a full website backup and ensure that the domain shown in the WordPress General Settings is the one used when creating a new WPML key on the WPML account sites page.
3. We provided a screenshot from the WPML purchase page to clarify the number of available keys for production/live and dev/staging sites based on the client's subscription.
4. We created custom Google search URLs to help the client find existing tickets with solutions for similar issues:

5. We mentioned that the disappearance of notifications in the WordPress backend could be due to automatic cache clearing.

Please note that the solution provided might be irrelevant if it's outdated or not applicable to your case. If the issue persists, we highly recommend checking related known issues at WPML Known Issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you need further assistance, please open a new support ticket in the WPML support forum.

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.

Tagged: 

This topic contains 10 replies, has 2 voices.

Last updated by Mihai Apetrei 9 months, 2 weeks ago.

Assisted by: Mihai Apetrei.

Author Posts
February 11, 2024 at 3:55 pm #15290224

ylyasK

Hi,

For my site hosting I use Hostinger which has a Staging option. And I want to enable it.

The reason I want to use the staging site is to make changes on my site on staging subdomain and then publish it on live site. I don't want to make any changes directly on the live site.

And I have a question for you before I enable it.

So my question is: since Hostinger creates a new subdomain for staging purposes, for example in my case it will be like let's say this: stage.turkmenexporter.com. Will my WPML plugin be still active there and have all functions? I am very doubtful about it.

February 12, 2024 at 9:22 pm #15294860

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi there.

I recently had a ticket with a customer that was using this hosting provider.

WPML works fine but you might encounter issues with registering WPML if the correct URL is not being used when generating the WPML key.

Please take a look over this ticket here:
https://wpml.org/forums/topic/site-key-not-matching-10

That should help.

Mihai Apetrei

February 12, 2024 at 9:55 pm #15295009

ylyasK

https://wpml.org/forums/topic/site-key-not-matching-10

It says that it is a private ticket(

February 13, 2024 at 9:35 pm #15299730

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi there.

Sorry, I was not aware that the client was marked as private.

I will share some info from the ticket below so that you can have it.

----

In case you won't be able to register WPML on your staging site, here's an existing ticket where the customer is using Hostinger as their hosting provider:
https://wpml.org/ru/forums/topic/wpml-plugin-fails-to-connect-to-your-site/

Please create a full website backup, and then translate that page to English (you can do that easily with Google Chrome browser by right-clicking on any empty spot in the page and translating it to your preferred language) and follow my colleague's recommendations.

Also, here is some more important information:

WPML works with WordPress by following the best WP standards - and the domain for the current site is always shown in the General WordPress settings:
https://wordpress.org/documentation/article/settings-general-screen/

So, whenever you are generating a new WPML key, you need to make sure that the domain that shows in that area is being used.

Otherwise, it won't match because the URL in the database will actually be a different one than the one specified under your WPML.org account (https://wpml.org/account/sites).

So make sure that when you are trying to register WPML on your staging/dev site, you are creating a new WPML key from here (https://wpml.org/account/sites) for the correct domain (the one showing in your WordPress General Settings area as I explained above).

I hope that you will find all this information helpful.

Mihai

February 13, 2024 at 10:12 pm #15299781

ylyasK

Ok, if I got you correctly then I just create a staging site with this domain "stage.turkmenexporter.com" (actually it will be full copy of my live site but on stage subdomain). Then I just create a new WPML key from here (https://wpml.org/account/sites) for the "stage.turkmenexporter.com" domain. (Could you please also remind me: I can only create three WPML keys, right?) Then I just activate new "staging" WPML key on "stage.turkmenexporter.com". Is that all?

February 14, 2024 at 11:05 pm #15304576

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi there.

That is correct, yes.

Also, I am attaching a screenshot from this page (https://wpml.org/purchase/) so that you can see how many production/live site keys and how many dev/staging keys you have available.

Your plan/subscription is the one in the middle column.

Mihai

Screenshot 2024-02-15 at 01.04.03.png
February 14, 2024 at 11:13 pm #15304591

ylyasK

Thank you Mihai!

February 17, 2024 at 10:05 pm #15314241

ylyasK

Hi Mihai

I have created a stage site on stage.turkmenexporter.com and also registered it here https://wpml.org/account/sites/

and inserted key for stage.turkmenexporter.com on it's site

but I have two notifications that I don't understand. I made a screenshot. Please tell me what should I do in these two cases

2024-02-18_03-01-18.png
February 20, 2024 at 8:50 pm #15324757

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi there.

In regards to the first question, I created this custom search URL for you so that you can find the existing tickets for this exact same topic that already contain the solutions recommended by my colleagues:

hidden link

In regards to the second question, I also created a separate custom search:
hidden link

I hope that you will find this information helpful. This might save you some extra time, that's why I created these custom searches.

Mihai

February 23, 2024 at 11:36 am #15337334

ylyasK

Got it

Now they are not there anymore, did you handle them? If not then how come that they disappeared by themselves?

February 23, 2024 at 4:07 pm #15338669

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi there.

No, I did not touch that.

I can see that you have caching active on the site so there is a chance that the caching got automatically cleared and that is why those things are not showing up anymore in the WordPress backend.

Mihai

February 23, 2024 at 7:10 pm #15339090

ylyasK

Thank you!