• Resolved s.wini

    (@swini-1)


    Hey guys, is it possible to exclude one php file via .htaccess from:

        RewriteRule ^wp\-content/plugins/.*\.(?:php[1-7]?|pht|phtml?|phps)\.?$ - [NC,F]

    I would like to give only access to this file, that shows the preview image of the youtubelyte clips:

    /wp-content/plugins/wp-youtube-lyte/lyteCache.php

    Thanks

    Sabine

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support chandelierrr

    (@shanedelierrr)

    Hi @swini-1, glad you reached out!

    It looks like Solid Security’s “Disable PHP in Plugins” setting conflicts with WP Youtube Lyte functionality. The setting does not have an option to exclude a specific file, so I’d suggest disabling this setting instead, so the preview images of the clips will display.

    I hope this helps.

    Thread Starter s.wini

    (@swini-1)

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘exclude one specific php file from deny’ is closed to new replies.