How to block access to a page with htaccess?

-1

I need to block access to a Page (URL) with htaccess, for example:

link

I want to block via htaccess

    
asked by anonymous 02.07.2018 / 15:10

1 answer

0
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www\.)?site_exemplo.com.br$ [NC]
RewriteRule ^(noticias/como-bloquear-acesso-a-pagina) - [L,F]
    
02.07.2018 / 16:35