The fourth and fifth lines will work if the files actually exist at the URLs given, otherwise you can add rewrites before the final line to catch these requests before they get rewritten to index.php … Hope that helps!