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 is split from https://wpml.org/forums/topic/the-string-of-the-link-url-is-automatically-rewritten-to-the-format-page-id/
Tagged: Documentation request
Author | Posts |
---|---|
April 8, 2024 at 6:59 am #15492637 | |
ryoY-2 |
How can I revert the string of a link changed to a page ID by WPML Sticky Links back to its original URL link? I thought that by starting "Revert sticky urls to permalinks" in WPML > Sticky Links, it might revert back to the original link. However, upon testing, although it seemed to have reverted, there are links where those originally described as root relative paths have been changed to absolute path formats. Therefore, it seems difficult to revert just by disabling Sticky Links. Are there only methods such as tracking post revisions or searching for page ID links within the database? Does WPML Sticky Links retain logs of the changes it has made? I understand that WPML Sticky Links changes the destination string of a link to a page ID under these conditions, is that correct? ・When there is a translated post corresponding to the original post Or is there a possibility of changes occurring even in posts without translated posts? |
April 8, 2024 at 7:23 am #15492761 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, 1) reverting changes should be done by disabling Stickly links or clicking the option to revert as you did. where those originally described as root relative paths have been changed to absolute path formats 2) That is correct, when you use sticky links it will use relative path and without it will revert to before permalink settings or the link you added, in this case absolute path. Explained: When you save a page or a post, WPML checks for links to other pages or posts. It replaces all such links with default style links. Instead of saving hidden link;, it will save |
April 12, 2024 at 1:23 am #15511143 | |
ryoY-2 |
hi, > 2) Is it correct to say that this is a mistake regarding "WPML Sticky links," not "WPML"? > 4) In my environment, the majority of the posts remain as URL links even when Sticky links are activated. Please explain the reason for the discrepancy between your understanding and what has been observed in my environment. I believe if you could take a look at my environment, you would be able to confirm the situation. |
April 12, 2024 at 6:24 am #15511420 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, 1) Can I confirm what is the mistake? I am not sure I understand what you mean and what is the issue you have. What I have explained in the last reply, is normal and expected on how WPML sticky links work. 2) It depends if you have run Sticky link mode (WPML > Sticky links) to convert them or not, if you have not then they stay URL, and if you have they stay page ID. Regards, |
April 12, 2024 at 7:37 am #15511619 | |
ryoY-2 |
Hi, 1) (What I mean is, please use the exact words.) I meant to be specific. In your rply on April 8, 2024, at 7:23 AM, you wrote only "WPML." In this reply, since you specifically mentioned "WPML sticky links," I have been able to confirm that it is correct once again. (Aren't you fully understanding what was confusing me in the previous thread?) 2) If I understand your explanation correctly, all links contained within every post should either remain as URL links or all change to page-ID links. However, on my site, only the links contained in the translated page and its destination page are changed to page-IDs. As I mentioned in the previous thread, this time I only installed WPML Sticky Links and did not perform any translation work after activation. The translation work was done much earlier. Does this explanation help clarify what I find puzzling? |
April 12, 2024 at 7:45 am #15511628 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, 1) I understand there was confusion, but I understand we solved that problem and confusion on your last ticket. Also, there were numerous doubts and confusion there, I am not sure to which one you are referring. 2) No, they should not all change, it depends on when you run sticky links mode and convert them. If you create some links later and have not run mode to convert yet, they will not yet be converted. No, I am afraid not, I do not understand what you find puzzling. As per your explanation it seems to me that all works as expected, and once you revert and disable WPML Sticky links, it still all works as expected, as explained in the above replies. Let me know if there is anything else I can help with. Regards, |
April 12, 2024 at 8:10 am #15511804 | |
ryoY-2 |
Hi, 1) 2) I'll rewrite it again. I have never used Sticky Links to translate posts or convert links. From your wording, it seems like posts were converted with a certain intention, resulting in that. --- Why do you say you don't understand why I'm confused? |
April 12, 2024 at 8:18 am #15511882 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, 1) WPML sticky links can not work without the WPML main plugin, they work in combination. Sticky links do yes if you want to be really specific, but the WPML main plugin is also involved. 2) Okay, you are right it seems most of the sticky links are converted on enabling plugin, and for some, you need to run a scan. - By default, WPML will turn all links in the post body into sticky links. - https://wpml.org/documentation/getting-started-guide/sticky-links/ So there can be differences in some links as you have experienced. 3) I will be happy to answer any specific questions or help with any issues. Please check my reply and I will answer any questions or as for more clarification for those I do not understand. Regards, |
April 12, 2024 at 8:23 am #15511906 | |
ryoY-2 |
I'm going to stop this now. |
April 12, 2024 at 9:17 am #15512229 | |
ryoY-2 |
I can hardly understand why this result occurs every time. I couldn't understand until the end why there was a need for a separate thread. And I don't understand the sense of giving it a title like 'Sticky links issue' that doesn't reflect the specific problem we're facing." |