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

Last updated by nikolaosM-3 12 months ago.

Assigned support staff: Carlos Rojas.

Author Posts
August 2, 2018 at 11:13 am #2605081

nikolaosM-3

Hello team i need help with something but please give attention because site is big and took long to translate and i dont want to break something.So i translated the website from english to greek language , but what will take so much time now is to change the urls inside the translated greek language pages to redirect to the greek pages.I mean i have many links in pages that i entered with page builder and now all these need the /el/ after domain.

So is there a fast way that all the links in the greek pages changed accordingly and redirect to the greek language without doing this manually?I have started but it will take so long.

----------------------

The supporter replied for this message :
Hi,

you can try the feature in WPML -> Settings -> Translate link target, it should do exactly what you want.
Before attempting this please do a backup of your site.

--------------

After doing the solution you provided only found 66 links and changed that means only the posts.All the other links that are inside pages and are inside elements from builder plugin etc they are still direct you to english pages instead of greek.Is there a solution to change these urls also because they are really many of them.
Thanks.

August 2, 2018 at 10:37 pm #2607056

Carlos Rojas
Supporter

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

Timezone: America/Montevideo (GMT-03:00)

Hello,
Thank you for contacting WPML support.

I will consult this question with my colleagues. I will get back to you as soon as I get an answer.

Thank you very much for your patience and understanding!
Kind regards,
Carlos

August 3, 2018 at 7:12 am #2607992

nikolaosM-3

Ok thanks Carlos.

August 3, 2018 at 6:43 pm #2611424

Carlos Rojas
Supporter

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

Timezone: America/Montevideo (GMT-03:00)

Hi,

Just consulted my colleagues and between the 'sticky links' functionality and the 'Translate link target' option should solve the issue.

If you tried both options already and there are still untranslated links then I will need to reproduce the issue on local and escalate this ticket.

Please provide examples of the untranslated links.

I would need a sites snapshot if possible.
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 just send me the installer file and the zipped 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)

❌ IMPORTANT ❌
Remember to create or keep an admin account for me before creating the snapshot, or I won’t be able to login. You may delete the new admin account once the snapshot has been built.

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

Looking forward to your answer.
Best regards,
Carlos

August 4, 2018 at 7:28 am #2612438

nikolaosM-3

Hello Carlos the only thing i tried is to translate link target and the result was the one i told you.What you mean i should do with sticky links?Should i enable sticky links and then translate link target again? Can you explain me these functions better?Is tehre a danger to break any links in my main language?
To explain better the urls i want to be redirect to the greek language means that need "/el" after domain are urls that are entered in elements by visual composer,ultimate addons visual composer plugin and marvelous hover visual composer plugins inside pages.

Thanks for helping me out.

August 6, 2018 at 3:08 pm #2616368

Carlos Rojas
Supporter

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

Timezone: America/Montevideo (GMT-03:00)

Hi,

Please visit this link where you will find our official documentation about Sticky Links plugin: https://wpml.org/documentation/getting-started-guide/sticky-links/

I recommend you to create a full backup of the site and test the Sticky Links plugin. Could you tell me the result of this?

Best regards,
Carlos

August 7, 2018 at 11:46 am #2620011

nikolaosM-3

Well Carlos i did what you said i clicked turn links on widgets sticky and also i scanned all pages and posts.I dont know what this procedure done website sems to work thank god 🙂 but when i go to greek language and click any link inside page it redirects to english page.Should i translate link target again after i made it sticky links or it has no point?
How can we manage this thing now?

August 7, 2018 at 5:54 pm #2621309

Carlos Rojas
Supporter

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

Timezone: America/Montevideo (GMT-03:00)

Hi,

Could you tell me where this links are? Body contento, custom fields, inside shortcodes, etc?

Please attach some screenshots to point out some examples.

Looking forward to your answer.
Best regards,
Carlos

August 8, 2018 at 10:54 am #2624093

nikolaosM-3

Firstly Carlos i want to ask is there any reason now to use translate link target again after i made it sticky links or it has no point? Secondly i attach you some photos check with order 1-4 i think you will see what you asked.I noticed though as you will see in 4th image that although i need only the"/el" after domain before post types that inside url it has "lang=en" so this probably needs to change also?

Thanks for your efforts.

August 8, 2018 at 7:02 pm #2626154

Carlos Rojas
Supporter

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

Timezone: America/Montevideo (GMT-03:00)

Hi there,
Thank yo uvery much for the screenshots attached.

I contacted one of our compatibility specialists and the recommendation is to try to reproduce this issue in a local environment and if the issue persists then I should escalate it to our compatibility team.

This is because the first step ( WPML -> Settings -> Translate link target ) should solve the issue. (Otherwise, you will have to change every link manually)

I would like to ask your authorization to make a copy of the site to make the tests in a local environment without affecting the live site. I have set your next answer private so you can provide the credentials of the site.

Looking forward to your answer.
Best regards,
Carlos

August 9, 2018 at 3:56 pm #2629824

Carlos Rojas
Supporter

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

Timezone: America/Montevideo (GMT-03:00)

Hi there,
Thank you very much for the informatino provided and the authorization.

I need to install Duplicator plugin or All-In-One WP Migration plugin to make the copy of the site. This plugins ussually doesn't cause any issue, but I would like to ask you in advance if there is OK for me to install one of them.

Looking forward to your answer.
Regards,
Carlos

August 10, 2018 at 6:56 am #2632073

nikolaosM-3

Ok install the one that has best reviews and feedback to make your job and deactivate it after please. Thank you very much Carlos for your help!

August 10, 2018 at 5:27 pm #2634982

Carlos Rojas
Supporter

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

Timezone: America/Montevideo (GMT-03:00)

Hi,
Thank you very much for your authorization.

Before I start to make the copy of the site I need to ask you to update all outdated plugins/themes to their latest versions. Outdated functionalities can cause conlifcts in the code.

Could you double check if the issue persists after the steps above?

Note: Please don't forget to make a full backup of the site before making any change. This is for security reasons.

Best regards,
Carlos

August 11, 2018 at 7:53 am #2636142

nikolaosM-3

Ok Carlos im not in the office right now i will do all steps and i will inform you when to procceed. Have a nice weekend.

August 13, 2018 at 6:48 pm #2640942

Carlos Rojas
Supporter

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

Timezone: America/Montevideo (GMT-03:00)

Hi,

I will be waiting for your message.

Best regards,
Carlos