A
A
Aidar Khayatov2020-02-06 21:12:39
JavaScript
Aidar Khayatov, 2020-02-06 21:12:39

How to separate the frontend in a project with an emphasis on SEO?

Good afternoon!

There is an information site - with a lot of pages and information. SEO promotion is the main task - therefore SPA cannot be applied.

At the moment, the site is written in ASP, in the view it collects HTML itself and gives it to the browser.
JS is simply connected as separate scripts to control various functionality.

Are there any modern ways to transfer template assembly to JS without losing SEO - and if not, how to properly separate frontend development from backend in this case?

Thank you!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Sviridov, 2020-02-06
@Haiatov

SEO promotion is the main task - therefore SPA cannot be applied.

An odd statement, given that SPA sites can be rendered on the server for initial loading without too much trouble. For search engines, such a site will be no different from any other. If the SPA is on React, then NextJS solves all such problems . Here is an example site on NextJS. For other frameworks, there are also ready-made solutions for SSR (server side rendering).
SPA + SSR completely solves your problem.

V
Vladimir Korotenko, 2020-02-06
@firedragon

Yes, in general, no. There is a more difficult way. An adaptive evolution of your full page, to which java scripts add interactivity and completely replace server-side logic.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question