Jump to content

Subdomain Case Sensitivity

Recommended Posts

Within Squarespace, I have established a subdomain to forward to an external website for my podcast with host name "listen." So, as far as I understand, listen.website.com and website.com/listen should take you to the external site. Which it does. My problem is I would also like LISTEN (all caps) to take you to the same place, and establishing a similar subdomain for host LISTEN does not seem to do the job -- i.e. it takes you to 404 page not found.

How do I cover all my case-sensitive bases for my subdomain?

website.com/listen and website.com/LISTEN and website.com/Listen should all take people to the same place.

Thanks for any info! 

Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

3 hours ago, bkeithley said:

website.com/listen and website.com/LISTEN and website.com/Listen should all take people to the same place.

It's difficult to troubleshoot a specific issue without the real details. That said, I can tell you that the URL slug (the part after the domain name) is always case sensitive and, on Squarespace, you can only have lowercase slugs.

Did this help? Please give feedback by clicking an icon below  ⬇️

About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.
If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too.

Link to comment
  • 1 month later...

@paul2009 Is there any way to make the url redirects case insensitive through squarespace features?


I'm currently using this code in the header:

var lowercasePath = window.location.pathname.toLowerCase();
if (window.location.pathname !== lowercasePath) {
  window.location.replace(window.location.protocol + "//" + window.location.host + lowercasePath + window.location.search);

But now the problem is my redirect links are randomly disappearing or are not added correctly.

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.