Skip to main content

Hey there, quick question about redirecting a custom page URL.

 

We created a custom page a while back that’s not so relevant anymore. We’ve included a hyperlink to the custom page in some external materials including downloadable pdfs. Now we’d like the link to go to a newly created landing page.

 

Is there any way to force a redirect of a custom page’s URL to a different URL?

Many thanks for any ideas!

Yep. You can do that pretty easily by inserting a third party script in the <Head> section. 

<script>
if (window.location.href == 'old URL') {
window.location.replace('new URL');
}
</script>

 


Amazing, thank you @DannyPancratz 😎


Reply