Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client needed to update the URL base for Category links in the header from 'products' to 'product-category' and was unsure where to find the header definition in their layout.
Solution:
1. We recommended updating the product's slug in the WordPress settings by navigating to Settings -> Permalinks.
2. After updating the slug, the next step involved translating it via WPML by going to WPML -> String Translation.
3. Additionally, to address the header strings and URLs, we advised navigating to String Translation and translating the necessary header strings and URLs.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. Additionally, please feel free to open a new support ticket for further assistance at WPML support forum.

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

Last updated by Osama Mersal 11 months ago.

Assisted by: Osama Mersal.

Author Posts
July 16, 2024 at 1:41 pm #15960891

kimiQ

Background of the issue:
The header on my home page has Category links. These links need to have the URL base updated from saying 'products' to 'product-category'. I need to find where the header is defined for your layout. The site I need help with is hidden link.

Symptoms:
The URL base for Category links in the header is incorrect.

Questions:
How can I update the URL base for Category links in the header from 'products' to 'product-category'?
Where can I find the header definition in my layout?

July 16, 2024 at 1:45 pm #15960953

kimiQ

Background of the issue:
The header on my home page has Category links. These links need to have the URL base updated from saying 'products' to 'product-category'. I need to find where the header is defined for your layout. The site I need help with is hidden link.

Symptoms:
The URL base for Category links in the header is incorrect.

Questions:
How can I update the URL base for Category links in the header from 'products' to 'product-category'?
Where can I find the header definition in my layout?

I still need help.

July 16, 2024 at 2:02 pm #15961010

Osama Mersal
WPML Supporter since 02/2020

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) If you are asking about the default language's slug, please go to Settings-> Permalinks and check the category slug.

If you want to change the URL in the header menu, you might find it in Appearance-> Widgets.

Please let me know if the above answers your question. If not, please share screenshots of the header in the dashboard and what you want to change.

2) Could you please share your Debug information with me?
You can read a detailed explanation about it here. (http://wpml.org/faq/provide-debug-information-faster-support)
The debug info will give me a lot of information about how your site is configured.

Best regards,
Osama

July 17, 2024 at 11:27 am #15965816

Osama Mersal
WPML Supporter since 02/2020

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

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

Hi,

1) Please let me know if changing the slug fixed the issue.

2) Please add the debug info in their private field.

Best regards,
Osama

July 18, 2024 at 6:19 am #15969895

kimiQ

Hiii, Osama. I did what you told me. And I find my header URL change in the Woomart Header. But after i change it. They are always mess up from Brazilian page to English page and Arabic page. Still need your assistant. Thank you ~

July 18, 2024 at 6:32 am #15970090

Osama Mersal
WPML Supporter since 02/2020

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

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

Hi,

I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
Preferably to a test site where the problem has been replicated.

Your answer will be private, meaning only you and I can access it.

❌ Please backup your database and website ❌

✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

July 18, 2024 at 1:32 pm #15972796

Osama Mersal
WPML Supporter since 02/2020

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

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

Hi,

Please share the WordPress dashboard access details, not the host access details.

Best regards,
Osama

July 19, 2024 at 5:05 am #15975823

kimiQ

hidden link
This is wordpress please try both. Sometime this doesn't work. Because different IP Address.

July 19, 2024 at 5:05 am #15975824

kimiQ

Email & password are same

July 19, 2024 at 10:09 am #15977345

Osama Mersal
WPML Supporter since 02/2020

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

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

Hi,

When trying SiteGround, it needs a verification code sent to you by mail.

When trying WordPress.com, it gives me the following error. (Unknown email address. Check again or try your username.)

Best regards,
Osama

July 19, 2024 at 11:06 am #15977705

kimiQ

hey, i can give your code now? If you are online now

July 19, 2024 at 12:04 pm #15978157

kimiQ

What is your Whats App? When you log in send me code. I can do whats app and send it back. Otherwise, we never be in the same time online.

July 20, 2024 at 1:31 pm #15981444

Osama Mersal
WPML Supporter since 02/2020

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

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

Hi,

I'm working from Sun to Thu, 9.00 AM to 6.00 PM (GMT+3). If you are not around during this time, please share a copy of your site and I'll check the issue locally and let you know my findings.

In order to share a copy of the site, We usually recommend the free Plugin “Duplicator” for this porpoise.

If you already know how Duplicator works. (http://wordpress.org/plugins/duplicator/),
Please skip the following steps and send me the installer file and the zip package you downloaded.

★ Duplicator Instructions (hidden link)

Send me both files (you probably want to use DropBox, Google Drive, or similar services, as the snapshot file will be quite big)

I will enable your next answer as private, so you can provide me with the information securely.

Best regards,
Osama

July 21, 2024 at 10:40 am #15983130

kimiQ

Hiii, Osama, Are you online now?

July 21, 2024 at 10:41 am #15983131

Osama Mersal
WPML Supporter since 02/2020

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

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

Yes, please send me the code