Answer the question
In order to leave comments, you need to log in
Will this SPA/SEO without SSR work for search engines?
Let's say there is a blog engine with articles and comments, and we use PHP on the server and Vue / Angular on the client (it doesn't matter what exactly, it is desirable to decouple the server from the client technology (and vice versa)).
For example, on any external request to the site, we issue a launch point for the SPA, mixing in primitive static content, say, at /post/112?commentsPage=3
<head>Тут метаданные конкретной статьи</head>
<body>
<app-root>
<h1>Здесь статья<h1><p>И ее текст с датой, автором и т.д....</p> <a href="/post/113">Следующая статья</a>
<h2>Комментарии</h2>
<p>Здесь комментарии ...</p>
<a href="/post/112?commentsPage=2">Предыдущие комментарии</a>
</app-root>
</body>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question