htaccess blocking a non-existent files/directories?

Posted March 15, 2020 325 views

Hello, do you have idea how can i block that with .htaccess?

I mean or


Like this;

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer


Usually I use the following rule:

RewriteEngine On
RewriteCond %{REQUEST_URI} ^/62626cc
RewriteRule ^(.*)$ - [F,L]

Thus would block the traffic to the /62626cc page.