How to exclude a specific file from a rewriterule

To exclude a file, try something like this:

RewriteCond %{REQUEST_URI} !^/pureplantessentials\.html$ 

The rule will be skipped if the file is pureplantessentials.html.

Leave a Comment