stephin007 / Cowin-Vaccine-Availablity-Checker

CoWIN Vaccination Tracker, Below is the PRODUCTION LINK this is updated at end of each day. To see any latest Updates, please check the documentation
https://cowinvaccinetracker.forcommunity.tech/
MIT License
27 stars 19 forks source link

SEO #130

Open stephin007 opened 3 years ago

stephin007 commented 3 years ago

How do we add SEO to this Project?

Any ideas are welcome

kunalkumar007 commented 3 years ago

The best solution to have an SEO-friendly website using react is to use Server rendering.

The other Solutions include:-

  1. React Router:- React Router is a library for handling the routing of a React app. Along with it come two important ways of handling routing: HashRouter and BrowserRouter.HashRouter is more backward compatible, and historically, it has not given Google a new URI to index as a new page (or view) for each route. Google seems to be making some improvements in the area of hashtags, indexing some, but they also said not to use HashTags in URLs for pages you want to be indexed by Google. So try not to!
  2. React Helmet:- Most React developers use React Router, but less know about or use React Helmet. This is a library that allows us to set the HTML metadata in the header of any given component.
stephin007 commented 3 years ago

Hey @kunalkumar007 Great suggestions, i personally liked the react helmet one, but Few questions

kunalkumar007 commented 3 years ago

I don't know much about it as I haven't used it before but I would like to refer to this medium article.

stephin007 commented 3 years ago

Sure, @kunalkumar007 thanks so much for the article,will refer it!

Let me know if you want to work on this issue as well.

Thanks