تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
5315 أدوات العرض

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.

المنشورات ذات الصلة الردود أدوات العرض النشاط
0
مارس 23
1694
1
مارس 15
3545
5
أغسطس 25
9766
2
يوليو 25
933
4
يونيو 25
1049