• Hello,

    On my site, I restrict access to documents so that only people who log in can access them. To do this, I’ve added the following lines to .htaccess:

    RewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in.*$ [NC]
    RewriteRule \.(jpg|jpeg|gif|pdf|doc|docx|rtf)$ – [NC,F,L]

    However, GDE can’t acces the files this way. Is it possible to configure .htaccess so that people need to login to access documents on my site, but grants access to GDE as well?

    Kind regards,

    Felix Cornelissen

    https://ww.wp.xz.cn/plugins/google-document-embedder/

Viewing 1 replies (of 1 total)
  • Felix,

    I’ve never tried what you’re attempting here, but if you contact me via email there may be something we can try. My email address is located in the GPL statement at the top of the plugin file gviewer.php in its root folder, or you can use the support tab in GDE Settings.

    Kevin

Viewing 1 replies (of 1 total)

The topic ‘.htaccess settings’ is closed to new replies.