diff --git a/content/applications/websites/website/configuration/domain_names.rst b/content/applications/websites/website/configuration/domain_names.rst index 6a1ed1339..e4e15a337 100644 --- a/content/applications/websites/website/configuration/domain_names.rst +++ b/content/applications/websites/website/configuration/domain_names.rst @@ -225,8 +225,8 @@ DNS hosting services do not offer an easy way to do so. :alt: Adding a CNAME DNS record to Cloudflare to redirect a www subdomain to an Odoo database #. Define a redirect rule to permanently redirect (301) your naked domain (e.g., `yourdomain.com`) - to both `http://` and `https://` by going to :menuselection:`Rules --> Redirect Rules --> Create - rule`, and: + to both `http://` and `https://` by going to :menuselection:`Rules --> Create rule --> Products`, + and clicking :guilabel:`Create a Rule` under :guilabel:`Redirect Rules`: - Enter any :guilabel:`Rule name`. - Under the :guilabel:`If incoming requests match...` section, select :guilabel:`Custom filter @@ -239,7 +239,7 @@ DNS hosting services do not offer an easy way to do so. - Under the :guilabel:`Then...` section, use the following configuration: - :guilabel:`Type`: Dynamic - - :guilabel:`Expression`: e.g., `concat("https://www.yourdomain.com/", http.request.uri.path)` + - :guilabel:`Expression`: e.g., `concat("https://www.yourdomain.com", http.request.uri.path)` - :guilabel:`Status code`: 301 - :guilabel:`Preserve query string`: enabled diff --git a/content/applications/websites/website/configuration/domain_names/cloudflare-redirect-rule.png b/content/applications/websites/website/configuration/domain_names/cloudflare-redirect-rule.png index 55eb683f7..b3ba8ceb3 100644 Binary files a/content/applications/websites/website/configuration/domain_names/cloudflare-redirect-rule.png and b/content/applications/websites/website/configuration/domain_names/cloudflare-redirect-rule.png differ