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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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.
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
RegistratiPost correlati | Risposte | Visualizzazioni | Attività | |
---|---|---|---|---|
|
1
feb 25
|
969 | ||
|
1
gen 24
|
2634 | ||
|
2
giu 23
|
5153 | ||
|
3
lug 24
|
2792 | ||
|
0
ott 24
|
1109 |