This is just a little bug.
Say you renamed a site to site1.
As soon as you save the changes, Glitch incorrectly redirects you to https://glitch.com/~site-1
while the project is actually at https://glitch.com/~site1
which returns a 404 error.
I’ve tested this and it seems like it just adds hyphens around all the numbers while redirecting. No idea how it manages to do this, as it doesn’t seem too hard to just redirect to the new site name.
More examples:
Renaming a site 1site incorrectly redirects you to /~1-site
Renaming a site 111111site incorrectly redirects you to /~111111-site
Renaming a site 1site1site1site1site1site1 incorrectly redirects you to /~1-site-1-site-1-site-1-site-1-site-1
I think you get the idea.
Anyway, it’s just a minor inconvenience, but it would be nice if this was fixed. Thanks!
Hi there! Yes, we fixed the redirect issue which showed that the existing camel-case-to-snake-case renaming logic on project pages. The team is aware of this and looking into how to update it to work the way you’re expecting!