URL Structure to drop Hash Fragments #969
giliomeejg
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
@nfrgosselin is this something we still need to address? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The current URL structure uses hash fragments, e.g.
https://grant-explorer.gitcoin.co/#/round/1/0xd..
The rationale behind considering an alternative structure:
1). Google Analytics 4 doesn't support Hash Fragments.
MMM is currently looking into a customized solution to solve for this and in the process of testing, however there's concern around creating unnecessary complexity.
2). The impact on SEO
https://developers.google.com/..
As we're hosting via Fleek, routing correctly is somewhat problematic, however I think I've found a solution to this, and propose that we consider changing the URL structure to:
https://grant-explorer.gitcoin.co/round/1/0xd..
A potential solution
In order to implement this via Fleek, we could use IPFS _redirects to effectively setup rewriting rules for the routes we're creating and load the index.html file.
I've done a test, hosted on Fleek for https://nudge.tech/about which seems to work fine.
Related: #2189
Beta Was this translation helpful? Give feedback.
All reactions