• Resolved Volvon

    (@volvon)


    Hi folks, if your running a new website or testing SLB on a site that is hidden behind a htaccess (password protected) it won’t work.

    Mine was working perfect (great plugin by the way Sol) on the local server, then when I uploaded it to the webserver and put a htaccess password protect on the site to keep prying eyes out, SLB didn’t work whatsoever. It took me about a day to figure out it was htaccess causing the fault.

    If you comment out the these lines of your htaccess with a hash like this:
    # AuthType Basic
    # AuthName “restricted area”
    # AuthUserFile /path/to/your/password/protected/directory/.htpasswd
    # require valid-user

    Then check your SLB, it should work. Then just remove the hash tags so your site is hidden again and then this will disable SLB again, but you know it will work fine when your site is ready to go live.

    Thanks for a great plugin and it is because the author is responsive to support I thought I’d share this (I usually NEVER post on anything).

    All the best.

    https://www.ads-software.com/plugins/simple-lightbox/

Viewing 1 replies (of 1 total)
  • Plugin Author Archetyped

    (@archetyped)

    Nice find!

    Yes, it appears that the authorization stops WordPress’ file retrieval code (which SLB uses) from functioning properly.

    A different approach that doesn’t use WordPress’ file access code was already planned for an upcoming update, so hopefully it will resolve this issue as well.

    Thanks for sharing this, Volvon.

Viewing 1 replies (of 1 total)
  • The topic ‘Read this if SLB isn't working’ is closed to new replies.