How to set your site into Service Temporarily Unavailable (503)

Site Maintenance

Wondering how to set your site into maintenance mode or 503 Service Temporarily Unavailable? Because your client didn’t pay you for the month or you need to access your site alone or you want to temporary close your site.

Well here is a simple code where you can add in your .htaccess so no one can access your site.

Create a 503.php file and add it on your FTP, put some custom message you want your visitor to see.