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 21 replies, has 2 voices.

Last updated by Webest 3 years, 2 months ago.

Assisted by: Dražen.

Author Posts
October 6, 2021 at 6:32 am #9729307

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+01:00)

Hello,

thanks for the patience.

We have checked your copy of your website and it works just fine.

Video: hidden link

Our developer who was checking the issue has noted some custom DB settings, custom theme, mu-plugins, object-cache and etc, and is under the impression our fix for you gallery CPT doesn't work on your server because of these custom settings/configuration.

Checking this further and debugging your custom/server configuration is out of the scope of our work.

Since it works fine if we follow the next steps and tet on our server/localhost:


- Remove the mu-plugins, object-cache.php, the custom db file and edit to wp-config to not try to load it
- Then translated the CPT slug
- Resave the permalinks
- After those steps, it worked for me.

Hope you understand our side here.

I hope I was helpful. Don't hesitate to contact us if you find any problem along the way, we'll gladly help you.

Regards,
Drazen

October 7, 2021 at 8:56 am #9739147

Webest

Hello Drazen,

Thanks for checking, but please check one more thing (it's 0:17 sec. on the video from your last answer), please don't set different slugs in different languages for Galeria custom post type..

We would like to have the same slug, so example PL link should be:
hidden link
and example DE link should be:
hidden link

unfortunately for this configuration DE sitemap is still wrong, because links are described as PL, please check attached screenshot.

Thanks

Notification_Center.png
October 7, 2021 at 9:41 am #9739641

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+01:00)

Hello,

thanks for getting back.

It works in both cases, I was just setting it like that in the video, for easier understanding.

Please check the video and image attached:
- hidden link

As explained in my last reply, it works fine for us, and we suspect some custom code/configuration is causing issues for your side / live website, and we can not check/debug that part as it is out of the scope of our support.

Hope you understand, let me know if there is anything else I can do for you.

Thanks,
Drazen

Screenshot_4.jpg
October 7, 2021 at 10:50 am #9740113

Webest

Hello,

Unfortunately I've removed object-cache, custom db etc. and still can see the issue (It's fine when we have different custom post slug, but for the same slug it doesn't work).

Few answers above You wrote:
"You are right, it doesn't work anymore on the sandbox also.
Not sure what is going on here, let me check with our developers again so they have a better look."

Could you please let me know what did you change there that it started to work properly? Unfortunately sandbox is not available anymore, so I can't check it..

Thanks

October 7, 2021 at 2:03 pm #9741857

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+01:00)

Hello,

1)
It's fine when we have different custom post slug, but for the same slug it doesn't work

Where can I see and check that it works fine with different slugs? I tried to check on hidden link but I still see the same problems.

2) Yes, at that time it wasn't working correctly on sandbox because I have not followed the correct steps, thus our developers checked and it worked fine. Then we tried to check your website but since it has many custom things / maybe even from the server, they took a copy, disabled everything as explained above checked your copy of the website and it works fine.

Sandbox website expired after 7 days.

I would suggest you try to check your webstie copy on localhost, disable everything as we did so can make sure it works fine. Then try to see what causes issues on your live website/server. You can also try with only custom CPT code, WPML, and AISEO.

I can check one more time 1st step, but I am not sure I will be able to do much if it still doesn't work, since what we checked and tested seems to work fine, and the permanent fix will be added from the AISEO side the future.

Let me know, thanks.
Drazen

October 12, 2021 at 8:50 am #9768979

Webest

Hi,

I think that it's something wrong with the AISEO plugin (disabling other plugins, using default theme don't change anything)..

It finally start working properly if i set the slug in WPML (it also works with different custom post slug), but the slug (even if it's the same) must be added..

hidden link
hidden link

Thanks for help.