Known Issues: On High Sierra there are problems related to the screen brightness and sleep issues.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#place above all other rewrite rules if using a cms or program that redirects all request to index.php file (e.g. WordPress, Drupal, Laravel, etc...) | |
#if a file or directory does not exist on the local host, 302 redirect the request to the production host so the browser doesn't cache the file in case you replace the file locally | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
#Redirect WordPress uploads | |
#Prevent infinite redirect. Only apply this if not on any subdomains of the live domain. Comment out line if not needed | |
RewriteCond %{HTTP_HOST} !^(.*)example\.com | |
#Prevent infinite redirect. Only apply this if not on the root domain of the live domain. Uncomment line if needed | |
#RewriteCond %{HTTP_HOST} !^example\.com [NC] | |
#Prevent infinite redirect. Only apply this if not on the www version of the exact domain of the live domain. Uncomment line if needed |