enabled rewrite mode for cleaner urls