[Solved] Restrict whole WP site access except few pages [closed]


Do it via .htaccess, as @Droid said. All you have to do is to replace file.php with the unique file you want to allow and add more of them if you want so.

Order deny,allow
Deny from all

<Files "file.php">
    Allow from all
</Files>

1

solved Restrict whole WP site access except few pages [closed]