Skip Navigation

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

Problem:
If you're experiencing issues with changing the RankMath title and description on a translated product in a specific language, while being able to make these edits in other languages, the issue might be related to WPML settings.
Solution:
We recommend you to navigate to WPML -> String Translation and look for any slugs strings (like "shop" from the domain "WordPress") that might be translated incorrectly. Correcting these translations can potentially fix the issue.
After making these changes, please test if you are now able to edit the SEO title and description.

If this solution does not apply to your case, or if it seems outdated, 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 do not hesitate to 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 17 replies, has 2 voices.

Last updated by dirkT-3 2 months, 3 weeks ago.

Assisted by: Mateus Getulio.

Author Posts
August 15, 2024 at 11:11 am #16074047

dirkT-3

Background of the issue:
I am trying to change the RankMath title and description on a translated product on my site hidden link.

Symptoms:
I am unable to change the RankMath title and description on the translated product. But only for specific language. Can make these edits on other languages.

Questions:
How can I change the RankMath title and description on a translated product using WPML?

August 15, 2024 at 8:42 pm #16076215

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello there,

Thank you for contacting our support.

Firstly, please make sure to have "WPML SEO" installed as it will improve the compatibility between WPML and Rank Math:

https://wpml.org/download/yoast-seo-multilingual/?section=changelog

After installing it, please check if you'll find those items for translation going to WPML -> String Translation and searching for them.

Thank you, please let me know how it goes.
Mateus

August 16, 2024 at 5:18 am #16076712

dirkT-3

Hi Mateus,

The issue still persist. "WPML SEO" is installed and active. I couldn't edit the RankMath description or title direct from the translated product edit screen. I also couldn't find the string in WPML -> String Translation.

The main issue is that we can edit an product's RankMath meta in the orginal language (EN) and in all other languages (FR, IT), EXCEPT for the DE language. This is for all products.

The product translations were created by copying the original products content once. In other words you can edit data like description, titles, short descriptions, RankMath meta...but not product attributes and variations. This is correct and how we want it.

Please advise further. Thx

August 16, 2024 at 12:29 pm #16078274

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello Dirk,

I would like to request temporary access (wp-admin and FTP) to your site to take better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Our Debugging Procedures

I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.

Privacy and Security Policy

We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

**IMPORTANT**

- Please make a backup of site files and database before providing us access.
- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this: hidden link

Please, let me know if you need any additional details. Have a nice day.

August 19, 2024 at 4:49 pm #16084743

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello there,

Thank you for sharing those details.

I went to WPML -> Settings -> Custom Fields Translation and set both fields as translatable:

- rank_math_description
- rank_math_title

After that I edited a German translation of a given product and I was able to edit the title and description.

Can you please test it again to confirm that it is fixed now?

If you're still experiencing any issues, kindly share the steps I can take in order to reproduce this issue on my end.

Thank you, please let me know.
Mateus

August 20, 2024 at 8:23 am #16086135

dirkT-3

Hi Mateus,

The issue is still there. Herewith steps you can follow:

1. Go to products list view in backend. Make sure you are on EN (default language)
2. Edit the DE version of an product, you can use Apple iPhone 15, by clicking either the "update" or "edit" icon under the language code.
3. Once the edit screen has loaded, scroll down to the "Rank Math SEO" section. Click on the blue "Snippet bearbeiten" button to edit the meta.
4. Change the title and description by adding an "DE" in front of the current content and close the box.
5. Your changes should be visible on the preview screen.
6. Save the product. After saving you will see your changes haven't been saved.

Doing the above for all other languages should work.

Thanks

August 20, 2024 at 6:47 pm #16088111

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Thank you very much for sharing the steps, I was able to replicate the issue.

I noticed that you have a few plugins outdated, WPML and Rank Math included. Is it possible for you to make a full backup of the site and then update the plugins going to Dashboard > Updates?

If the issue persists after that, I'd like to ask permission to make a copy/staging version of your site where I can debug this closely without affecting the live site.

I'll make sure to delete this copy as soon as we get this issue fixed.

I'm afraid of debugging directly on the live site and cause issues to your visitors. Also, it is important to test a different setup as part of the troubleshooting.

Thank you, please let us know.
Mateus

August 22, 2024 at 2:25 pm #16095374

dirkT-3

Hi Mateus,

We have updated RankMath and the majority of the WPML plugins. Unfortunately we can't update ALL of the plugins since that will take some time and needed testing from our side.

Please continue to create your staging as suggested with what is currently updated and available.

Thanks

August 23, 2024 at 9:35 pm #16099616

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi Dirk,

Due to the size of the site, our server's staging environment was experiencing performance issues, which delayed the testing process. To avoid further delays, I created a staging environment using the WP Staging plugin within the site itself. This allowed me to continue with debugging without affecting the live site.

So far, I'm still working om identifying a solution to the issue. I'll keep you updated on any progress. However, please be aware that with the upcoming weekend, there might be some delays, and I apologize for any inconvenience this may cause.

Thank you for your understanding. Talk to you soon.

August 26, 2024 at 8:35 am #16103124

dirkT-3

Thanks Mateus for the update.

We will await your feedback.

August 26, 2024 at 1:49 pm #16104961

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello Dirk,

Thank you for your patience while we're investigating this.

Do you know if by some point of time German was the main language of the site? Or has it always been English?

I'm going to ask my colleagues to take a look at this issue to see if I'm missing something.

Is it possible for you to contact your host provider and ask for today's HTTP error logs? It is possible that there some information in there that's not available in the WP debug log and that will help us find the culprit of the issue.

If they can provide you with the HTTP server error logs, you can let me know where in the server I can find it and I'll download it using SFTP, or you can share it using https://pastebin.com/, whatever method you prefer.

Thank you.

August 27, 2024 at 8:51 am #16108394

dirkT-3

Hi Mateus,

EN was always the default language and I also think all prodcuts were created in the EN (default) language first before they were translated.

You can find the loges here: /applications/wdshcfdwbz/logs

Please let me know if you need anything else. Thanks

August 27, 2024 at 4:06 pm #16111234

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

I checked this out but so far I couldn't find a fix for it.

I asked my colleagues to have a look at this issue in order to see if there's anything I'm missing.

I'll come back here as soon as one of my colleagues reply back to me (which it shouldn't take long).

Thanks,

August 28, 2024 at 2:00 pm #16115695

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi Dirk,

Thank you for your patience as we work through this issue.

After further investigation and collaboration with our team, we have identified that the problem might be related to server constraints. Specifically, it seems that the server may be experiencing timeouts when communicating between the reverse proxy and the actual server, which could be causing the issue where the changes to the Rank Math SEO fields are not being saved correctly.

To address this, we suggest the following steps:

Increase Nginx Timeouts: If possible, try increasing the timeouts in the Nginx configuration for the reverse proxy. The settings to adjust include:

- proxy_read_timeout
- proxy_connect_timeout
- proxy_send_timeout

These are usually found in the nginx.conf file. Increasing these timeouts can help mitigate any issues with slow responses from the server.

Here's a sample I got from searching to be used as a reference to implement in the actual server:

http {
    upstream backend {
        server 127.0.0.1:8080;
    }

    server {
        listen 80;
        server_name example.com;

        location / {
            proxy_pass <em><u>hidden link</u></em>;

            proxy_connect_timeout 60s;
            proxy_read_timeout 300s;
            proxy_send_timeout 300s;
            proxy_buffering off;
            client_max_body_size 100m;
        }
    }
}

Please discuss these suggestions with your hosting provider or server administrator to see if they can implement them.

Thank you again for your understanding, and we will continue to support you in resolving this issue.

Best regards,
Mateus

August 29, 2024 at 5:30 am #16117472

dirkT-3

Hi Mateus,

Our server administrator has enabled/changed these settings but it doesn't seem to had any affect on the issue on hand. Please continue your investigation. Thanks