Skip Navigation

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

Problem:
After installing the WPML plugin and setting Polish as the default language while disabling English, the site URLs were incorrectly formatted, showing repeated language directories (e.g., https://en/en/sklep.plantis.app/en/). The client was concerned about potential misconfiguration or bugs affecting the site's functionality.
Solution:
1. We recommended temporarily disabling the WPML plugin by renaming its folder in wp-content/plugins, which the hosting provider could assist with.
2. We advised increasing the WordPress memory limit by adding the following line to the wp-config.php file:

/* Memory Limit */<br />define('WP_MEMORY_LIMIT', '256M');

3. Upon receiving access credentials, we identified that the home URL was missing in the database. After adding the correct home URL, the issue with the URLs was resolved.
4. It is safe to activate additional WPML plugins such as WPML Multilingual CMS and WPML String Translation, and further plugins like Advanced Custom Fields Multilingual can also be included without issues.

If this solution does not resolve your issue or seems outdated, please check the related known issues and ensure you have the latest versions of themes and plugins installed. If problems persist, we highly recommend opening a new support ticket here.

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: 

This topic contains 6 replies, has 1 voice.

Last updated by Carlos Rojas 1 day, 17 hours ago.

Assisted by: Carlos Rojas.

Author Posts
June 18, 2025 at 4:37 pm #17147762

lidiaB-6

Background of the issue:
I just installed the WPML plugin and wanted to set the Polish language to default. I didn't change anything much. I wanted to go to the site to preview it.

Symptoms:
The site URL has changed to hidden link instead of hidden link, and the store does not work.

Questions:
How can I change the site URL back to hidden link?
What steps should I follow to set the Polish language as default without affecting the site URL?

June 18, 2025 at 4:49 pm #17147782

Dražen
Supporter

Languages: English (English )

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

Hello,

Thanks for contacting us.

While you wait for my colleague to take over the ticket, let me try to help you with the issue quickly.

You can ask your hosting support to disable WPML plugin, if that caused issue, by going to wp-content/plugins and rename sitepress.... folder to sitepress1.

Or you can provide us wp-admin and FTP access in next reply and we will check it out, just note we have a higher queue and it might take a bit, you can also contact us via live chat.

Regards,
Drazen

June 19, 2025 at 12:33 pm #17150632

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hello,
My name is Carlos, and I will continue working on this ticket.

1.- I kindly ask you to share the access credentials to the site, I can't see them in your previous message. I have set your next message private so you can securely share the information.

2.- Please increase the WP memory Limit. Minimum requirements are 128Mb: https://wpml.org/home/minimum-requirements/
You can add this to wp-config.php to increase WP memory:`

/* Memory Limit */
define('WP_MEMORY_LIMIT', '256M');

- Add it above the line /* That's all, stop editing! Happy blogging. */

You can double-check the WordPress memory limit in WPML -> Support

Looking forward to your feedback.

June 23, 2025 at 8:52 am #17158677

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Thank you for sharing the credentials requested.

The cause of the issue was that the home URL wasn't in the database. Once added, the problem disappeared.

Can you confirm that the issue has been resolved?

June 23, 2025 at 9:02 am #17158694

lidiaB-6

Yes, it looks like it's working. Thank you very much. Now, I have one more question - can I turn on the rest of the plugins for WPML? For this moment i see WPML Multilingual CMS and WPML String Translation. Can I savely include more, like Advanced Custom Fields Multilingual? Will it be safe? After adding will be there any others things to set up or just turning on should be enough? Best reagrds

June 23, 2025 at 9:45 am #17159116

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hi,

Yes, it is totally fine to add/activate more WPML plugins. The cause of the issue was the missing home URL in the database, now that it is solved, everything should work as expected/

June 23, 2025 at 10:06 am #17159167

lidiaB-6

Thank you!

June 23, 2025 at 10:07 am #17159171

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

You are welcome!

Please don't hesitate to contact us if you need our help in the future with WPML. We are here to help 🙂

Have an excellent day!