When using the Glitch Button, the URLs that it generates for the
Remix on Glitch and
View Source buttons are incorrect.
On landscape-with-trees, those URLs are:
These URLs lead to 404 pages. Notice that the path component of the URL appears after the query parameters. The correct links should be:
Both of those URLs with the query params before the #! do not send me to a 404 page.
It’s correct for us to have those query params before the hash fragment, it’s the URI standard and we’ve seen remix links being broken when we had params after the hash fragment otherwise.
By the way, I had only tested your app’s button, and the links you copied in your thread here, on Chrome. I also just tried it on Firefox and didn’t see any 404s there either.
(It’s probably not even a problem for us to remove those query params anyway since we don’t use the button anymore, so I’ll look into that…but that doesn’t solve why those pages are 404’ing for you!)
Interesting that it’s putting the url parameters before that last
/ before the hash
https://glitch.com/edit / #!/x-x-x
It adds a bunch of
?x=y&... at location 1, but as Jenn points out as the correct place “before the hash fragment” should be location 2.
https://glitch.com/edit#!/landscape-with-trees without that slash seems to redirect fine though