How to disable HTTP access by .htaccess

Sometimes we need to disabled  HTTP access to make down a website . Today I’m showing how to disable HTTP access by .htaccess

HTTP

Go to file manager and go in to the .htaccess for that account and put:

deny from all

That’s all 🙂 This will effectively make it so no HTTP connections can be made to that website.

If you want to allow them to have access to their website again Then you would go in to the .htaccess and remove the “deny from all” command.

You May Also Like

About the Author: Bipul

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.