Skip to content Skip to sidebar

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

Problem:
After updating a key and removing a banner from the footer, the client's translations stopped working, and directories such as /ru/ and /en/ are showing as 404 pages, despite no changes in language settings.
Solution:
We first suggested checking if the issue persists when all plugins except WPML are temporarily disabled. We also enabled debug information for this ticket and asked the client to provide this by following the instructions at http://wpml.org/faq/provide-debug-information-faster-support/.
Additionally, we noted that the language switcher appears to be custom-made, which might be affecting the links. We recommended temporarily adding the language switcher to the footer via WPML → Languages to test the issue.

If these steps do not resolve the problem or if the solution seems outdated or irrelevant to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket at WPML support forum for further assistance.

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 0 voices.

Last updated by Andrey 5 months, 1 week ago.

Assisted by: Andrey.

Author Posts
March 28, 2025 at 8:02 pm #16874481

liliiaS

I found where to update the key, the banner was removed from the footer, but now there is another problem. The language settings that were there before when everything worked - remain the same. But my translations have stopped working. Directories with /ru/, /en/ do not work and are displayed as 404 pages

March 28, 2025 at 8:05 pm #16874485

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Can you show me some examples? Does the same issue occur if you temporarily turn off all plugins except WPML?

I have enabled debug information for this support ticket. Please refer to this link for instructions on retrieving this information from your site and provide it to us: http://wpml.org/faq/provide-debug-information-faster-support/.

March 28, 2025 at 8:11 pm #16874491

liliiaS

screenshots are attached

ss-1.png
ss-2.png
March 28, 2025 at 8:20 pm #16874533

liliiaS

added debug

March 28, 2025 at 8:23 pm #16874543

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

The errors seem to me to be theme-related. Does it happen with any default theme? What are the results if you temporarily turn off all plugins except WPML?

Please add the debug information: http://wpml.org/faq/provide-debug-information-faster-support/.

March 28, 2025 at 8:26 pm #16874546

liliiaS

[removed]

March 28, 2025 at 8:29 pm #16874579

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you. I've got the debug information.

Please update your WPML plugin and add-ons to the latest version, 4.7.2, to take advantage of the latest bug fixes and improvements.

You can check the latest released versions under "My Account -> Downloads" on this site. Instructions to update can be found here: http://wpml.org/faq/install-wpml/

If you do not see the updates, you might need to click the Check for updates button in the Plugins → Add New Plugin → Commercial tab.

March 28, 2025 at 8:36 pm #16874592

liliiaS

I updated plugin to 4.7.2 version, it did not resolved my issue

March 28, 2025 at 8:48 pm #16874607

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

I suggest clearing the cache on the server and resetting permalinks under Settings → Permalinks.

March 28, 2025 at 9:00 pm #16874633

liliiaS

I don't have chache plugins, and resaved permalink. It didn't help.
I have found wrong link in lang swicher: httpss - insted https. It generating from plugin.

<ul class="wpml-ls-sub-menu">

<li class="wpml-ls-slot-shortcode_actions wpml-ls-item wpml-ls-item-en wpml-ls-first-item">
hidden link" class="wpml-ls-link">
<span class="wpml-ls-display">EN</span>

<li class="wpml-ls-slot-shortcode_actions wpml-ls-item wpml-ls-item-ru">
hidden link" class="wpml-ls-link">
<span class="wpml-ls-display">RU</span>

March 28, 2025 at 9:13 pm #16874656

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

The language switcher looks to be custom-made, and something might affect the links. You can temporarily add the language switcher to the footer by going to WPML → Languages and testing the issue. However, I believe that even if you manually correct the link, you will still encounter the same problem.

Can you please give feedback on the questions I asked earlier?