only hijack links if pathname != '/'