• Resolved enea2883

    (@enea2883)


    Hi there,

    I have downloaded the plugin and activated, but it doesn’t work checking thru this hotlink checker website : https://altlab.com/hotlinkchecker.php

    I have follewd some other topics before to contact you and I have also modify the HTaccess on my host provider Siteground with no luck.

    I have attached below a snapshot of the HTACCESS:

    My website is bottega1900.com.au

    BEGIN All In One WP Security
    
    AIOWPS_PREVENT_IMAGE_HOTLINKS_START
    
    RewriteEngine On RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{REQUEST_FILENAME} -f RewriteCond %{REQUEST_FILENAME} .(gif|jpe?g?|png)$ [NC] RewriteCond %{HTTP_REFERER} !^http(s)?://(.*)?.bottega1900.com.au [NC] RewriteRule .(gif|jpe?g?|png)$ - [F,NC,L]
    
    AIOWPS_PREVENT_IMAGE_HOTLINKS_END
    
    END All In One WP Security
    
    SetEnvIf Request_URI "index.php" DynamicTimeout=300 SetEnvIf Request_URI "wp-admin/themes.php" DynamicTimeout=300 SetEnvIf Request_URI "wp-admin/admin-ajax.php" DynamicTimeout=300 SetEnvIf Request_URI "wp-admin/admin.php" DynamicTimeout=300
    
    HTTPS forced by SG-Optimizer
    
    RewriteEngine On RewriteCond %{HTTP_HOST} !^www. [NC] RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301] RewriteCond %{HTTP:X-Forwarded-Proto} !https RewriteCond %{HTTPS} off RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    
    END HTTPS
    
    Header always set Content-Security-Policy: upgrade-insecure-requests
    
    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] BEGIN WordPress The directives (lines) between "BEGIN WordPress" and "END WordPress" are dynamically generated, and should only be modified via WordPress filters. Any changes to the directives between these markers will be overwritten. RewriteEngine On RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] END WordPress SGO Unset Vary Header unset Vary SGO Unset Vary END

    Please let me know your thoughts.

    Regards

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

Viewing 1 replies (of 1 total)
  • Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @enea2883

    If I cross check here image hot link works in my sites. If I cross check your .htaccess code it seems it not have slash before . etc.

    Can you please cross check your .htaccess code is ok? new line and backslash before . should be proper

    #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)$ [NC]
    RewriteCond %{HTTP_REFERER} !^http(s)?://(.*)?\.bottega1900.\com\.au [NC]
    RewriteRule \.(gif|jpe?g?|png)$ - [F,NC,L]
    </IfModule>
    #AIOWPS_PREVENT_IMAGE_HOTLINKS_END
Viewing 1 replies (of 1 total)
  • The topic ‘Hotlinking doesn’t work’ is closed to new replies.