IEEE-RVCE/IEEE-RVCE.github.io

SEO

chrisvrose opened this issue · 0 comments

Summary

React does not work well with SEO (Search engine optimization)

Big problem

Process

The process of loading a website traditionally is:

  1. Receive HTML from site. It contains content that needs to be indexed.
  2. Retrieve needed scripts (js) and styling (css).
  3. Execute them.

The process for a React website is:

  1. Receive template html from site. There is no content, only a link to ReactJS
  2. React loads the content and styling and scripts

Why it is broken

There is no HTML content in react pages to be indexed. As a result, search engines that index sites can work poorly with React applications.

Importance

The primary places for any person to find any organization site is from:

  1. Posters
  2. Google
  3. Seeing someone else use it

Solutions

  • SSR (Look at Next.JS)
  • Analyze feasibility of switching away from HashRouter (Stay with traditional React)