How To Block Access To Site And Redirect To Another Page

If you want to block access to your site and redirect to another page you just need to make a new .htaccess file and us the below code.

Change 404.html with the page address/url you want to redirect to.
#default index page
DirectoryIndex 404.html
Sign In or Register to comment.