페이지

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

정적 페이지의 예시로는 홈페이지나 사용자 지정 등이 있으며, 여기에는 동적으로 변경되지 않는 콘텐츠가 고정되어 있습니다. 이러한 페이지는 수동 생성하거나 URL지정, 혹은 필요에 따라 속성 조정을 하는 것도 가능합니다. 반면 동적 페이지는 동적으로 생성됩니다. Odoo에서 자동 생성되는 모든 페이지는 동적인 페이지이며, 예를 들어 앱이나 모듈(예: /shop 또는 /blog) 설치 혹은 새 품목 게시의 경우, 블로그 게시물 게시를 하는 경우 등이 이에 해당합니다. 따라서 이 페이지들은 다르게 관리됩니다.

페이지 생성

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

    • 웹사이트 앱을 열고 오른쪽 상단 모서리에 있는 +신규 버튼을 클릭한 다음 :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.

    • 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 Site ‣ Properties, enter the Page Title, edit the page’s properties, enable Is a template, and click Save.

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

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

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

  5. Publish the page.

메뉴에 페이지가 표시되지 않아야 하는 경우 :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.

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

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

    • Public: Everyone can access the page.

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

페이지 복사

페이지를 복제하려면 해당 페이지에 접속한 다음 사이트 ‣ 속성 으로 이동하여 페이지 복제 를 클릭합니다. 페이지 이름 을 입력하고 확인 을 클릭합니다. 기본적으로 새 페이지는 메뉴에서 복제된 페이지의 뒤쪽에 추가되나, 메뉴 편집기 를 이용하여 메뉴에서 제거하거나 위치를 변경할 수 있습니다.

페이지 삭제

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

  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 리디렉션 매핑이란 방문자 및 검색 엔진을 처음에 요청한 URL과 다른 위치로 이동시키는 작업입니다. 예를 들어 이 기술을 활용하여 페이지 삭제, URL 수정 또는 다른 플랫폼에서 사이트를 마이그레이션할 때 Odoo 도메인 링크가 끊어지는 것을 방지할 수 있습니다. 또한 페이지 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.

더 보기