[Resolved] Plugin functioning on subdomain staging site
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.
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.
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.
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.
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?
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.
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.
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.