Add expires header
Fix redirect to pages with query string parameters