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

A small concern for access to my websites. 


If I type in the address this format www.adressedusite.fr, jarrive on the good website, everything is ok.
But on the other hand, if I type amidusite.fr without the www, I come across the first website I get this result on the other website. 

I forgot a configuration? Is this a known problem?

อวตาร
ละทิ้ง

If you are using same config to redirect all domains to Odoo then it will work as you described as in Odoo you can set only one website address per page.

The easiest solution would be to set redirects in nginx adressedusite.fr ->www.adressedusite.fr

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

You should use a proper reverse proxy server, such as nginx, Apache or others. The easiest to setup and configure in my opinion is Caddy Server, www.caddyserver.com. 

อวตาร
ละทิ้ง
ผู้เขียน

yes effectively, I use Nginx with a Reverse Proxy. Where is the error?

ผู้เขียน

no configuration to do more in odoo? do you have a complete tutorial on the subject?

Use Google, there are some good tutorials around for setting up Odoo with nginx (and others). According to Google's recommendation for SEO best practices, you should permanently redirect domain.com to www.domain.com anyway.

Related Posts ตอบกลับ มุมมอง กิจกรรม
0
มี.ค. 23
1761
1
มี.ค. 15
3560
2
ส.ค. 25
411
5
ส.ค. 25
9966
Carrusel en sitios web แก้ไขแล้ว
2
ก.ค. 25
1026