페이지

Odoo에서는 원하는 대로 웹사이트 페이지를 제작하고, 특정 요구 사항에 맞게 콘텐츠와 디자인을 설정할 수 있습니다.

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.

페이지 생성

웹사이트 페이지는 **프론트엔드**와 **백엔드**에서 만들 수 있습니다. 새 웹사이트 페이지를 만들려면 다음과 같이 진행하세요:

    • 웹사이트 앱을 열고 오른쪽 상단 모서리에 있는 +신규 버튼을 클릭한 다음 :guilabel:`페이지`를 선택합니다;

    • 또는 웹사이트 ‣ 사이트 ‣ 페이지`로 이동하여 :guilabel:`신규 버튼을 클릭합니다.

  1. In 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.

    • 소개: 브랜드에 대한 안내 내용입니다.

    • Landing Pages: Summary of company content and info.

    • 갤러리: 사진 및 미디어 관련 내용입니다.

    • Services: Focus on what you’re selling and contact.

    • 요금제: 구독 항목과 요금을 주로 설명합니다.

    • : 회사 내 담당 부서 직원들.

    • 사용자 지정: 사용자 지정 템플릿을 선택합니다. 이 카테고리에 템플릿을 추가하려면 템플릿으로 저장하려는 페이지를 열고 사이트 ‣ 속성 으로 이동하여 페이지 제목 을 입력하고, 페이지 속성 을 편집한 후, 템플릿으로 사용 을 활성화한 다음 저장 을 클릭합니다.

  2. 페이지 제목 을 입력합니다. 이 제목은 메뉴와 페이지의 URL에 사용됩니다.

  3. :guilabel:`생성`을 클릭합니다.

  4. If needed, customize the page’s content and appearance using the website editor, then click Save.

  5. Publish 페이지입니다.

메뉴에 페이지가 표시되지 않아야 하는 경우 :guilabel:`메뉴에 추가`를 비활성화합니다.

페이지 관리

페이지 게시/게시 취소

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, where you can define a publishing date and/or restrict the page’s visibility if needed;

  • Publish/unpublish several pages at once: go to Website ‣ Site ‣ Pages, select the pages, then click Action and select Publish or Unpublish.

Alternatively, you can define any static page as your homepage by going to Website ‣ Site ‣ Properties. Select the Publish tab and enable Use as Homepage.

페이지 속성

To modify a static page’s properties, access the page you wish to modify, then go to Site ‣ Properties, 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 일시적으로 이동: 페이지를 일시적으로 리디렉션합니다.

    이전 URL 리디렉션
  • 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.

  • 게시됨: 페이지에 게시하려면 활성화합니다.

  • 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.

  • 공개 범위: 페이지에 액세스할 수 있는 사용자를 선택합니다:

    • 공개: 누구나 페이지에 접근할 수 있습니다.

    • Signed In: Only signed-in users can access the page.

    • 제한된 그룹: 사용자 액세스 그룹 </applications/general/users/access_rights>`을 :guilabel:`인증된 그룹 필드에서 선택합니다.

    • 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.

Some of these properties can also be modified in batch from Website ‣ Site ‣ Pages.

페이지 복사

To duplicate a page, access the page, then go to Site ‣ Properties, and click 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.

페이지 삭제

페이지를 삭제하려면 다음과 같이 진행합니다:

  1. 페이지에 액세스한 다음 :menuselection:`사이트 –> 속성`으로 이동하여 :guilabel:`페이지 삭제`를 클릭합니다.

  2. 팝업 창이 표시되어 삭제하려는 페이지로 연결되는 모든 링크가 카테고리별로 분류되어 나타납니다. 웹사이트 방문자를 오류 페이지로 이동하지 않도록 해당 페이지를 참조하는 웹사이트 링크를 모두 업데이트해야 합니다. 이렇게 하려면 카테고리를 확장한 다음 링크를 클릭하여 새 창에서 엽니다. 또는 삭제된 페이지에 리디렉션 기능을 설정하는 것도 가능합니다.

  3. Once you have updated the links (or set up a redirection), tick the I am sure about this check box, then click OK.

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 검색 엔진 최적화 (SEO).

기존 URL 리디렉션으로 액세스하고 새 리디렉션을 생성하려면 개발자 모드 </applications/general/developer_mode> 활성화 를 클릭하고 웹사이트 ‣ 환경설정 ‣ 리디렉션 으로 이동합니다.

참고

새 리디렉션을 만들려면 신규 버튼을 클릭한 다음 필드를 채웁니다:

  • 이름: 리디렉션을 식별할 이름을 입력합니다.

  • 행동: 리디렉션 유형을 선택합니다:

    • 404 찾을 수 없음: 방문자가 액세스하려는 페이지가 게시되지 않거나 삭제된 페이지인 경우에는 404 오류 페이지로 리디렉션됩니다.

    • 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 일시적으로 이동: 단기 리디렉션하는 경우로, 페이지를 다시 구축하거나 업데이트하는 경우에 해당합니다. 새 URL이 브라우저에 캐시되지 않으며 검색 엔진 결과에도 나타나지 않습니다.

    • 308 리디렉션/재작성: 기존 동적 페이지 를 영구 리디렉션하는 경우에 해당합니다. URL 주소는 변경되고 새로운 주소가 검색 엔진 결과에 나타나서 브라우저에서 캐시됩니다. 이러한 리디렉션 유형을 사용하여 동적 페이지의 주소를 변경할 수 있으며 예를 들어 /shop 으로 되어 있는 주소를 /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://)까지 포함하도록 합니다.

  • 웹사이트: 특정 웹사이트를 선택합니다.

  • 순서: 리디렉션이 실행될 순서를 지정하며, 예를 들어 연속적으로 리디렉션되는 체인의 경우에 해당합니다 (예: 한 URL이 다른 URL로 리디렉션되고 다시 다른 URL로 리디렉션되는 연속된 리디렉션).

리디렉션을 비활성화하려면 활성화 스위치를 전환합니다.

중요

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.

더 보기