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.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 - -
- - - - - - -

Supporter timezone: Africa/Cairo (GMT+03:00)

This topic contains 1 reply, has 2 voices.

Last updated by Osama Mersal 1 year, 8 months ago.

Assisted by: Osama Mersal.

Author Posts
August 31, 2022 at 2:56 am #11961021

richardW-40

I am trying to: make sure all internal links lead to the correct language

Link to a page where the issue can be seen:
hidden link

I expected to see: The link in the chinese page, go to another chinese page

Instead, I got: it goes to english

Screenshot 2022-08-31 at 10.54.42 AM.png
August 31, 2022 at 10:09 am #11963743

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

1) Could you please try the following steps?

1- Make a minor edit to this page in the default language and update it. (hidden link)
2- Click on the "Spinning Arrows" icon and update the translation.
3- Repeat the above steps on this page. (hidden link)

After that, please clear your site's cache and check the link. If that didn't help, please search for the URLs in the advanced translation editor. Kindly check this guide to know more about translating URLs. (https://wpml.org/faq/how-to-translate-urls-shortcodes-and-html-attributes-using-the-advanced-translation-editor/)

2) It's not related to the issue, but according to your Debug.info, the WP memory limit needs to be increased. PHP memory is fine, but WordPress uses 40Mb as default. Minimum requirements for WPML are 128Mb. (Kindly check this page https://wpml.org/home/minimum-requirements/)

You can increase it by adding the following code in your wp-config.php file, right before the /* That's all, stop editing! Happy publishing. */ line:

/** Memory Limit */
define('WP_MEMORY_LIMIT', '256M');
define( 'WP_MAX_MEMORY_LIMIT', '256M' );

I hope this helps you. If you need further info, please let me know.

Best regards,
Osama

The topic ‘[Closed] Some internal links on a translated page, still lead to the original language’ is closed to new replies.