I have found multiple error of Alternate page with proper canonical tag in search console. So how to disallow those query parameters in robots.txt file
Error on these pages:
https://example.com/es/ads/car/maruti?with_media=1&page=1
I want to added 1 directives from both below mentioned so which one whould be best so that we can’t find any issues in my search console:
1—————
Disallow: /?with_media=
Disallow: /&page=
or
2———-
Disallow: /?with_media=&page=*
Or
If you have other better ideas for this then please let me know
Avjot Thakur is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.