M
M
m4son2018-07-04 15:37:24
Search Engine Optimization
m4son, 2018-07-04 15:37:24

Why doesn't Yandex index the title?

There are two files: header.php and index.php Header
file:
<title><? echo $title;?></title>
Index file:

<?php
    $title = "Мой тайтл";
    include( "{$_SERVER['DOCUMENT_ROOT']}/header.php");
?>

If you open the page code, then the title is there. But Yandex does not index it. What could be the problem ?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Burov, 2018-07-04
@m4son

https://webmaster.yandex.ru/tools/server-response/
Maybe you have invalid HTML?

P
Petr Lyakh, 2018-07-05
@windakolit

The title of the snippet in Yandex is not always taken from the html title of the title page and it is query dependent. What is now displayed in the search results instead of the title?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question