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

If anyone know, please let me know

อวตาร
ละทิ้ง

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.

คำตอบที่ดีที่สุด

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


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

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

Thanks

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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


อวตาร
ละทิ้ง