V
V
VictoriaSh2019-08-26 21:13:16
Yandex
VictoriaSh, 2019-08-26 21:13:16

How to set up correct indexing by Yandex of react site with _escaped_fragment_?

There is a page like example.org/page
Headers in example.org/page
The ajax version of the page has the following (there is no canonical meta tag): Headers in example.org/page?_escaped_fragment_= The static version has a canonical tag with a link to a normal address ( Not entirely sure if it's needed here).
<meta name="fragment" content="!"/>

<link href="https://example.org/page" rel="canonical"/>

1) Yandex has indexed static pages, but for some reason it displays the page address example.org/page# in the search results! . And so on for all pages, although I do not use hash navigation. How can I remove the "#!" and return the addresses in the search engine to a beautiful view? I looked at other sites using _escaped_fragment_, they seem to do the same thing, but "#!" they don't show up in search results.
2) In Ya.Webmaster, in the "Pages in search" section, all pages like example.org/page are deleted and added like example.org/page?_escaped_fragment_=, but marked "non-canonical". Is it normal? As a result, it turns out that the canonical pages are excluded from the search. I'm guessing this isn't too good for the overall evaluation of the site? With interfaces and documentation in Webmaster, of course, there is a problem - it is not clear whether it should be so or not.
3) What to do with the canonical tag? In the end, it is needed not only in order not to confuse the Yandex robot, but also if there are separate pages for different devices, other languages. To sacrifice understandably built indexing rules for Google is somehow strange.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
VictoriaSh, 2020-03-31
@VictoriaSh

I answer myself
In the ajax version of the site, we prescribe, as usual. We do not write the canonical tag. In the static version, we write the canonical tag (the address of the main version is dynamic). At the same time, everything is indexed ok. BUT: if you have configured monitoring of important pages in Webmaster, Yandex will send a notification every few days that the page title has changed to empty, and after a few days back to normal. Yandex support wrote that everything is ok, maybe they have some kind of bug, they promised to check it. "If everything is in order with the titles and descriptions in the search and in the code of the pages, there is no need to worry."
<meta name="fragment" content="!"/>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question