Restrict access to back office

How can I limit access to the WordPress back-office, for example to start a website migration? Add this code to your .htaccess file to┬áblock all … [+]