Rewrite rules fail on subdirectories, subdomains, or addon domains

Overview Rewrite rules remap a URL to another location or resource accessible on a web site. These rules are located in .htaccess files. A common┬ásnippet looks similar to: RewriteEngine On RewriteCond %{REQUEST_FILENAME} ! -f RewriteRule ^(.*)$ index.php [QSA, L] When located anywhere else besides the document root of the primary domain name, rewrite rules will…