Options All -Indexes RewriteEngine On RewriteRule ^acceso$ https://www.url.com/wp-login.php [NC,L] # Block WordPress xmlrpc.php requests <Files xmlrpc.php> order deny,allow deny from all </Files>