bkeithley Posted January 27 Share Posted January 27 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
paul2009 Posted January 27 Share Posted January 27 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
SubhanVahora Posted March 11 Share Posted March 11 @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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment