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

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

Assisted by: Prosenjit Barman.

Author Posts
August 28, 2023 at 3:32 pm #14302113

jaapd-2

Hi,

If you go to hidden link and click any product the url of the product is incorrect. In the url the product base is /yogakleding but in EN it is /yogawear. The same thing is happening in DE.

Already tried saving permalinks but didn't solve the issue.

How can I solve this?

Cheers,
Jaap

August 29, 2023 at 8:13 am #14304963

Prosenjit Barman
Supporter

Languages: English (English )

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

Hello Jaap,
Thanks for contacting WPML Support.

I understand the issue you're having. Please follow the steps mentioned below and make sure that the Product permalink base is configured correctly.

- Please go to "WooCommerce > WooCommerce Multilingual > Store URLs"
- Find the "product base" and make sure that the English and German base is added correctly. The base URL that you're adding must have to be unique as WordPress doesn't support identical slugs.
- Go to "Settings > Permalink" and resave the permalink structure.

Please check this documentation for more Information: https://wpml.org/documentation/related-projects/woocommerce-multilingual/#urls

Let me know if that helps or if you need further assistance. I will be happy to help.

Best Regards,
Prosenjit

August 29, 2023 at 10:21 am #14305975

jaapd-2

Hi,

I tried all the steps you mentioned however the problem still persists. When switching to the english language and then clicking yoga wear in the menu will bring up the correct URL. Click any product and the url reverst back to /yogakleding/. When you click an alternative product within a product (see image 3) then the internal link brings a 404 (image 4) as the URL doenst match.

Please let me know how to proceed or if you want to check yourself.

Imnage 4.png
image 3.png
image 2.png
Image 1 .png
August 30, 2023 at 4:07 am #14309811

Prosenjit Barman
Supporter

Languages: English (English )

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

Hi Jaap,
Thanks for trying out the suggestions.

As the issue persists, I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to have a testing site where the issue is replicated.

You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you.

IMPORTANT
-Please make a backup of site files and database before providing us access.
-If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this:
hidden link

Looking forward to your response.

Best Regards,
Prosenjit

August 30, 2023 at 3:14 pm #14314803

jaapd-2

Hi, can this be looked into with some urgency? The live webshop is now generating a lot of 404's which is bad very bad for SEO.

August 31, 2023 at 7:01 am #14317525

Prosenjit Barman
Supporter

Languages: English (English )

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

Hello Jaap,
Sorry for the delay.

I have checked and am happy to inform you that the issue is resolved now. Please check this video for a better understanding: hidden link

I cleared the Object caches from your site and added the English base URL again. After that, resaved the permalink structure and that solved the issue.

Please check and let me know if there is anything else you need help with. I will be happy to assist.

Best Regards,
Prosenjit

August 31, 2023 at 7:42 am #14317805

jaapd-2

Hi Prosenjit,

Can you do the same for live (same pw)? I've tried clearing object cache and removed product base translations and re-added them, saved permalinks. Didn't solve the issue.
Can you tell me the exact steps?

Cheers,
Jaap

September 1, 2023 at 3:37 am #14324059

Prosenjit Barman
Supporter

Languages: English (English )

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

Hello Jaap,

I checked your site and can see that the Product Base URL is showing correctly in the English language. Please check this screenshot[ hidden link ] for a better understanding.

Could you please check by clearing the caches from your site and browser as well? If possible, try from a different browser. Rest assured, the Base URL is showing properly now on the main site.

Let me know if you need any further assistance in this matter. I will be happy to help.

Best Regards,
Prosenjit

September 1, 2023 at 7:42 am #14324895

jaapd-2

Hi Prosenjit. Seems to be ok now. Probably cache... Thanks!