W
W
wordp12022-01-04 20:29:26
Search Engine Optimization
wordp1, 2022-01-04 20:29:26

How is robots.txt correct?

Disallow: /wp-admin
Disallow: /wp-includes
Disallow: /wp-comments
Disallow: /wp-content/plugins
Disallow: /wp-content/themes
Disallow: /wp-content/cache
Disallow: /wp-login.php
Disallow: /wp-register.php
Disallow: */trackback
Disallow: */feed
Disallow: /cgi-bin
Disallow: /tmp/
Disallow: *?s=

User-agent: *
Disallow: /wp-admin
Disallow: /wp -includes
Disallow: /wp-comments
Disallow: /wp-content/plugins
Disallow: /wp-content/themes
Disallow: /wp-content/cache
Disallow: /wp-login.php
Disallow: /wp-register.php
Disallow: */trackback
Disallow: */feed
Disallow: /cgi-bin
Disallow: /tmp/
Disallow: *?s=

Host: https://kkulinar.com/
Sitemap: https://kkulinar.com/sitemap.xml
Sitemap: kkulinar.com /ru/sitemap_index.xml
Host: kkulinar.com/ru
Sitemap: kkulinar.com/ru/sitemap.xml
Sitemap: kkulinar.com/ru/sitemap_index.xml
Host: kkulinar.com/en
Sitemap: kkulinar.com/en/ sitemap.xml
Sitemap: https://kkulinar.com/en/sitemap_index.xml correct?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Masha, 2022-01-11
@marusseo

No.

  • There is no User-agent directive before the rule.
  • Several Hosts (one main site mirror should be specified here, with https). It can be removed altogether, because. Yandex abandoned it back in 2018.
  • Sitemap is specified with https.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question