This thread is resolved. Here is a description of the problem and solution.
Problem:
The client inquired about the possibility of not translating URLs.
Solution:
We reviewed the client's settings and found them to be correct. However, we noticed that the WP Memory Limit was lower than recommended. We advised the client to increase the WP Memory Limit by adding the following code to their wp-config.php file:
define('WP_MEMORY_LIMIT', '256M');
This code should be pasted just before the line "That's all, stop editing! Happy blogging.". For more information on WPML's minimum requirements, please visit our documentation. It's important to note that WPML requires a minimum WP Memory limit of 128M to function in a minimal environment, which includes a default theme and no other plugins.
Regarding the URL translation, the URL provided by the client (https://uae.revent.store/ar/business/) appears to be functioning correctly, copying the same URL for secondary languages as intended.
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.
Tagged: Documentation request
This topic contains 8 replies, has 2 voices.
Last updated by Marcel 11 months, 1 week ago.
Assisted by: Marcel.
Author | Posts |
---|---|
December 14, 2023 at 12:37 pm #15063091 | |
Atiq Rahman |
Hi, is there any way to not translate url? thank you |
December 16, 2023 at 11:14 am #15077169 | |
Marcel Supporter
Languages: English (English ) German (Deutsch ) Timezone: Europe/Madrid (GMT+01:00) |
Hi, before your ticket is assigned to one of my colleagues, please allow me to walk you through some initial debugging steps. This will help speed up the support process. Can you please show me a usecase/example of why you don't want to translate a URL? You can't have an identical permalink on WordPress, so you need (minimum) a different language code like .com/de/test if you also have .com/test. Is this what you mean? Thank You! Best Regards |
December 16, 2023 at 12:16 pm #15077251 | |
Atiq Rahman |
I want it like this-- mydomain.com/business on 2nd lang-- mydomain.com/ar/business like this |
December 16, 2023 at 1:58 pm #15077391 | |
Marcel Supporter
Languages: English (English ) German (Deutsch ) Timezone: Europe/Madrid (GMT+01:00) |
Hi, you can try https://wpml.org/documentation/getting-started-guide/translating-page-slugs/ "Copy from orignal language if translation languages uses encoded URLs). Best Regards |
December 16, 2023 at 3:08 pm #15077559 | |
Atiq Rahman |
Hi, I have done this can you please ensure my setting is done? credential already i have shared before u can use same. Thank you |
December 16, 2023 at 3:37 pm #15077603 | |
Marcel Supporter
Languages: English (English ) German (Deutsch ) Timezone: Europe/Madrid (GMT+01:00) |
Hi, Please add your credentials to the activated, private input field here, as you need to accept the disclaimer and confirm a backup before I can access your site. 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 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 Best Regards |
December 18, 2023 at 10:44 am #15082515 | |
Marcel Supporter
Languages: English (English ) German (Deutsch ) Timezone: Europe/Madrid (GMT+01:00) |
Hi, thanks for the credentials. I receive a gateway time-out:
Can you please check this? Thank You! Best Regards |
December 18, 2023 at 6:00 pm #15086797 | |
Marcel Supporter
Languages: English (English ) German (Deutsch ) Timezone: Europe/Madrid (GMT+01:00) |
Hi, thanks! I receive now "Error: The password you entered for the email address support@wpml.org is incorrect." Best Regards |
December 27, 2023 at 4:02 pm #15132713 | |
Marcel Supporter
Languages: English (English ) German (Deutsch ) Timezone: Europe/Madrid (GMT+01:00) |
Hi, thanks for the access. 1) I checked your settings, and it looks all OK except the WP Memory Limit: hidden link. Add this code to your wp-config.php to increase WP memory: define('WP_MEMORY_LIMIT', '256M'); Paste it just before "That's all, stop editing! Happy blogging.". See here for more information https://wpml.org/home/minimum-requirements/ 2) The mentioned URL seems to work correctly as you expected: hidden link, it copies the same URL for your secondary languages. Best Regards |