Jump to content

Is there a way to make a Squarespace URL redirect to another site?

Go to solution Solved by creedon,

Recommended Posts

(I've been browsing some of the other redirect-related topics and it doesn't seem like they're quite what I'm looking for)

On my website, I have a link in my top navigation that users can click and be redirected to my newsletter signup form (there's also a newsletter signup pop-up that appears about halfway down the home page, but the link is available as well).

Instead of telling people to go to my site and look for the link or the pop-up if they want to subscribe to my newsletter, what I'd love to be able to do is create a URL associated with my site (e.g. www.ejfisch.com/newsletter) that doesn't connect to any existing site page but instead redirects to my MailChimp form URL. Is this possible?

The way I've got it set up now with the navigation link and the pop-up isn't bad, per se, but it seems like it would be easier to say "just go to EJ Fisch dot com slash newsletter" rather than have to explain the extra steps.

I'm an indie science fiction author using Squarespace as my website platform.

Link to comment

Update the code below with the correct link and inject it into the header of the page you want to forward. Keep in mind this will auto-forward you even in edit mode from your Squarespace dashboard, so do this step last.

    window.location.href = 'https://YOURLINK';
    }, 5000);

And that reminds me I need to update my own author page.

Link to comment
  • 2 weeks later...

Thanks @creedon! That worked great. I had looked at that URL Redirects tutorial page previously but had been misinterpreting it and didn't think it applied to my issue, but it was exactly what I needed.

I'm an indie science fiction author using Squarespace as my website platform.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.