Skip to content
This repository has been archived by the owner on Nov 2, 2021. It is now read-only.

Fix links like https://www.covid19india.org/faqs #65

Closed
JunaidBabu opened this issue Mar 24, 2020 · 5 comments · Fixed by #72
Closed

Fix links like https://www.covid19india.org/faqs #65

JunaidBabu opened this issue Mar 24, 2020 · 5 comments · Fixed by #72
Assignees

Comments

@JunaidBabu
Copy link
Member

Links do not work when they are opened directly. Need to design a better way of routing.

Maybe something like
https://www.covid19india.org/?faqs or https://www.covid19india.org/?page=faqs etc

@JunaidBabu JunaidBabu added this to Needs triage in Website main via automation Mar 24, 2020
@JunaidBabu JunaidBabu moved this from Needs triage to High priority in Website main Mar 24, 2020
@Abiram-N
Copy link

exact path need to be removed in other routes

Annotation

@sirajalam049
Copy link

Handling at server-side needed. It is very common problem in SPAs.

https://stackoverflow.com/questions/27928372/react-router-urls-dont-work-when-refreshing-or-writing-manually

@sirajalam049
Copy link

No @Abiram-N no, this isn't exact path problem.

@SahajR
Copy link

SahajR commented Mar 24, 2020

Yup. Some static deployment services like Netlify and Zeit allow this via an extra file for configuration.
Netlify has the _redirects file and zeit uses this

@SahajR
Copy link

SahajR commented Mar 24, 2020

Why not move the deployment to Netlify? A CD can be setup from their service dashboard

KrishnaPravin added a commit to KrishnaPravin/covid19india-react that referenced this issue Mar 25, 2020
Website main automation moved this from High priority to Closed Mar 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
No open projects
Website main
  
Closed
Development

Successfully merging a pull request may close this issue.

5 participants