Pagini¶
Odoo vă permite să creați pagini pentru site-ul dvs. și să personalizați conținutul și aspectul acestora în funcție de nevoile dvs.
Static pages, such as the homepage or any custom-created,
contain fixed content that does not change dynamically. You can manually create these pages, define
their URLs, and adapt their 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
blog post, are dynamic pages and are therefore managed differently.
Crearea paginii¶
Paginile de site pot fi create din frontend și backend. Pentru a crea o nouă pagină de site web, procedați după cum urmează:
Fie deschideți aplicația Site web, faceți clic pe + Nou în colțul din dreapta sus, apoi selectați Pagină;
Sau accesați Nou.
și faceți clic peIn the New Page selection menu, click on a template. They are sorted by type:
Basic: Multi-purpose page. A blank page is also available to start from scratch.
About: Information about your brand.
Landing Pages: Summary of company content and info.
Gallery: Photos and media showcase.
Services: Focus on what you’re selling and contact.
Pricing Plans: Highlight on subscription and prices.
Team: The people behind your company.
Custom: To select a custom template. To add a template to this category, open the page you want to save as a template, then go to , enter the Page Title, edit the page’s properties, enable Is a template, and click Save.
Introduceți un Titlul paginii; acest titlu este folosit în meniu și în adresa URL a paginii.
Faceți clic pe Creați.
If needed, customize the page’s content and appearance using the website editor, then click Save.
Publish the page.
Sfat
Dezactivați Adăugați în meniu dacă pagina nu ar trebui să apară în meniu.
Gestionarea paginii¶
Publicarea/depublicarea paginilor¶
Pages need to be published to make them visible to website visitors. To publish or unpublish a page, access it and toggle the switch in the upper-right corner from Unpublished to Published, or vice versa.

Notă
De asemenea, este posibil să:
Publish/unpublish a page from the page properties, where you can define a publishing date and/or restrict the page’s visibility if needed;
Publish/unpublish several pages at once: go to Action and select Publish or Unpublish.
, select the pages, then click
Alternatively, you can define any static page as your homepage by going to . Select the Publish tab and enable Use as Homepage.
Proprietățile paginii¶
To modify a static page’s properties, access the page you wish to modify, then go to , where you can change the following properties:
Page URL : Modify the page URL in the field. In this case, you can redirect the old URL to the new one if needed. To do so, enable Redirect old URL, then select the Type of redirection:
301 Moved permanently: to redirect the page permanently.
302 Mutat temporar: pentru a redirecționa pagina temporar.
![]()
In Menu: Disable if you don’t want the page to appear in the menu.
Is Homepage: Enable if you want the page to be the homepage of your website.
Published: Enable to publish the page.
Publishing Date: To publish the page at a specific date and time, click the field, set the date and time, then press Enter or click Apply to validate your selection.
Indexed: Disable if you don’t want the page to appear in search engine results.
Vizibilitate: Selectați cine poate accesa pagina:
Public: Everyone can access the page.
Signed In: Only signed-in users can access the page.
Grup restricționat: Selectați grupul(ele) de acces al utilizatorilor în câmpul Grup autorizat.
With Password: Type the password required to access the page in the Password field.
Is a template: Toggle the switch to save the page as a template and add it to the Custom category.
Sfat
Some of these properties can also be modified in batch from
.Duplicarea paginilor¶
To duplicate a page, access the page, then go to Duplicate Page. Enter a Page Name, then click 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 menu editor.
, and clickȘtergerea paginilor¶
Pentru a șterge o pagină, procedați după cum urmează:
Accesați pagina, apoi accesați Delete Page.
și faceți clic peA pop-up window shows all links referring to the page you want to delete, organized by category. To ensure website visitors don’t land on an error page, you must update all the links on your website referring to the page. To do so, expand a category, then click on a link to open it in a new window. Alternatively, you can set up a redirection for the deleted page.
Once you have updated the links (or set up a redirection), tick the I am sure about this check box, then click OK.
Maparea redirecționării URL¶
URL redirect mapping consists in sending visitors and search engines to a URL different from the one they initially requested. This technique is used, for example, to prevent broken links when you delete a page, modify its URL, or migrate your site from another platform to an Odoo domain. It can also be used to improve Optimizare pentru motoarele de căutare (SEO).
Pentru a accesa redirecționări URL existente și pentru a crea altele noi, activați modul dezvoltator și accesați .
Notă
A redirect record is added automatically every time you modify a page’s URL and enable Redirect Old URL.
You can set up redirections for static and dynamic pages.
Pentru a crea o nouă redirecționare, faceți clic pe butonul Nou, apoi completați câmpurile:
Nume: Introduceți un nume pentru a identifica redirecționarea.
Acțiune: Selectați tipul de redirecționare:
404 Not found: vizitatorii sunt redirecționați către o pagină de eroare 404 atunci când încearcă să acceseze o pagină nepublicată sau ștearsă.
301 Moved Permanently: for permanent redirections of unpublished or deleted static pages. The new URL is shown in search engine results, and the redirect is cached by browsers.
302 Mutat temporar: pentru redirecționări pe termen scurt, de exemplu, dacă reproiectați sau actualizați o pagină. Noua adresă URL nu este stocată în cache de browsere și nici nu este afișată în rezultatele motorului de căutare.
308 Redirect/Rewrite: for permanent redirections of existing dynamic pages. The URL is renamed; the new name is shown in search engine results and is cached by browsers. Use this redirect type to rename a dynamic page, for example, if you wish to rename
/shop
into/market
.
URL from: Enter the URL to be redirected (e.g.,
/about-the-company
) or search for the desired dynamic page and select it from the list.URL to: pentru redirecționările 301, 302 și 308, introduceți adresa URL către care doriți să fiți redirecționat. Dacă doriți să redirecționați către o adresă URL externă, includeți protocolul (de exemplu,
https://
).Site web: Selectați un anumit site web.
Secvență: Pentru a defini ordinea în care sunt efectuate redirecționările, de exemplu, în cazul lanțurilor de redirecționare (adică, o serie de redirecționări în care o adresă URL este redirecționată către alta, care este redirecționată în continuare către o altă adresă URL) .
Comutați comutatorul Activate pentru a dezactiva redirecționarea.
Important
404, 301, and 302 redirections are meant to migrate traffic from unpublished or deleted pages to new pages, while the 308 redirect is used for permanent redirections of existing pages.
Vedeți și