Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
4 Odpowiedzi
5847 Widoki

If anyone know, please let me know

Awatar
Odrzuć

Upload files to Odoo root is bad idea. It is recommended to have a reverse proxy in front of Odoo service.

In this case you can upload your file to an unproxied location on front Web server.

Najlepsza odpowiedź

You can add the file in one of your custom addons and create a controller to route it to be accessible as domain.com/xyz.html

Instead of that you can go for another easy method of verification using the alternative method of adding a DNS record in the DNS section of the domain. 

Thanks,


iWesabe


Awatar
Odrzuć
Najlepsza odpowiedź

Hi,

See this official documentation:  How to track your website traffic from your Odoo Dashboard

Thanks

Awatar
Odrzuć
Najlepsza odpowiedź

It was a very old way for site verification by Google.
but now google provide a way to verify site using DNS Record you have to create one TEXT record (provided by google console) using domain provider console/interface 
https://search.google.com/search-console/welcome?hl=en
Anyway, If you want to verify using HTML file upload. when you generating  HTML file from google search console enter url with a static prefix of module  
https://yoursite.com/web/static (if you want to put HTML file in custom module provide its name instead of /web/) and paste your file in /static directory of the module


Awatar
Odrzuć