Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
moved #467240: Yandex search engine verification
This file(7138000bbe222222.html) should only return code from the test file (for example):
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>Verification: 7138000bbe222222</body>
</html>
Drupal(Site verification) should be show only this file without theming!
But I see the text verification in the $ content variable my theme :(.
Comment | File | Size | Author |
---|---|---|---|
#6 | site_verify-incorrect_work_for_yandex-1184714-6.patch | 478 bytes | jenlampton |
#4 | interdiff_3-4.txt | 786 bytes | Chris Matthews |
#4 | site_verify-incorrect_work_for_yandex-1184714-3-7x.patch | 466 bytes | Chris Matthews |
Comments
Comment #1
trumanru CreditAttribution: trumanru commentedYou should use exact content of the uploaded file for Yandex verification.
https://yandex.com/support/domain/confirm-domain.xml
Comment #3
imyaro CreditAttribution: imyaro at DrupalJedi commentedThis one will fix it if you have met the problem like me (no content appeared for yandex after the file upload), empty site verify page instead of it.
Comment #4
Chris Matthews CreditAttribution: Chris Matthews commentedThe patch in #2 would not apply so here is a new patch with interdiff.txt
Comment #5
Chris Matthews CreditAttribution: Chris Matthews commentedI just remembered I could have used:
patch -p2 < site_verify-incorrect_work_for_yandex-1184714-2-7x.patch
Comment #6
jenlamptonPatch worked for me. Rerolled for easier patch apply.