跳至內容
選單
此問題已被標幟
1 回覆
3692 瀏覽次數

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?

頭像
捨棄
作者 最佳答案

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.



頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
2月 25
1004
1
1月 24
2656
2
6月 23
5186
3
7月 24
2817
0
10月 24
1141