Skip to Content
Menu
This question has been flagged
4 Replies
5477 Views

If anyone know, please let me know

Avatar
Discard

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.

Best Answer

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


Avatar
Discard
Best Answer

Hi,

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

Thanks

Avatar
Discard
Best Answer

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


Avatar
Discard