Portwise hack to disable link rewriting