if style.css is asked for I must send to begin the next files, whether it is available. 1. style.css.php 2. style.min.css 3. style.css I am talking about if style.css.php is available it will likely be sent. otherwise, style.min.css is going to be sent. if third and fourth file doesn't is available style.css is going to be sent. I've attempted several htaccess files and finish track of redirecting request to some php file to choose the files. However I think that this is often completed in .htaccess file.