TEXT 28
WP block author query By micha on 6th December 2018 12:07:17 PM
  1. // full part
  2.  
  3.  
  4. RewriteEngine On
  5. RewriteBase /
  6. RewriteCond %{QUERY_STRING} (author=\d+) [NC]
  7. RewriteRule .* - [F]
  8.  
  9.  
  10. // section part to extend the WP block
  11.  
  12. <IfModule mod_rewrite.c>
  13. ...
  14. RewriteCond %{QUERY_STRING} (author=\d+) [NC]
  15. RewriteRule .* - [F]
  16. </IfModule>

Paste is for source code and general debugging text.

Login or Register to edit, delete and keep track of your pastes and more.

Raw Paste

Login or Register to edit or fork this paste. It's free.