Adds rewrite rules and robot no-index for secure URLS.