Skip to content Skip to sidebar

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

Problem:
The client is experiencing an issue where an anchor link that works on their Finnish site does not function on the English version. Specifically, the link on the Finnish site (https://privaon.fi/yritys/#tiimi) works, but its counterpart on the English site (https://privaon.com/company/#team) does not.
Solution:
We found that the issue with the anchor link not working on the English site is due to case sensitivity in the URL. The anchor was set up as "Team" instead of "team". To resolve this, you should edit the anchor in the Menu button URL to match the case used in the working Finnish site link. For example, if the Finnish site uses lower case (e.g., "team"), ensure the English site uses the same.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your current setup, we recommend opening a new support ticket. Additionally, 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. For further assistance, please visit our support forum at 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 1 reply, has 2 voices.

Last updated by Mihai Apetrei 1 year, 1 month ago.

Assisted by: Mihai Apetrei.

Author Posts
June 11, 2024 at 5:23 pm #15728405

Teemu

Background of the issue:
I have a Finnish site at privaon.fi and an English version at privaon.com. There is an anchor link on the main menu of the Finnish site (hidden link) that does not work on the English site (hidden link).

Symptoms:
The anchor link on the English site does not work.

Questions:
How can I make the anchor link work on the English site?

June 11, 2024 at 8:42 pm #15728986

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

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

Hi there.

Anchor links are case-sensitive so, by looking at the code, it seems that you set up the anchor link as "Team" not "team".

I tested with "Team" and it worked for me so you might need to edit that in the Menu button URL.

I hope that you will find this information helpful.

Mihai Apetrei

Screenshot 2024-06-11 at 23.40.31.png
June 12, 2024 at 6:10 am #15729494

Teemu

Thank you very much!