Skip to content Skip to sidebar

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
- 6:00 – 12:00 8:00 – 12:00 6:00 – 12:00 8:00 – 12:00 6:00 – 12:00 -
- 13:00 – 15:00 13:00 – 17:00 13:00 – 15:00 13:00 – 17:00 13:00 – 15:00 -

Supporter timezone: America/Lima (GMT-05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Nicolas V. 1 year, 11 months ago.

Assisted by: Nicolas V..

Author Posts
August 10, 2023 at 8:46 am #14180413

sergiiN

I published the English domain as hidden link. Everything is working well for all pages except one issue with the individual blog pages. For the alternate language tags, they are not picking well as expected. e.g. If you check a blog page when on either EN or NL domain, it applies the domain URL of the current language to the slug of the blog instead of the correct language URL.
hidden link
.htaccess:
webuser
7qFTCF5kP8W2
hidden link
hidden link
hidden link

August 11, 2023 at 12:40 pm #14188611

Nicolas V.
Supporter

Languages: English (English ) French (Français )

Timezone: America/Lima (GMT-05:00)

Hello,

Welcome to the WPML support forum.

1. Let's start by meeting WPML's minimum requirements. I've noticed your website has a low PHP memory allocation (40M). The minimum requirement for WPML is 128M but we recommend 256M:
- Access your server via FTP and open wp-config.php (in your WordPress root directory).
- Insert those lines just before /* That's all, stop editing! Happy blogging. */

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

More info: https://wpml.org/home/minimum-requirements/

2. Go to "Settings > Permalinks" and re-save them.

3. I see that you have a plugin called "Remove CPT base", this type of plugin can create some issues where WordPress has a hard time to resolve the url. Try to deactivate it for a moment.

4. I can see in your debug information that your permalink structure is /%postname%/ but your blog posts have /blog/ in front of them. Did you change the premalink structure? How are you adding /blog/?

When you're testing those solutions, don't forget to clear your cache.

The topic ‘[Closed] Everything is working well for all pages except one issue with the individual bl’ is closed to new replies.