Skip Navigation

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.

Our next available supporter will start replying to tickets in about 1.39 hours from now. Thank you for your understanding.

Tagged: 

This topic contains 72 replies, has 3 voices.

Last updated by tannerT 2 months, 3 weeks ago.

Assisted by: Itamar.

Author Posts
August 12, 2024 at 1:46 pm #16062497

tannerT

DAY 47 NO RESOLUTION

1.] Your minor issue above was solved with 2 simple MySQL Queries. As mentioned you can perform any required tasks to take care of any issues vs. dragging the ticket into the 50 day mark:

UPDATE wp_postmeta SET meta_value = REPLACE(meta_value, 'href="/', 'href="hidden link') WHERE meta_value LIKE '%href="/%';

UPDATE wp_posts SET meta_value = REPLACE(meta_value, 'href="/', 'href="hidden link') WHERE meta_value LIKE '%href="/%';

2.] This has nothing to do with my previous comment that went completely ignored. Sending that again here for your convenience (or feel free to revisit Reply #16054128)

We are also experiencing issues with pages like this not even showing the translated version (and about 14 other issues documented this morning): hidden link

Would you guys like us to open 14 individual tickets? Or would you like to get us direct contact to someone who wants to spend time and resolve them all?

Or would you like to run a clean install of WPML and free translation services?

Please let me know so we can begin creating all 14 tickets.

Yes, we do plan to renew our subscription and we are never going anywhere until these are resolved. I will check in every single morning, on every single ticket 🙂

August 14, 2024 at 3:13 pm #16071564

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

You wrote:

We are also experiencing issues with pages like this not even showing the translated version (and about 14 other issues documented this morning): hidden link

Currently when I visit hidden link, I see it is translated into Spanish.

Have you solved this issue by now?

You mentioned 14 other pages like this.

Is there another example where it still does not work?

Regards,
Itamar.

2024-08-14_18-10-33.jpg
August 14, 2024 at 4:12 pm #16071755

tannerT

DAY 49 NO SOLUTION <- I hope you guys are starting to feel a little pathetic at this point. I mean is this the level of support you stand behind? Our legal team will be in touch after the conclusion of this case with an inspection on how everything was handled. All names

Feel free to something proactive regarding the resolution of the case. Since you need outlined, allow me to assist:

1.] Visit hidden link
2.] Go to the footer and open every link in this column
3.] Report what happens. You will notice that you are brought to the ENGLISH version of those pages; even though they have Translated Versions (which is recognizable by simple then using the dropdown on that new page and going back to Spanish)

I dont know why this is so difficult or we are treated so poorly by your team. Do you know what your plugin is supposed to do? If so, simply click around our website and you will see it is not working. I cannot use my site for more than 30 seconds in any language without finding a recognizable instance.

I will give you until next week, start next week, I will flood your forum with over 20 tickets, for every single issue. This is not spam, this will be done by legitimacy of real issues. Each title will be keyword centric and rank on search results to give all future onlookers the warning they deserve before getting screwed over by your plugin. This is your warning, I am not willing to wait any longer, the storm is coming next week for you

Screenshot 2024-08-14 at 11.08.20 AM.png
August 15, 2024 at 1:01 pm #16074435

Amit
Supporter

Hi Tanner,

We have replicated and fixed one issue in our testing environment.

The issue is generated by a code in the Rankmath plugin, which we believe to be redundant (we are also reporting it to their development team); nevertheless, when run, this code affects how translated links are constructed.

To fix it, you will need to have a full back up of your site and then:

1. As recommended by Rank Math support, you should remove the translations of the product slug: that means going to wp-admin/admin.php?page=wpml-wcml&tab=slugs and editing each of the translations for the "Product base" so that they are the same as the original (i.e. product/%product_cat%).

2. Edit the Rank Math SEO plugin file plugins/seo-by-rank-math/includes/modules/woocommerce/class-product-redirection.php
Bypass the get_redirection_url function by adding a line return false; at the beginning (should be line 77), e.g.

	/**
	 * Get Product URL.
	 *
	 * @return string Modified URL
	 */
	private function get_redirection_url() {
		return false;

As you can see, the issue, though related to WPML, does not involve our code.

If you do not feel comfortable making that change yourself, you will need to confirm that you have a full backup of your site and that you confirm that we can go ahead and work on your production site.

We are still investigating the other issues reported. They seem to be related to the usage of relative URLs. I still do not have a confirmed answer; once I do, we'll communicate it here. The issues you are experiencing have to do with changing the URL structure. Stripping base URLs is always messy when translating to other languages and should be done with care. We are looking for a solution to the issues.

August 15, 2024 at 1:21 pm #16074504

tannerT

We have backups every morning, every day, 2:00am CST

You may implement on production

August 15, 2024 at 3:27 pm #16075237

Amit
Supporter

I have removed your last comment.

This ticket, like all tickets in our system, has the dates.

The ticket should be used only for support-related exchange of information and any other comments, especially of this kind is distracting us from doing our work - the fact that I am dedicating time to write this comment just highlight this fact, it is my job to make sure the focus is on the work - solving issues. all unrelated or rude content will be removed.

We will focus on the actual issues, which, as I said, in this case are not coming from WPML (not in our code).

Thank you.

August 15, 2024 at 3:50 pm #16075287

tannerT

DAY 50 -> NO SOLUTION

Sure, I will make sure to include the date count appended to an actual message with actual content in the future.

We are at Day 50, do not use these messages as an excuse for your "distraction". In fact these messages are what have you giving me actual attention anyway.

I have just found 2 more sites to issue you 1 star reviews on including WordPress.org; this is complete.

Hoping for updates by tomorrow, or I will continue this expansion of widespread notice

August 15, 2024 at 6:00 pm #16075695

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

As instructed by our second-tier supporter, I changed the following on your site.

1. In WooCommerce -> WooCommerce Multilingual & Multicurrency -> Store URLs, I edited the Product base.

2. I corrected each translation (Spanish (US), Spanish (MX), and French) to be product/%product_cat%. Please see the attached screenshot.

This is also according to what the Rank Math support suggested.

Now, for the second step, I need FTP access. Here are the details for the second step.

1. Edit this file with a code editor:
plugins/seo-by-rank-math/includes/modules/woocommerce/class-product-redirection.php

2. Find these liens:

	/**
	 * Get Product URL.
	 *
	 * @return string Modified URL
	 */
	private function get_redirection_url() {

3. Add the following line like this:

	/**
	 * Get Product URL.
	 *
	 * @return string Modified URL
	 */
	private function get_redirection_url() {
		return false;

4. Save the file.

This will be part of the solution. Our second-tier supporter is working on the rest of the solution. Please give us FTP access so we can implement the change in the code in the Rank Math plugin. I'm enabling a private message for the following reply.

Itamar.

2024-08-15_20-39-13.jpg
August 15, 2024 at 7:12 pm #16075871

tannerT

I have implemented the change for you. Please see the attached before and after

Screenshot 2024-08-15 at 2.12.10 PM.png
Screenshot 2024-08-15 at 2.10.49 PM.png
August 18, 2024 at 10:09 am #16081050

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Thanks.

August 19, 2024 at 1:35 am #16081945

tannerT

Awaiting further updates

August 19, 2024 at 1:09 pm #16083684

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

I've just replied to the other ticket here.

https://wpml.org/forums/topic/split-link-redirection-issue-on-the-homepage/page/3/#post-16083669

Let's please continue the discussion there.

Thanks,
Itamar.

August 22, 2024 at 3:50 pm #16095823

tannerT

Why doesn't that thread show in "My Open Tickets". Has it been hidden from the forum?

August 22, 2024 at 4:03 pm #16095930

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

No, the ticket has not been hidden from the forum.
I can see this ticket on your profile page here -https://wpml.org/forums/users/tannert/.
Please see the attached screenshot.

2024-08-22_19-00-53.jpg
August 22, 2024 at 4:07 pm #16095947

tannerT

Interesting. Here is the link for anyone needing it: https://wpml.org/forums/topic/split-link-redirection-issue-on-the-homepage/

Screenshot 2024-08-22 at 11.07.02 AM.png