Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
3441 มุมมอง

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.



อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ก.พ. 25
806
1
ม.ค. 24
2337
2
มิ.ย. 23
4937
3
ก.ค. 24
2430
0
ต.ค. 24
874