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
  • Views 532
  • 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 me: I'm Paul, a SQSP user for over 18 yrs and a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji below. Buying a coffee is optional.

Book paid help with domains: Connect a GoDaddy domain. Connect a Squarespace Domain. Domain assistance

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:

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

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.