Jump to content

Forward www to root domain (this is driving me crazy)

Recommended Posts

Hi Folks,

I want www.mod72.com to automatically redirect to mod72.com in a consistent sensible way (i.e. with SSL). mod72.com already points at a Firebase Hosting site. I have tried every suggested combination (Domain Forwarding rule under website, CName record). What am I doing wrong, please? My domain moved from Google so there are a bunch of records. I don't use any service (email, O365, GWorkspace etc.). See attached. Please help before I go totally bald.

Screenshot 2024-05-17 at 10.09.26.png

Screenshot 2024-05-17 at 10.10.10.png

Screenshot 2024-05-17 at 10.10.21.png

Link to comment

Same EXACT issue. What is happening here? How can such a basic functionality not be supported on SquareSpace. We were victims of the Google Domains acquisition, and I don't understand how this is possible.

Additionally, "Forward all paths" for a domain redirect refuses to work. When switching and clicking save, it instantly reverts back. This is core, critical functionality for a domain registrar, really basic stuff. 

No response from support and all our redirects are non-functional. 

Link to comment

Hi, I got around this by looking at the network request sent when creating a redirect for a random subdomain, and manually sending the request with a modified JSON body with cURL. See this example:

curl 'https://account.squarespace.com/api/account/1/domains/xxxxxxxxxxxxxxxxx/forwarding-presets' \
  -H 'accept: application/json, text/plain, */*' \
  -H 'accept-language: en-US,en;q=0.9' \
  -H 'content-type: application/json' \
  -H 'cookie: xxxxxxxxxxxxxxxxxxxxxxxxxxx' \
  -H 'origin: https://account.squarespace.com' \
  -H 'referer: https://account.squarespace.com/domains/managed/xxxxxxxxxxxxxx/website' \
  -H 'x-csrf-token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxx' \
  --data-raw '[{"templateId":"SQUARESPACE_SUBDOMAIN_FORWARDING","subdomain":"www","forwardingUrl":"http://your_url_here.com","temporaryRedirect":false,"pathForwardingEnabled":true,"sslEnabled":true}]'


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.