4 答案
Hi Michel,
The web.base.url works by design like this. Everytime a user logs into your Odoo instance Odoo will check if the web.base.url that is already saved is identical to the URL that the user logged in from. If this is the case it is kept, if this is not the case it will be updated. This might get confusing when you have your Odoo instance available on two URL's, for example url1.com and url2.com. If somebody logs on from url2.com the web.base.url will be saved as "url2.com". The same will also happen when you access the Odoo by IP. In this case the web.base.url will be saved with the value from your IP.
There are two possible solutions. EIther you make sure the Odoo is only accessible through that one URL you want (so yourwebsite.com) or you make sure Odoo does not change the web.base.url. You can make sure that this does not happen by adding a new parameter "web.base.url.freeze" with the value "True". An example:
The web.base.url.freeze will say to Odoo that the value cannot be changed/update when somebody logs on from another location. It will keep the value that you've set in web.base.url.
Regards,
Yenthe
when i enter my domain name www.simpleenergytech.com installed ecommerce home page is not viewing
Viewing Home Shop Contact Us --- and when i click on Shop then showing as a ecommerce website. except this all when i enter my domain name showing directly Ecommerce website like flipkart or amazon. HOW I CAN OD THIS
Hi Yenthe,
Thank you for the reply. I'm having another issue now, everything was working fine yesterday evening and now I can't log into the localhost:****/web/login. I never changed my password and the email is verified.
There's also no option for me to reset the password on the login page. Is there a way to send me a link to my verified email so that I can restore access to the account?
Thank you
The web.base.url works by design like this. Everytime a user logs into your Odoo instance Odoo will check if the web.base.url that is already saved is identical to the URL that the user logged in from. If this is the case it is kept, if this is not the case it will be updated. This might get confusing when you have your Odoo instance available on two URL's, for example url1.com and url2.com. If somebody logs on from url2.com the web.base.url will be saved as "url2.com". The same will also happen when you access the Odoo by IP. In this case the web.base.url will be saved with the value from your IP.
Note: the above update will happen only admin logged in time, not for all users login.