only applying www rewrite in production