Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
1452 Vistas

We made some products unpublished in product master.The products are not showing in website shop.But while we search using some search engines like google, we can able to get the products in search result.How to restrict the unpublished products in  search. 

Avatar
Descartar
Mejor respuesta

Hi,

You can configure your Odoo website's robots.txt file to disallow search engines from indexing any unpublished products.

To do this,

Go to: Configurations → Settings → Robots.txt → Edit robots.txt

Add the following code to the file:

User-agent: *
Disallow: /shop/product/unpublished

Regards

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
jul 24
1819
0
abr 16
3114
1
mar 15
1012
4
feb 25
15011
0
nov 24
1118