페이지¶
Odoo allows you to create different kinds of webpages, including with the help of AI, publish them, and define their structure and visibility by configuring page properties. Pages can be duplicated, deleted, and redirected.
Page types
Static pages, such as the homepage or custom pages, 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, display content that changes automatically based on the
data in the database and user interaction (e.g., filtering). They are generated automatically by
Odoo, for example, when installing an app or module (e.g., /shop or /blog) or publishing a
new product or blog post. Dynamic pages are managed
differently from static pages.
페이지 생성¶
Website pages can be created from the frontend and the backend.
To create a new website page:
Either open the Website app, click New in the top-right corner, then select Page;
또는 버튼을 클릭합니다.
In the New Page pop-up, select a template. Templates are grouped by type:
Basic: Multi-purpose page. A blank page is also available to start from scratch.
About: Information about the brand and company.
Landing Pages: Summary of company content and information.
갤러리: 사진 및 미디어 관련 내용입니다.
Services: Overview of the services offered by the company.
Pricing Plans: Overview of the subscriptions and prices.
Team: The people behind the company.
Custom: Custom-created templates. To add a custom template, open the page you want to save as a template and edit the page’s properties.
In the New Page pop-up:
:guilabel:`생성`을 클릭합니다.
If needed, customize the page’s content and appearance using the website editor or translate it, then click Save.
Publish 페이지입니다.
AI webpage generator¶
To generate content using AI when creating a new page, follow these steps:
After choosing a template, in the New Page pop-up, toggle the AI Generate Text switch.
In the Instructions field, enter a short description of the page being created. This should include a few important keywords that define the page’s focus and scope.
Select one of the tone options for the page, such as Concise, Professional, Friendly, Persuasive, or Informative.
Click Create with AI. It may take a few moments for the webpage to load.
참고
The AI application does not need to be installed on the database to use the webpage generator.
Content created by the AI generator can be customized using the website editor.
The AI webpage generator is not available for the Blank page type.
The webpage generator may create buttons. Before publishing the webpage, confirm that all buttons are linked to an active webpage.
더 보기:
페이지 게시/게시 취소¶
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.
참고
또한 다음과 같은 것도 가능합니다:
Publish/unpublish a page from the page properties.
Publish/unpublish several pages at once. To do so, go to , select the pages, then click Actions and select Publish or Unpublish.
페이지 속성¶
To modify a static page’s properties, access the page you wish to modify, then go to , where the following properties can be adapted:
Page Title: Modify the page’s title.
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 영구적으로 이동됨: 페이지를 영구적으로 리디렉션하려면 선택합니다.
302 일시적으로 이동: 페이지를 일시적으로 리디렉션합니다.
In Menu: Disable if the page should not appear in the menu. Click the Edit Menu link to modify the menu.
Is Homepage: Enable if the static page should serve as the homepage of the website.
Published: Enable it 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 the selection.
Indexed: Disable if the page should not appear in search engine results.
공개 범위: 페이지에 액세스할 수 있는 사용자를 선택합니다:
공개: 누구나 페이지에 접근할 수 있습니다.
로그인 상태`: 로그인한 사용자만 페이지에 액세스할 수 있습니다.
Restricted Group: Select the user access group(s) in the Authorized Groups field.
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. It is now available in the Custom category when creating a new page.
페이지 복사¶
To duplicate a page, access the page, then go to , and click Duplicate Page. In the Confirmation window, enter a Page Name, then click Ok. By default, the new page is not published; it is added after the originally duplicated page in the menu. Use the menu editor to remove it from the menu or change its position.
팁
You can also duplicate one or several pages by going to . Select the relevant page(s), click Actions, and select Duplicate.
페이지 삭제¶
페이지를 삭제하려면 다음과 같이 진행합니다:
Access the page, then go to and click Delete Page.
The Delete Page pop-up shows all links referring to the page you want to delete, organized by category. To ensure website visitors do not land on an error page, update all links on the website that refer 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 redirect), tick the I am sure about this. checkbox, then click Delete.
팁
You can also delete one or several pages by going to . Select the relevant page(s), click Actions, and select Delete.
URL 리디렉션 매핑¶
URL redirect mapping involves sending visitors and search engines to a URL other than the one they initially requested. This technique is used, for example, to prevent broken links when deleting a page, modifying its URL, or migrating the site from another platform to an Odoo domain. It can also be used to improve 검색 엔진 최적화 (SEO).
참고
A redirect record is added automatically every time you modify a page’s URL and enable Redirect Old URL.
Redirections can be configured for static and dynamic pages.
To access existing URL redirections and create new ones, activate the developer mode and go to . To create a redirection, click New in the Rewrite view, then adapt the fields:
이름: 리디렉션을 식별할 이름을 입력합니다.
행동: 리디렉션 유형을 선택합니다:
404 Not found: Visitors land on a 404 error page when they try to access an unpublished or deleted page.
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 Moved temporarily: for short-term redirections, for example, if you are redesigning or updating a page. The new URL is neither cached by browsers nor shown in search engine results.
308 Redirect / Rewrite: for permanent redirections where the original URL is rewritten (typically used for dynamic pages). The URL is renamed; the new name appears 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
/shopinto/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: 301, 302, 308 리디렉션의 경우 리디렉션할 URL을 입력합니다. 외부 URL로 리디렉션하려면 프로토콜 (예:
https://)까지 포함하도록 합니다.웹사이트: 특정 웹사이트를 선택합니다.
Active: Toggle the switch off to deactivate the redirection.
순서: 리디렉션이 실행될 순서를 지정하며, 예를 들어 연속적으로 리디렉션되는 체인의 경우에 해당합니다 (예: 한 URL이 다른 URL로 리디렉션되고 다시 다른 URL로 리디렉션되는 연속된 리디렉션).
중요
301 and 302 redirects are commonly used to redirect traffic from unpublished or deleted static pages to new pages. The 308 redirect is typically used for permanent URL rewrites, especially for dynamic pages. A 404 status is used when a page no longer exists, and no redirection is configured.
더 보기:
리디렉션 및 검색 <https://developers.google.com/search/docs/crawling-indexing/301-redirects>`_에 대한 구글 문서 참조.
SEO