Prevent accidents or problems by automatically monitoring your website's .htaccess file.
This page will show an error if an .htaccess file is not present. You can then use a tool like StatusCake or Pingdom to monitor this page's URL and alert you if a desired status phrase string isn't found on the page by the monitor.
eg: Alert me if the string "file exists" is not found. or alert me if the string "does not exist" is found.
- Upload the file htaccess.php to your website's root folder
- Visit the page at [yourwebsite.com]/htaccess.php
This file includes a way to display the live .htaccess file to page visitors. Uncomment lines 47-50 to enable this feature.