Viewing 1 replies (of 1 total)
  • Plugin Author John Darrel

    (@johndarrel)

    Hi @jubilo, to avoid any issue regarding showing the images in frontend, the plugin is not hiding the old paths of the images.

    The plugin hides only the vulnerable files that can be attacked by bots.

    In the media library the images should have the real path and the URL should only be changed in frontend to avoid broken URLs after the plugin is deactivated.

    To hide a specific extension or a file you can use htaccess.
    Note! the rules will hide all the images with the extension jpg, png and gif called as /wp-content/uploads/

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{THE_REQUEST} /wp-content/uploads/[^\.]+(\.jpg|\.png|\.gif) [NC]
    RewriteRule ^(.*)$ - [L,R=404]
    </IfModule>
Viewing 1 replies (of 1 total)
  • The topic ‘In media library real URL of images still visible’ is closed to new replies.