Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    that means something (as in; a security plugin or a security feature provided/ managed by your host) is blocking direct accesss to PHP-files. changing settings at that level should fix that problem.

    hope this helps,
    frank

    Thread Starter Conny

    (@conny64)

    Hi, i have checked all.
    I have include following in my htaccess:

    <IfModule mod_php.c>
    php_value display_errors 0
    </IfModule>

    <Files lyteCache.php>
    Allow from all
    </Files>

    But the error are the same.
    The plugin created link don’t work for me:
    origThumbUrl=https%3A%2F%2Fi.ytimg.com%2Fvi%2FIU2prOOvOQs%2Fhqdefault.jpg
    But if I use the regular Link – it works:
    origThumbUrl=https://i.ytimg.com/vi/IU2prOOvOQs/hqdefault.jpg

    Might it not be better to store the cache locally on your own domain? Also because of the German DSGVO

    • This reply was modified 1 year, 1 month ago by Conny.
    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Might it not be better to store the cache locally on your own domain? Also because of the German DSGVO

    Yes, that is exactly what “cache thumbnails locally” does Conny, but you will need to find out what exactly is blocking access there. It might be a security plugin, it might be apache configuration indeed (although I think you’re (also) using nginx), it might be a “web application firewall” at your hosting company?

    Thread Starter Conny

    (@conny64)

    Tnx for your help.
    I create a .htaccess in your Plugin dir “/wp-content/plugins/wp-youtube-lyte” like

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /wp-content/plugins/wp-youtube-lyte/
    RewriteRule ^lyteCache\.php$ - [L]
    </IfModule>
    Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, so does it work that way indeed? 🙂

    Thread Starter Conny

    (@conny64)

    yes – shure. that solved my problem.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘don’t show local preview image’ is closed to new replies.