Cannot insert link in page with private link, Add Media uses old link
-
Hi Prevent Direct Access Team
Using :
Wordpress Core version : 5.1
Prevent Direct Access plugin : Free version : 2.5.0.1I am using the Free version to just protect one or two files
In the Media library I can protect the files, and then still in the “Prevent Direct Access” panel, I see the new private link. Then, when I return to the main Media library list I see the files as protected. ..… So all good so farBut A) if such a protected file is an image it’s thumbnail is greyed out / absent, B) if I then go to edit a protected file, just to see the details, I see in the Edit Media panel for the file, that the link is still the original OLD link, and C) when I insert a download link to such a protected file in a page, using the Add Media button, then it is inserted with the OLD link. And so not surprisingly when I goto the Frontend the link does not work, but goes to the 404 page. However, as a workaround, I can edit the link manually in the Backend to the private link, and then the link works.
So what should I do to insert a download link in a page using the Add Media button, so that the private link, ie the one that works, is immediately used ? Or is the above the expected behaviour of the Free version ?
PS : I cleared all cache both client side and server side
Regards aldebaran57
- The topic ‘Cannot insert link in page with private link, Add Media uses old link’ is closed to new replies.