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

Last updated by Mihai Apetrei 1 year, 10 months ago.

Assisted by: Mihai Apetrei.

Author Posts
March 29, 2023 at 3:23 pm #13359879

edoardod-8

Tell us what you are trying to do?
If you visit an Italian post/page then the URL is fine -> hidden link
but if I visit the post/page of the default language then the URL is like -> hidden link
I want the default language URL to be like -> hidden link

Is there any documentation that you are following?
https://wpml.org/documentation/getting-started-guide/language-setup/directory-default-language/

Is there a similar example that we can see?

What is the link to your site?
hidden link

March 29, 2023 at 6:05 pm #13361269

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi there.

I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. 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.

Our Debugging Procedures

I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.

Privacy and Security Policy

We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

**IMPORTANT**

- Please make a backup of the 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

I will be waiting for your response.

Kind regards,
Mihai Apetrei

March 30, 2023 at 8:54 pm #13370405

edoardod-8

I've added the required details on private message, please check now

March 31, 2023 at 3:07 pm #13377157

edoardod-8

Sir, you didn't reply ?

March 31, 2023 at 3:11 pm #13377169

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi and thank you for the credentials.

There is a pretty full queue at the moment and it can take a while until we are able to write back.

I can confirm that I was able to log in successfully.

I am spending more time on this and I will get back to you as soon as I have more feedback.

I will leave the ticket assigned to myself for the moment.

Kind regards,
Mihai

March 31, 2023 at 9:49 pm #13379247

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi there.

Please create a full website backup and then update the WPML plugins to the latest versions:
hidden link

It seems that there are also other plugins that are outdated.

I recommend that you keep everything up to date so that the website is secure.

Please let me know if the issue happens even after everything is up to date.

I will be waiting for your response.

Mihai

April 1, 2023 at 11:14 am #13380829

edoardod-8

The Plugins of WPML and other plugins are updated but still i am facing redirecting issue.
Example Links: hidden link

The Home page also gone: hidden link

if you click on any page it showing error: dev.space-hosting.it redirected you too many times.

Please fix this issue asap.

Screenshot from 2023-04-01 16-12-44.png
April 2, 2023 at 6:35 pm #13385199

Mihai Apetrei
Supporter

Languages: English (English )

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

Thank you for the update.

I will continue the investigation and I will get back to you as soon as I have news.

Thank you for your patience throughout the debugging process.

Mihai

April 3, 2023 at 11:36 pm #13394863

edoardod-8

Sir,
How much more time it will take? I cannot able to do work on the blog because of a redirection error. I am already behind schedule and I can't waste more time on it.
Please fix the issue as soon as possible.

April 4, 2023 at 7:00 pm #13403481

edoardod-8

Sir,
What's going on ? How much more time it will take? i've already so much work pending because of this.

April 4, 2023 at 9:25 pm #13404345

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi there.

Sorry for the delay but the current queue is pretty crowded and it can take a bit more than usual for us to get back with an answer.

1. In regard to this situation, there are a good amount of plugins that might affect the WPML functionality.

Do I have your permission to duplicate this site on a testing environment so that I can see if the same things are happening even when we have only WPML active and all the other plugins deactivated?

Or can I have your confirmation that you have created a full website backup and that I can do these tests on this current site that you shared access to?

2. Also, I have noticed that your website’s WP Memory Limit is 40MB. The WP memory limit needs to be increased as the minimum requirement for WPML is 128Mb WP Memory Limit: https://wpml.org/home/minimum-requirements/

❌ Very important: please make a backup of your site (files & database) before following any of the upcoming steps ❌

Please add this to your wp-config.php file to increase WP memory:

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

Paste it just before:

/* That's all, stop editing! Happy blogging. */

These settings can be limited directly by your hosting provider, so, if that’s the case, I recommend you contact and ask them to modify them directly. If you can get even higher values It would be great.


After they are modified, you can verify them from WPML >> Support page, just to make sure that they are correct.

I will be waiting for your response.

Thank you.

Mihai

April 6, 2023 at 3:28 pm #13421203

edoardod-8

Already tried, not working!

You have the right to make the backup of website and perform modification locally and let me know.
Please fix this issue asap.

April 6, 2023 at 11:14 pm #13423717

Mihai Apetrei
Supporter

Languages: English (English )

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

Ok. Thank you for the confirmation.

I will continue with the local migration and further debugging.

I will get back to you as soon as I have any updates.

I also want to let you know that I am not working on the weekend so if I won't be able to get back to you before the weekend, I will get back to you at the beginning of next week.

I'm leaving the ticket assigned to myself for now.

Have a lovely rest of the day.

Mihai

April 7, 2023 at 9:47 am #13426213

edoardod-8

I've one question

what do you recommend in terms of SEO

/ -> EN
/en -> EN
/it -> IT

or

/en -> EN
/it -> IT

or

/ -> EN
/it -> IT

Thanks

April 8, 2023 at 10:12 pm #13432213

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi there.

To be honest, I would not activate the "/en" in the URL if English is the default language.

I think it might be confusing, both for people, but also for Google, to see that there are "two" URL's that take us to the same place: domain.com and domain.com/en

If the main language is English, I would leave only the domain showing and I would use the language attribute for any of the other languages.

Mihai