bkeithley Posted January 27, 2023 Share Posted January 27, 2023 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, 2023 Share Posted January 27, 2023 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've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥. Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links. Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional. Link to comment
SubhanVahora Posted March 11, 2023 Share Posted March 11, 2023 @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