[IMP] website: config of root URL

opw-2190590
This commit is contained in:
Richard Mathot 2020-02-05 10:28:31 +01:00 committed by GitHub
parent fbf686a3e3
commit 7d672611e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -94,6 +94,21 @@ In order to get this, simply add your domain name in your customer portal (a sep
If you already use CloudFlare or a similar service, you can keep using it or simply change for Odoo. The choice is yours.
How to make sure that all my URLs use my custom domain?
=======================================================
To set up the root URL of your website and of all the links sent in emails, you can ask an administrator of your database (any user in the *Settings* group) to perform a login from the login screen. It's as simple as that!
If you want to do it manually, you can go to :menuselection:`Settings --> Technical --> System Parameters` .
Find the entry called ``web.base.url`` (you can create it if it does not exist) and enter the full URL of your website, like ``https://www.myodoowebsite.com``.
.. warning::
The URL must include the protocol (``https://`` or ``http://``) and must not end by a slash (``/``).
If you want to block the root URL update when an administrator logs in, you can add a System Parameter called ``web.base.url.freeze`` with its value set to ``True``.
My website is indexed twice by Google
=====================================