From 706d49675f7cfe95e06aa21f9d7eb904ab3bbe51 Mon Sep 17 00:00:00 2001 From: masp-odoo Date: Tue, 12 Aug 2025 13:12:57 +0200 Subject: [PATCH] [ADD] website: new page structure task-4850059 --- .../campaign_templates/double_optin.rst | 2 +- content/applications/sales/members.rst | 2 +- .../websites/ecommerce/products.rst | 2 +- .../websites/ecommerce/products/catalog.rst | 2 +- content/applications/websites/website.rst | 6 +-- .../website/configuration/cookies_bar.rst | 2 +- .../website/configuration/multi_website.rst | 6 +-- .../websites/website/structure.rst | 44 ++++++++++++++++++ .../{pages => structure}/header_footer.rst | 2 +- .../header_footer/edit-menu-icon.png | Bin .../header_footer/mega-menu-option.png | Bin .../header_footer/mega-menu.png | Bin .../header_footer/menu-editor.png | Bin .../website/{ => structure}/pages.rst | 16 ++----- .../{ => structure}/pages/page-properties.png | Bin .../pages/un-published_toggle.png | Bin .../website/{pages => structure}/seo.rst | 2 +- .../{pages => structure}/seo/data-markup.png | Bin .../{pages => structure}/seo/image-format.png | Bin .../{pages => structure}/seo/optimize-seo.png | Bin .../seo/page-properties.png | Bin .../website/web_design/building_blocks.rst | 2 +- .../howtos/website_themes/going_live.rst | 2 +- .../developer/howtos/website_themes/pages.rst | 2 +- redirects/18.0.txt | 3 ++ 25 files changed, 68 insertions(+), 27 deletions(-) create mode 100644 content/applications/websites/website/structure.rst rename content/applications/websites/website/{pages => structure}/header_footer.rst (98%) rename content/applications/websites/website/{pages => structure}/header_footer/edit-menu-icon.png (100%) rename content/applications/websites/website/{pages => structure}/header_footer/mega-menu-option.png (100%) rename content/applications/websites/website/{pages => structure}/header_footer/mega-menu.png (100%) rename content/applications/websites/website/{pages => structure}/header_footer/menu-editor.png (100%) rename content/applications/websites/website/{ => structure}/pages.rst (96%) rename content/applications/websites/website/{ => structure}/pages/page-properties.png (100%) rename content/applications/websites/website/{ => structure}/pages/un-published_toggle.png (100%) rename content/applications/websites/website/{pages => structure}/seo.rst (99%) rename content/applications/websites/website/{pages => structure}/seo/data-markup.png (100%) rename content/applications/websites/website/{pages => structure}/seo/image-format.png (100%) rename content/applications/websites/website/{pages => structure}/seo/optimize-seo.png (100%) rename content/applications/websites/website/{pages => structure}/seo/page-properties.png (100%) diff --git a/content/applications/marketing/marketing_automation/campaign_templates/double_optin.rst b/content/applications/marketing/marketing_automation/campaign_templates/double_optin.rst index fe142f3e33..398328d496 100644 --- a/content/applications/marketing/marketing_automation/campaign_templates/double_optin.rst +++ b/content/applications/marketing/marketing_automation/campaign_templates/double_optin.rst @@ -82,7 +82,7 @@ website homepage. Click on the button to edit the button text and URL. .. tip:: To provide a streamlined experience for the contact, consider :doc:`creating a page on the - website <../../../websites/website/pages>` that expresses gratitude to the contact for + website <../../../websites/website/structure/pages>` that expresses gratitude to the contact for confirming their subscription to the mailing list. Add the link to that page in the URL of the confirmation button. diff --git a/content/applications/sales/members.rst b/content/applications/sales/members.rst index ca44d0e407..887e5b9243 100644 --- a/content/applications/sales/members.rst +++ b/content/applications/sales/members.rst @@ -68,7 +68,7 @@ Publish members directory To publish a list of active members on the website, the *Online Members Directory* application must first be :ref:`installed `. After installing the module, add the `/members` page to -the website's menu by :doc:`editing the website menu <../websites/website/pages/header_footer>`. +the website's menu by :doc:`editing the website menu <../websites/website/structure/header_footer>`. .. image:: members/membership-directory-app.png :align: center diff --git a/content/applications/websites/ecommerce/products.rst b/content/applications/websites/ecommerce/products.rst index c3bc79ec21..1ad9492c08 100644 --- a/content/applications/websites/ecommerce/products.rst +++ b/content/applications/websites/ecommerce/products.rst @@ -298,7 +298,7 @@ The eCommerce-related fields to translate are: .. note:: - Having untranslated content on a web page may be detrimental to the user experience and - :doc:`SEO <../../websites/website/pages/seo>`. You can use the + :doc:`SEO <../../websites/website/structure/seo>`. You can use the :doc:`Translate <../website/configuration/translate>` feature to translate the page's content. - To check the language(s) of your website, go to :menuselection:`Website --> Configuration --> Settings` and go to the :guilabel:`Website Info` section. diff --git a/content/applications/websites/ecommerce/products/catalog.rst b/content/applications/websites/ecommerce/products/catalog.rst index 8da7c95aeb..211c6e8b45 100644 --- a/content/applications/websites/ecommerce/products/catalog.rst +++ b/content/applications/websites/ecommerce/products/catalog.rst @@ -246,7 +246,7 @@ display it only when filtering by that specific category. .. tip:: - Adding content to an eCommerce category page helps improve the :doc:`SEO - <../../website/pages/seo>` strategy. Using keywords linked to the products or the + <../../website/structure/seo>` strategy. Using keywords linked to the products or the eCommerce categories can also increase organic traffic. Additionally, each category has its own specific URL that can be pointed to and is indexed by search engines. - eCommerce categories can also be added as :ref:`mega menu items diff --git a/content/applications/websites/website.rst b/content/applications/websites/website.rst index 5bed61d2e8..07937c3802 100644 --- a/content/applications/websites/website.rst +++ b/content/applications/websites/website.rst @@ -19,8 +19,8 @@ with other Odoo apps to expand your website's functionality. Design your website using building blocks and website themes. - .. card:: Pages - :target: website/pages + .. card:: Structure + :target: website/structure :large: Manage website pages, menus, and search engine optimization. @@ -57,7 +57,7 @@ with other Odoo apps to expand your website's functionality. :titlesonly: website/web_design - website/pages + website/structure website/configuration website/reporting website/mail_groups diff --git a/content/applications/websites/website/configuration/cookies_bar.rst b/content/applications/websites/website/configuration/cookies_bar.rst index 2681d5bc61..795b17c90e 100644 --- a/content/applications/websites/website/configuration/cookies_bar.rst +++ b/content/applications/websites/website/configuration/cookies_bar.rst @@ -54,4 +54,4 @@ To adapt the content of the page according to your needs, click the :guilabel:`E You could add a link to this page in your website's footer, for example. .. seealso:: - :doc:`Pages <../pages>` + :doc:`Pages <../structure/pages>` diff --git a/content/applications/websites/website/configuration/multi_website.rst b/content/applications/websites/website/configuration/multi_website.rst index 15ab5034dc..1189b1e05c 100644 --- a/content/applications/websites/website/configuration/multi_website.rst +++ b/content/applications/websites/website/configuration/multi_website.rst @@ -9,14 +9,14 @@ help avoid confusion and make it easier to tailor your digital outreach strategi target audience. Each website can be designed and configured independently with its own :doc:`domain name -`, :doc:`theme <../web_design/themes>`, :doc:`pages <../pages>`, :doc:`menus -<../pages/header_footer>`, :doc:`languages `, :doc:`products +`, :doc:`theme <../web_design/themes>`, :doc:`pages <../structure/pages>`, :doc:`menus +<../structure/header_footer>`, :doc:`languages `, :doc:`products <../../ecommerce/products>`, assigned sales team, etc. They can also :ref:`share content and pages `. .. tip:: Duplicate content (i.e., pages and content shared between multiple websites) can have a negative - impact on :doc:`../pages/seo`. + impact on :doc:`../structure/seo`. Website creation ================ diff --git a/content/applications/websites/website/structure.rst b/content/applications/websites/website/structure.rst new file mode 100644 index 0000000000..df0e491d28 --- /dev/null +++ b/content/applications/websites/website/structure.rst @@ -0,0 +1,44 @@ +:nosearch: +:show-content: +:hide-page-toc: + +========= +Structure +========= + +Structure your website using :doc:`pages <../website/structure/pages>`, provide consistent visual +and navigational framework with :doc:`headers and footers <../website/structure/header_footer>` and +optimize your online presence with :doc:`Search Engine Optimization (SEO) <../website/structure/seo>`. + +.. cards:: + + .. card:: Pages + :target: structure/pages + :large: + + Create pages for your website and customize their content and appearance to your needs. + + .. card:: Headers and footers + :target: structure/header_footer + :large: + + Create a consistent look and feel for your website by customizing the header and footer, and + help users navigate through web pages effectively by providing clear menus, links, and calls + to action. + + + .. card:: Search Engine Optimization (SEO) + :target: structure/seo + :large: + + Improve your website’s visibility and ranking in search engine results. + +.. seealso:: + `Odoo Tutorials: Website `_ + +.. toctree:: + :titlesonly: + + structure/pages + structure/header_footer + structure/seo diff --git a/content/applications/websites/website/pages/header_footer.rst b/content/applications/websites/website/structure/header_footer.rst similarity index 98% rename from content/applications/websites/website/pages/header_footer.rst rename to content/applications/websites/website/structure/header_footer.rst index 2a132521f1..58c6db1fc7 100644 --- a/content/applications/websites/website/pages/header_footer.rst +++ b/content/applications/websites/website/structure/header_footer.rst @@ -79,7 +79,7 @@ Adding menu items ----------------- By default, pages are added to the menu as drop-down menu items when -:doc:`they are created <../pages>`. To add a new menu item, follow these steps: +:doc:`they are created <../structure/pages>`. To add a new menu item, follow these steps: #. Go to :menuselection:`Website --> Site --> Menu Editor`. #. In the menu editor, click :guilabel:`Add Menu Item`. diff --git a/content/applications/websites/website/pages/header_footer/edit-menu-icon.png b/content/applications/websites/website/structure/header_footer/edit-menu-icon.png similarity index 100% rename from content/applications/websites/website/pages/header_footer/edit-menu-icon.png rename to content/applications/websites/website/structure/header_footer/edit-menu-icon.png diff --git a/content/applications/websites/website/pages/header_footer/mega-menu-option.png b/content/applications/websites/website/structure/header_footer/mega-menu-option.png similarity index 100% rename from content/applications/websites/website/pages/header_footer/mega-menu-option.png rename to content/applications/websites/website/structure/header_footer/mega-menu-option.png diff --git a/content/applications/websites/website/pages/header_footer/mega-menu.png b/content/applications/websites/website/structure/header_footer/mega-menu.png similarity index 100% rename from content/applications/websites/website/pages/header_footer/mega-menu.png rename to content/applications/websites/website/structure/header_footer/mega-menu.png diff --git a/content/applications/websites/website/pages/header_footer/menu-editor.png b/content/applications/websites/website/structure/header_footer/menu-editor.png similarity index 100% rename from content/applications/websites/website/pages/header_footer/menu-editor.png rename to content/applications/websites/website/structure/header_footer/menu-editor.png diff --git a/content/applications/websites/website/pages.rst b/content/applications/websites/website/structure/pages.rst similarity index 96% rename from content/applications/websites/website/pages.rst rename to content/applications/websites/website/structure/pages.rst index 01a7ff14d5..c37cdf468a 100644 --- a/content/applications/websites/website/pages.rst +++ b/content/applications/websites/website/structure/pages.rst @@ -14,7 +14,7 @@ contain fixed content that does not change dynamically. You can manually create their URLs, and adapt their :ref:`properties ` as needed. **Dynamic** pages, on the other hand, are generated dynamically. All pages generated automatically by Odoo, for example, when you install an app or module (e.g., `/shop` or `/blog`) or publish a new product or -:doc:`blog post <../blog>`, are dynamic pages and are therefore managed differently. +:doc:`blog post <../../blog>`, are dynamic pages and are therefore managed differently. .. _website/pages/page_creation: @@ -44,7 +44,7 @@ page, proceed as follows: #. Enter a :guilabel:`Page Title`; this title is used in the menu and the page's URL. #. Click :guilabel:`Create`. - #. If needed, :doc:`customize the page's content and appearance ` using the website + #. If needed, :doc:`customize the page's content and appearance <../web_design>` using the website editor, then click :guilabel:`Save`. #. :ref:`Publish ` the page. @@ -131,7 +131,7 @@ Duplicating pages To duplicate a page, access the page, then go to :menuselection:`Site --> Properties`, and click :guilabel:`Duplicate Page`. Enter a :guilabel:`Page Name`, then click :guilabel:`OK`. By default, the new page is added after the duplicated page in the menu, but you can remove it from the menu or -change its position using the :doc:`menu editor `. +change its position using the :doc:`menu editor `. .. _website/pages/delete-page: @@ -158,7 +158,7 @@ URL redirect mapping consists in sending visitors and search engines to a URL di the one they initially requested. This technique is used, for example, to prevent broken links when you :ref:`delete a page `, :ref:`modify its URL `, or migrate your site from another platform to -an Odoo :doc:`domain `. It can also be used to improve :doc:`pages/seo`. +an Odoo :doc:`domain <../configuration/domain_names>`. It can also be used to improve :doc:`seo`. To access existing URL redirections and create new ones, :doc:`activate the developer mode ` and go to :menuselection:`Website --> Configuration --> @@ -205,10 +205,4 @@ Toggle the :guilabel:`Activate` switch to deactivate the redirection. .. seealso:: - `Google documentation on redirects and search `_ - - :doc:`pages/seo` - -.. toctree:: - :titlesonly: - - pages/header_footer - pages/seo + - :doc:`seo` diff --git a/content/applications/websites/website/pages/page-properties.png b/content/applications/websites/website/structure/pages/page-properties.png similarity index 100% rename from content/applications/websites/website/pages/page-properties.png rename to content/applications/websites/website/structure/pages/page-properties.png diff --git a/content/applications/websites/website/pages/un-published_toggle.png b/content/applications/websites/website/structure/pages/un-published_toggle.png similarity index 100% rename from content/applications/websites/website/pages/un-published_toggle.png rename to content/applications/websites/website/structure/pages/un-published_toggle.png diff --git a/content/applications/websites/website/pages/seo.rst b/content/applications/websites/website/structure/seo.rst similarity index 99% rename from content/applications/websites/website/pages/seo.rst rename to content/applications/websites/website/structure/seo.rst index af70558911..3246f5d879 100644 --- a/content/applications/websites/website/pages/seo.rst +++ b/content/applications/websites/website/structure/seo.rst @@ -189,7 +189,7 @@ methods: .. seealso:: - :doc:`../configuration/google_search_console` - - :doc:`../pages` + - :doc:`pages` Sitemap ------- diff --git a/content/applications/websites/website/pages/seo/data-markup.png b/content/applications/websites/website/structure/seo/data-markup.png similarity index 100% rename from content/applications/websites/website/pages/seo/data-markup.png rename to content/applications/websites/website/structure/seo/data-markup.png diff --git a/content/applications/websites/website/pages/seo/image-format.png b/content/applications/websites/website/structure/seo/image-format.png similarity index 100% rename from content/applications/websites/website/pages/seo/image-format.png rename to content/applications/websites/website/structure/seo/image-format.png diff --git a/content/applications/websites/website/pages/seo/optimize-seo.png b/content/applications/websites/website/structure/seo/optimize-seo.png similarity index 100% rename from content/applications/websites/website/pages/seo/optimize-seo.png rename to content/applications/websites/website/structure/seo/optimize-seo.png diff --git a/content/applications/websites/website/pages/seo/page-properties.png b/content/applications/websites/website/structure/seo/page-properties.png similarity index 100% rename from content/applications/websites/website/pages/seo/page-properties.png rename to content/applications/websites/website/structure/seo/page-properties.png diff --git a/content/applications/websites/website/web_design/building_blocks.rst b/content/applications/websites/website/web_design/building_blocks.rst index 0edd51418c..59e53ee16f 100644 --- a/content/applications/websites/website/web_design/building_blocks.rst +++ b/content/applications/websites/website/web_design/building_blocks.rst @@ -16,7 +16,7 @@ content and layout needs. Add a building block ==================== -To add a block to a :doc:`website page <../pages>`, access the page, click :guilabel:`Edit`, then +To add a block to a :doc:`website page <../structure/pages>`, access the page, click :guilabel:`Edit`, then drag and drop the desired building block into the appropriate location. Two types of building blocks are available: :guilabel:`Categories` and :guilabel:`Inner Content`. :guilabel:`Inner Content` building blocks can only be added into :guilabel:`Categories` building blocks. diff --git a/content/developer/howtos/website_themes/going_live.rst b/content/developer/howtos/website_themes/going_live.rst index 7f1c87d69d..2c0134942a 100644 --- a/content/developer/howtos/website_themes/going_live.rst +++ b/content/developer/howtos/website_themes/going_live.rst @@ -62,7 +62,7 @@ redirects as well as your domain name. **SEO & Redirects** - - :doc:`../../../applications/websites/website/pages/seo` + - :doc:`/applications/websites/website/structure/seo` - :ref:`website/pages/URL-redirection` **Domain name** diff --git a/content/developer/howtos/website_themes/pages.rst b/content/developer/howtos/website_themes/pages.rst index 2d924620d5..d98b1e8afb 100644 --- a/content/developer/howtos/website_themes/pages.rst +++ b/content/developer/howtos/website_themes/pages.rst @@ -109,7 +109,7 @@ Alternatively, replace the default content of these pages using XPath. .. seealso:: - - :doc:`Odoo Documentation on SEO <../../../applications/websites/website/pages/seo>` + - :doc:`Odoo Documentation on SEO ` .. _website_themes/pages/theme_pages : diff --git a/redirects/18.0.txt b/redirects/18.0.txt index 7f1891281e..370396f83d 100644 --- a/redirects/18.0.txt +++ b/redirects/18.0.txt @@ -45,3 +45,6 @@ applications/websites/website/building_blocks/features.rst applications/websites applications/websites/website/building_blocks/inner_content.rst applications/websites/website/building_blocks.rst applications/websites/website/building_blocks/structure.rst applications/websites/website/building_blocks.rst applications/websites/website/pages/menus.rst applications/websites/website/pages/header_footer.rst +applications/websites/website/pages/header_footer.rst applications/websites/website/structure/header_footer.rst +applications/websites/website/pages.rst applications/websites/website/structure/pages.rst +applications/websites/website/pages/seo.rst applications/websites/website/structure/seo.rst