Given Joomla. The material (article) on the main one, the load of another module that creates virtual cities is inserted into the code of the article via the shortcode .... matryoshka I can’t remove from indexing subdomains made for different prices in different cities. Addresses - subdomain.site.ru, subdomain 2. site.ru, ... subdomain100.say.ru. How do I remove from indexing ALL sites-subdomains. They are virtual, there are no folders with cities on the hosting, everything is created through one module, I can’t also register meta tags, since one database and everything I write applies to the main site. Google, but did not find a direct answer, except as - Quote:

RewriteCond% {HTTP_USER_AGENT} ^. google. [NC]
RewriteCond% {HTTP_USER_AGENT} ^. yandex. [NC] RewriteCond% {HTTP_HOST} ^ ([a-z0-9 -] +). Site.ru. $ [NC]
RewriteCond% {HTTP_HOST}! Www.site.ru. $ [NC]
RewriteRule ^. * $ - [F]

but he did not help.

Redirect is not needed, subdomains remain, but you need to remove from the search.

I thought of other options - I will also be helped by the prohibition of indexation of the paragraph of the text of the article or the prohibition of the indexation of a specific module. How can this ban be correctly made for search engines?

  • you need to register robots.txt for indexing in each subdomain - L. Vadim
  • @ L.Vadim "... They (the domains) are virtual, there are no folders with cities on the hosting ..." only one robots.txt and one database - Lita Litar
  • you can then do this <meta name="robots" content="noindex"> - L. Vadim
  • Again, no, the meta tag will make it non-indexable and the subdomain page will be a subdomain1.say.ru / game and the main page itself - site.ru / a game. - Lita Litar
  • I read the description to "<meta name =" robots "content =" noindex ">" - the robot should neither index the document nor analyze the links on it. And you can index the document but do not analyze the links on it? - Lita Litar

0