Advertisement
arxeiss

WordPress - disable XML-RPC

Aug 22nd, 2017
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1.  
  2. # Disable XML-RPC API
  3. <files xmlrpc.php>
  4. order allow,deny
  5. deny from all
  6. </files>
  7.  
  8.  
  9. # BEGIN WordPress
  10. <IfModule mod_rewrite.c>
  11. RewriteEngine On
  12. RewriteBase /
  13. RewriteRule ^index\.php$ - [L]
  14. RewriteCond %{REQUEST_FILENAME} !-f
  15. RewriteCond %{REQUEST_FILENAME} !-d
  16. RewriteRule . index.php [L]
  17. </IfModule>
  18.  
  19. # END WordPress
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement