legacy-knowledge-base
公開されました Jul. 2, 2025

新規ユーザーでログインすると、データベースに2つの「˶‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾」ができるのはなぜですか?

written-by

Prarthana Jadhav

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • ポータルにログインした後、新しいユーザーが作成されるたびに、レイアウトテーブルにfriendlyURL「 \home」のエントリーが2つ作成されます。DB.png

環境

  • Liferay DXP 7.0

解決策

  • これはLiferayの意図した動作です。
  • この2つの '/home' エントリを作成する理由は、LiferayにはフレンドリーなURL名が '/home' である2つのページが存在するためです。 そのうちの1つはPublicページで、もう1つはPrivateページです。
  • これらのエントリーを削除する必要がある場合、以下にその解決策を示します:
    • ポータルの個人サイトを無効にすることで、DBにある「˶‾‾‾‾」の項目がなくなります。 新規ユーザーに対してこれらのページを生成しないようにするには、portal-ext.propertiesに以下の2つのプロパティを追加します、
    • layout.user.public.layouts.enabled=false
      layout.user.private.layouts.enabled=false
    • しかし、既存ユーザーの個人サイトでは、次回ログイン時に自動的にページが削除されます。
did-this-article-resolve-your-issue

legacy-knowledge-base