Adding 301 status to code to primary domain redirect