Jump to content

URL Mappings redirect 10 second timeout - normal behavior?

Recommended Posts

Hello, I setup a redirect for my client's website to their Google Calendar booking page:

/book -> google calendar URL

e.g. https://www.5thstreethair.com/book

This works, but I noticed that if I access that link a second time within a few seconds it shows me our site's 404 page. After checking out the request I could see the 301 request sets a "RecentRedirect" cookie with a 10 second expiry, and so any subsequent hits to that mapping within 10 seconds causes that 404 page to show up (presumably because it checks the presence of that cookie).

This is expected behavior, right? The link most likely will be accessed externally from search results or even typed in manually from a business card. The 10 seconds isn't a dealbreaker but it may confuse customers that accidentally run into it. Only other alternative I can think of is create an actual /book page with a line of JavaScript to redirect to the Google Calendar booking page, but that feels a bit hacky compared to a 301.

Edited by velocd
Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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.