Jump to content

Redirect wildcards

Recommended Posts


We're changing our current web application to have a squarespace landing page, so that where we used to have "example.com", this will now be "app.example.com", and "example.com" will point to sqaurespace.

This is easy enough, however we need to allow for redirects for a lot of endpoints with wildcards.

What is the simplest way to have it redirect everything other than pages we have on square space? Failing that, what's the simplest way of having eg "example.com/page?123" and "example.com/page/321/something" to their "app.example.com" equivilient?

I've seen I can add header code into pages, but I believe this means I'd need to create every wildcard endpoint and add in a JS redirection for each of these?


Link to comment
  • Replies 0
  • Views 1.3k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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.