get rid of domain name from links and redirects