php - Restrict whole WP site access except few pages -


i want this: block whole site (say abc.com) allow few page abc.com/gamma , abc.com/alfa.

do via .htaccess, @droid said. have replace file.php unique file want allow , add more of them if want so.

order deny,allow deny  <files "file.php">     allow </files> 

Comments

Popular posts from this blog

php - Zend Framework / Skeleton-Application / Composer install issue -

c# - Better 64-bit byte array hash -

python - PyCharm Type error Message -