Background of the issue:
I am trying to fix a wrong link path issue in the English version of my website. The issue can be seen on this page: hidden link. I expected the link to be hidden link without the slash at the end.
Symptoms:
The link path in the English version of the site has an unexpected slash at the end.
Questions:
How can I remove the slash at the end of the link path in the English version?
Welcome to WPML support. There was no answer in the chat, so I turned it into this ticket.
Before answering the question, I should mention that the recommended way to create the multilingual URLs is to use the subdirectory mode instead of the parameter mode that you use.
So if you follow the steps below, you should not have such problems:
- Go to "WordPress Dashboard > WPML > Languages > Language URL Format".
- Check the "Different languages in directories" checkbox.
- Click the "Save" button.
- Go to "WordPress Dashboard > Settings > Permalinks".
- Click the "Save" button to flush the permalinks cache.