A
A
Alexander Koshelev2019-08-18 22:40:58
Node.js
Alexander Koshelev, 2019-08-18 22:40:58

Does building with ejs affect the promotion (indexing) of a site?

Good evening guys, such a question is twofold!
News site, on the main page there are a lot of blocks with news, when you click on each one, you go to this page with a detailed text of the news, etc.
site.ru - the main page
site.ru/news/1
site.ru/news/2
...
site.ru/news/4
It turns out such a site structure with regards to pages with specific news
The site is on node.js and these site pages are generated from one, that is, there is a news page, and its route in the short version is as follows:

router.get('/news/:id', function(req, res) {
  ///////////код
  }).then((idPage) => {
    res.render('news', {
      //передача данных
    });
  });
});

That is, let's say there are 1000 news on the main page, which means there are 1000 pages with specific news, but all these 1000 pages are generated from one and the filling is different using ejs, which inserts its data into each page of the news.
The question is, what will it negatively say when indexing the site or not?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly Pershin, 2019-08-19
@Xandr24

So what's the difference how they are generated, the bot will go into the news and the same page will be generated for him as the user, the only thing that caching would not hurt to implement is because the generation requires additional time.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question