rewrite opportunities deep linking