I
I
Ily4farmer2021-09-30 12:40:59
React
Ily4farmer, 2021-09-30 12:40:59

React how to make the product card persist after reload and be visible to search engines?

I am writing a site on React, I have the following task:
When you click on a card, another page should open and the data on it should be saved after the page is reloaded + it should be seen by the search robot in Google.

Here is an example of a site: https://www.moskvaonline.ru/
Here is a link, the data on which is saved after reloading the page and is seen by the search robot https://www.moskvaonline.ru/rates?house_id=3028196

How to implement this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Egor Zhivagin, 2021-09-30
@Krasnodar_etc

Such data is stored in the database through the backend, it is impossible to save the data on the front so that the search robot can see it
Actually, the answer is: transfer the data to the database, write the backend, and from the front, just make a request to the back when opening the page

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question