nginx

Password protected access to “/wp-admin” on nginx

Here i found advice how to make wordpress more securely, idea is to protect access to “/wp-admin” by http auth, but “/wp-admin/admin-ajax.php” must stay available for everyone, same is true for some .css files. I spend some time to research solution, it was a bit complicated: location /wp-admin { location ~ /wp-admin/admin-ajax.php$ { # Php […]

Tags: , , ,

Posted in Web related | No Comments »

Forbid access to php into “wp-content”.

I expected in few articles an advice to disable direct access to php scripts into “/wp-content/uploads” i done small research and observed, than .php placed into “/wp-content” and into subdirs was newer directly accessed thru web. So i just completely disabled direct access to php scripts placed into that dir and subdirs. Looks more securely. […]

Tags: , , ,

Posted in Web related | No Comments »


Powered by WordPress. Designed by Försäkra Online.