Why are you adding relative links?
Thread Starter
spy2
(@spy2)
Because i link pdf files stored in the same folder on the server so i don’t need to add the absolute link. It is more convenient, for example, activating the ssl connection, the url has remained intact.
WP doesn’t support relative links, so that’s the real issue. Relative urls mess up RSS feeds among other things. I just use the add media button to drop in links to PDF files.
Changing to SSL is something done only once and easily handled by search/replace scripts or wp-cli.
Thread Starter
spy2
(@spy2)
I checked and there is the same issue also with absolute link: when i add a link the editor removes it and all added after that (text in other part, shortcodes etc). With the link seems that the editor does not stores the changes from that point and delete everything.
To save the changes, i must save the article as a draft and then redo the changes, in this way the editor no more delete everything.
-
This reply was modified 8 years, 5 months ago by
spy2.
-
This reply was modified 8 years, 5 months ago by
spy2.
How are you doing this? Can you walk me through the steps?
Thread Starter
spy2
(@spy2)
1) I write the article
2) I add a link in a portion of the text
3) i save the article
4) the editor deletes the link
5) i add the link once again and save the article one more time
If i post the article before adding the link and after i add it, everithing is ok.
If i add the link before posting the article, the editor deletes it and i must do as shown in step 5)
HOW are you adding the link? Using the link tool on the editor? Directly pasting a link into the content?
Thread Starter
spy2
(@spy2)
My site is a magazine so often the articles report documents.
I use the link tool on the editor.
That’s very strange!
This may be a plugin or theme conflict. Please attempt to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.