Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #begin wordpress
- <IfModule mod_rewrite.c>
- RewriteEngine On
- RewriteBase /
- RewriteRule ^index\.php$ - [L]
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule . /index.php [L]
- #</IfModule>
- ### PROTEZIONE HOTLINK ###
- #<IfModule mod_rewrite.c>
- RewriteEngine on
- RewriteCond %{HTTP_REFERER} !^$
- RewriteCond %{REQUEST_FILENAME} -f
- RewriteCond %{REQUEST_FILENAME} \.(gif|jpe?g?|png)$ [NC]
- RewriteCond %{HTTP_REFERER} !^https?://([^.]+\.)?dominio\. [NC]
- RewriteRule \.(gif|jpe?g?|png)$ - [F,NC,L]
- </ifModule>
- # END WordPress
- Options All -Indexes
- #Options -Indexes
- # BEGIN block author scans
- RewriteCond %{QUERY_STRING} (author=\d+) [NC]
- RewriteRule .* - [F]
- # END block author scans
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement