I want to have a Tumblr with a landing page that redirects to a page I created.
- Tumblr URL: https://example.tumblr.com
- Page URL: https://example.tumblr.com/landing
I managed to to that with this code:
<script type="text/javascript">
if(location.href == 'https://example.tumblr.com/') location.replace('https://example.tumblr.com/landing');;
</script>
But by using this method my Tumblr frontpage gets the page pathname (example.tumblr.com/landing), instead of the orginal URL (example.tumblr.com).
Is there a way to redirect to the landing page but with the original Tumblr URL?