Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
3756 Zobrazení

Hello,


we have Odoo 16 community with indexing enabled, robots.txt created with Allow: *, but in the meta tag of the main page is still meta tag


meta name="robots" content="noindex"/>

How to fix this?

Avatar
Zrušit
Autor Nejlepší odpověď

Just for reference, I found the solution. Problem was, that Odoo is internally using http protocol and we had in the Website Settings in the field Domain URL with HTTPS, which was working with the combination of Nginx proxy, but it didn't fit the condition stated here:

https://github.com/odoo/odoo/blob/df3811e745cec7375ae4eba4ac2a82128fa6dab0/addons/website/views/website_templates.xml#L2401


So, when I changed the Domain URL from https://our-domnain.com to the http://our-domain.com, it worked.



Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
úno 25
1042
1
led 24
2719
2
čvn 23
5222
3
čvc 24
2893
0
srp 25
1278