Title: Hotlinking doesn&#8217;t work
Last modified: February 19, 2023

---

# Hotlinking doesn’t work

 *  Resolved [enea2883](https://wordpress.org/support/users/enea2883/)
 * (@enea2883)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/hotlinking-doesnt-work/)
 * 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](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
 *     ```wp-block-code
       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 OnRewriteCond %{HTTPS} offRewriteRule ^(.*)$ 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhotlinking-doesnt-work%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Support [hjogiupdraftplus](https://wordpress.org/support/users/hjogiupdraftplus/)
 * (@hjogiupdraftplus)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/hotlinking-doesnt-work/#post-16487455)
 * Hi [@enea2883](https://wordpress.org/support/users/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
 *     ```wp-block-code
       #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.

 * ![](https://ps.w.org/all-in-one-wp-security-and-firewall/assets/icon-256x256.
   png?rev=2798307)
 * [All-In-One Security (AIOS) – Security and Firewall](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/reviews/)

## Tags

 * [Hotlinking](https://wordpress.org/support/topic-tag/hotlinking/)

 * 1 reply
 * 2 participants
 * Last reply from: [hjogiupdraftplus](https://wordpress.org/support/users/hjogiupdraftplus/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/hotlinking-doesnt-work/#post-16487455)
 * Status: resolved