test baseurl for redir