Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.75 KB | None | 0 0
  1. #begin wordpress
  2. <IfModule mod_rewrite.c>
  3.     RewriteEngine On
  4.     RewriteBase /
  5.     RewriteRule ^index\.php$ - [L]
  6.     RewriteCond %{REQUEST_FILENAME} !-f
  7.     RewriteCond %{REQUEST_FILENAME} !-d
  8.     RewriteRule . /index.php [L]
  9. #</IfModule>
  10. ### PROTEZIONE HOTLINK ###
  11. #<IfModule mod_rewrite.c>
  12.     RewriteEngine on
  13.     RewriteCond %{HTTP_REFERER}     !^$
  14.     RewriteCond %{REQUEST_FILENAME} -f
  15.     RewriteCond %{REQUEST_FILENAME} \.(gif|jpe?g?|png)$ [NC]
  16.     RewriteCond %{HTTP_REFERER}     !^https?://([^.]+\.)?dominio\. [NC]
  17.     RewriteRule \.(gif|jpe?g?|png)$ - [F,NC,L]
  18. </ifModule>
  19. # END WordPress
  20. Options All -Indexes
  21. #Options -Indexes
  22. # BEGIN block author scans
  23. RewriteCond %{QUERY_STRING} (author=\d+) [NC]
  24. RewriteRule .* - [F]
  25. # END block author scans
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement