B
B
Boy2017-03-08 20:43:43
Search Engine Optimization
Boy, 2017-03-08 20:43:43

Is robots.txt correct for woocommerce?

Good evening! Products were added to the site a week ago, but since then there has not been a single product in the search results in Yandex and Google. Is robots.txt correct for woocommerce?
User-agent: *
Disallow: /wp-login.php
Disallow: /wp-register.php
Disallow: /feed/
Disallow: /cgi-bin
Disallow: /wp-admin
Disallow: /wp-includes
Disallow: /wp-content /plugins
Disallow: /wp-content/cache
Disallow: /wp-content/themes
Disallow: /trackback
Disallow: */comments
Disallow: /category/*/*
Disallow: */trackback
Disallow: */*/trackback
Disallow: * /*/feed/*/
Disallow: */feed
Disallow: /*?*
Disallow: /?s=
User-agent: Yandex
Disallow: /wp-login.php
Disallow: /wp-register.php
Disallow: /feed/
Disallow: /cgi-bin
Disallow: /wp-admin
Disallow: /wp-includes
Disallow: /wp-content /plugins
Disallow: /wp-content/cache
Disallow: /wp-content/themes
Disallow: /trackback
Disallow: */comments
Disallow: /category/*/*
Disallow: */trackback
Disallow: */*/trackback
Disallow: * /*/feed/*/
Disallow: */feed
Disallow: /*?*
Disallow: /?s=
Host: wisest.ru
Sitemap: https://wisest.ru/sitemap.xml.gz
Sitemap: https:// wisest.ru/sitemap.xml

Answer the question

In order to leave comments, you need to log in

3 answer(s)
W
WP Panda, 2017-03-08
@demavair

https://www.google.com/search?q=site%3Awisest.ru&r... https: //yandex.ua/search/
?text=site%3Awisest.ru&lr ... you under the books, https://search.google.com/structured-data/testing-... but it is necessary under the product, + it would not be bad to indicate the store data in the micro-markup + the breadcrumbs of the correct structure are obligatory
be8b3069db.jpg

V
Vasya Petrov, 2017-03-08
@VasyaPertrov

Is robots.txt correct?

No. robots.txt is not created for WooCommerce or even WordPress. robots.txt is created for a specific site.
Delete it completely. VP will create the correct one. You can use SEO plugins.

D
dampiru, 2021-05-05
@dampiru

Robots.txt must be created for a specific project. Of course, the base rjbjts.txt can only take into account the specifics of the CMS, in particular Worpdress. In this article, I explained everything in detail https://dampi.ru/pravilnyiy-robots-txt-dlya-sayta-... there are a bunch of them and all sorts of different
Read the documentation on directives. You have
Disallow: */*/feed/*/
and
Disallow: */feed
Duplicate each other. The * character is any character or multiple characters.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question