Answer the question
In order to leave comments, you need to log in
How to put meta name="robots" on technical domain address?
The site is available at the address of the technical domain http://43346.domain.ru. It is necessary to insert a meta tag on all its pages.
Or how can you display this label in the head script, for a specific address?
Answer the question
In order to leave comments, you need to log in
<?php
if ($_SERVER['SERVER_NAME'] === '43346.домен.ru') {
echo '<meta name="robots">';
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question