• Resolved 203X

    (@ryder203)


    Hi.
    So I used your setting “Check this if you want to prevent hotlinking to images on your site.” … it then prevented my other domains/websites on the same webspace to load images. So I edited my .htaccess to create exceptions for my other two domains/websites and subdomains, and it all worked. Then you updated the plugin, .htaccess was changed and my other two websites got screwed up because my exceptions in .htaccess were gone since WP AIO security messed with the file. Can you please add a feature to add .htaccess exceptions in the plugin settings for domains and subdomains? My webspace setup is a bit special, and your plugin with all it’s great features causes me trouble more and more with the updates coming in lately.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter 203X

    (@ryder203)

    See, I need it like this:

    #AIOWPS_PREVENT_IMAGE_HOTLINKS_START
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{REQUEST_FILENAME} -f
    RewriteCond %{REQUEST_FILENAME} \.(gif|jpe?g?|png|svg|css)$ [NC]
    RewriteCond %{HTTP_REFERER} !^http(s)?://(.*)?\.t-ryder\.de [NC]
    RewriteCond %{HTTP_REFERER} !^http(s)?://(.*)?\.menetekel\.net [NC]
    RewriteCond %{HTTP_REFERER} !^http(s)?://(.*)?\.iheartshit\.de [NC]
    RewriteCond %{HTTP_REFERER} !t-ryder\.de [NC]
    RewriteCond %{HTTP_REFERER} !iheartshit\.de [NC]
    RewriteCond %{HTTP_REFERER} !menetekel\.net [NC]
    RewriteRule \.(gif|jpe?g?|png|svg|css)$ - [F,NC,L]
    </IfModule>
    #AIOWPS_PREVENT_IMAGE_HOTLINKS_END

    But it was reset to:

    #AIOWPS_PREVENT_IMAGE_HOTLINKS_START
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{REQUEST_FILENAME} -f
    RewriteCond %{REQUEST_FILENAME} \.(gif|jpe?g?|png|svg|css)$ [NC]
    RewriteCond %{HTTP_REFERER} !^http(s)?://(.*)?\.t-ryder\.de [NC]
    RewriteCond %{HTTP_REFERER} !t-ryder\.de [NC]
    RewriteRule \.(gif|jpe?g?|png|svg|css)$ - [F,NC,L]
    </IfModule>
    #AIOWPS_PREVENT_IMAGE_HOTLINKS_END

    And as this happened I was coding on the other domains content and did not realize what’s going on and thought I messed up my CSS/HTML and almost gone nuts!

    Plugin Contributor Prashant Baldha

    (@pmbaldha)

    I have written this task in our customer-suggested task list. Our team will pick tasks from the list, evaluate it and implement it if it is required.

    Thanks a lot.

    Thread Starter 203X

    (@ryder203)

    And you did it again. The plugin was updated and because of the hotlink protection the content on my other domains using the same webspace is now unavailable. So tomorrow I’ll have to edit my htaccess again. I’ll look for other security plugins now. Lately your product causes more and more problems. I always have to fix stuff after you update AIO WPS.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hotlink prevention causing trouble’ is closed to new replies.