P
P
PitDan2021-02-04 09:41:47
Search Engine Optimization
PitDan, 2021-02-04 09:41:47

/?add-to-cart= Woocommerce. Yandex indexes how to be?

Good time. Such a question, Yandex indexes /?add-to-cart=7282 in robots everything is closed.
======================
Disallow: /cart/
Disallow: /checkout/
Disallow: /*add-to-cart=*
====== =================
It didn't index a single product normally, everything was added to the cart. /?add-to-cart=

Answer the question

In order to leave comments, you need to log in

5 answer(s)
G
Georgy Eremeev, 2021-02-04
@PitDan

Try Clean Param

V
Viktor Batienko, 2021-03-25
@xaker01

Disallow: ?add-to-cart=* this option, and also insert on buttons in noindex layout 2 method 100% works

M
Maxim Timofeev, 2017-08-09
@BadassRolf

There are several options:
1. a typo. somewhere a Russian symbol instead of English
2. You have Debian, and he ... I met similar tricks on it with the namespace of the models folder, I solved it by renaming the folder and changing the namespace everywhere. I did not understand the reason, but I dug up a bunch of the same problems on Debian. Why models? idk, but there's probably a reason.
3. something you messed up with the config
4. magic of the evil shaitan (but unlikely)

A
Alexander Lysenko, 2017-08-09
@LysenkoSasha

Country is in the Models folder?

A
Andrey Tokmakov, 2017-08-09
@NPC

Try addinguse Yii;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question