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.

This topic contains 1 reply, has 2 voices.

Last updated by Prosenjit Barman 1 year, 10 months ago.

Assisted by: Prosenjit Barman.

Author Posts
August 16, 2023 at 9:14 pm #14241385

cyrusC-3

Hello, we have set up our staging site using WPML as our language translation tool. You can view the site here:

hidden link
u: new
p: apsite

The challenge we are having is after going through the WPML install, what we are now seeing is generating Top level pages like:

hidden link works just fine!

Internal pages, anything with a slug like /resources, is doing the following:
hidden link

I've recorded a loom video to show you the problem as well:
hidden link

Also uploading a screen shot of the wp_redirection_404 table, you can see what's been stored.

Screenshot 2023-08-16 at 5.14.09 PM.png
August 18, 2023 at 8:32 am #14250805

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thanks for contacting WPML Support. I will try my best to assist you in this matter.

I've checked the video and understood the issue you're having. Often, posts within the custom post type display a 404 error either due to not defining the slug correctly for the post type in WPML Setting or potential corruption in the permalink structure.

Please go to the "WPML > Settings > Post Type Translation" section and make sure that a slug is defined for the post type in both the default and secondary language. Also, make sure to resave the permalink structure by going to the "Settings > Permalinks" section.

However, I checked your site and found that all the posts under the resources post type are loading correctly on the frontend. Please check this video(hidden link) for a better understanding.

As everything is working fine now, please let me know if you need any further assistance in this matter. I will be happy to help.

Best Regards,
Prosenjit