K
K
kedrovdanil2019-12-13 17:06:20
Search Engine Optimization
kedrovdanil, 2019-12-13 17:06:20

Is a SPA app inferior to traditional sites in terms of SEO?

I am learning React.js, before that I worked with PHP and Laravel. Somewhere on this forum I read earlier that SPA does not advance in SEO in any way.
I have a dilemma. Should I use a SPA approach to write a large web application, or should I write like a traditional PHP + framework application (or just pure PHP)? Search engine promotion is important to me, and if there is no way to do search engine optimization in a SPA application, then most likely I will end up with the idea of ​​a single-page application.
I would like to hear an objective opinion of knowledgeable people, since I have no experience.

Answer the question

In order to leave comments, you need to log in

8 answer(s)
D
Denis Ineshin, 2019-12-13
@IonDen

All modern frameworks for SPA applications support server rendering of pages.
That is, if you do everything right (with rendering and routing), then SPA applications are no different for search engines from regular sites.

P
Puma Thailand, 2019-12-13
@opium

inferior

M
Maxim Antsiferov, 2019-12-13
@Babayka_od

To solve the problem with SEO, the SSR approach is used, i.e. the application is rendered on the server and ready-made HTML flies to the client, which Google crawlers normally digest. There are already ready-made frameworks for this, such as Next.js and others, so SEO optimization SPAs are not inferior to PHP web applications.

X
xmoonlight, 2019-12-13
@xmoonlight

I tested lib to make sure: do search robots see the pages created by it validly? The result is positive.
Since the syntax is similar, the same pieces of HTML (if desired) can also be inserted into the rendering server via include (), simply by changing the tag a little.
In all other cases, you need to check the tool itself (unless you are using server-side rendering).

X
xfg, 2019-12-14
@xfg

Modern search engines are able to index javascript sites. You can read more about the experiment . SSR and other hacks are no longer required.

H
HtmlNoobik, 2019-12-14
@HtmlNoobik

I accidentally found myself in the topic, I don’t understand SPA, to be honest, but in SEO I moved the most difficult topics to the top 10, including apartments. According to the answers, I just got hooked, validity is far from the most important factor in SEO, often it does not affect the results at all, and site indexing is good, but ranking is also important. The same text hidden in the spoiler is taken into account by the search engine worse.
Sorry if off topic)

A
Alexander Denisov, 2020-12-31
@Grinvind

If you do SPA rendering , then a site with a SPA is no different from a regular one. It's just a matter of rendering costs.

M
Mikhail, 2020-01-24
@m_shkurenko

You need to do the rendering on the server, and when the search robot calls, let it go to the HTML copy of the page. There is a possibility of losing behavioral and link factors, but this is the only way to work. This applies only to Yandex, Google has a virtual browser and it is said to be able to work with such sites. The content on the pages will be ok. Here is a checklist https://seo-impulse.ru/novosti/seo-teksty-kak-ikh-... And then, more or less, something sensible can come out.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question