Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
3736 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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.



Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 2 25
1032
1
thg 1 24
2681
2
thg 6 23
5205
3
thg 7 24
2872
0
thg 8 25
1223