diff --git a/.htaccess b/.htaccess index 246c03b..10563d5 100644 --- a/.htaccess +++ b/.htaccess @@ -42,17 +42,6 @@ RewriteRule ^([^/]+)/$ index.php?page=$1 [L,QSA] ExpiresByType application/font-woff2 "access plus 1 year" -# Prevent hotlinking (allow empty referrers and local/dev environments) - - # Allow empty referrers (direct requests, private browsing) - # Allow stellaamor.com, local dev, and localhost - RewriteCond %{HTTP_REFERER} !^https?://(www\.)?stellaamor\.com/ [NC] - RewriteCond %{HTTP_REFERER} !^http?://stellaamor\.local [NC] - RewriteCond %{HTTP_REFERER} !^http?://127\.0\.0\.1 [NC] - RewriteCond %{HTTP_REFERER} !^http?://localhost [NC] - RewriteRule \.(jpg|jpeg|png|gif|svg|webp|css|js|woff|woff2)$ - [NC,F,L] - - # Security headers Header set X-Content-Type-Options "nosniff"