0

我想要一个带有登录页面的 Tumblr,该页面重定向到我创建的页面。

我设法用这段代码做到了这一点:

<script type="text/javascript">
if(location.href == 'https://example.tumblr.com/') location.replace('https://example.tumblr.com/landing');;
</script>

但是通过使用这种方法,我的 Tumblr 头版获得了页面路径名 (example.tumblr.com/landing),而不是原始 URL (example.tumblr.com)。

有没有办法使用原始 Tumblr URL 重定向到着陆页?

4

0 回答 0