legacy-knowledge-base
公開されました Jun. 30, 2025

サイトフレンドリー URL が利用できません

written-by

Daniel Mijarra

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 "site01" に変更しようとしましたが、できません。次のエラーが返されます:
    エラー: 固有のフレンドリ URL を入力してください。 Site and site01 site01 have the same friendly URL.
  • 残りのサイトをチェックすると、どれもこの FriendlyURLを使用していません。なぜ利用できないのですか?
  • 考えられる原因の 1 つは、その FriendlyURLscreenNameとして使用するユーザーが存在することです。
  • ユーザーが作成されると、ユーザー自身のサイトも作成され、ユーザーの screenNameFriendlyURLとして割り当てられます。
  • 上記の例では、"site01" という名前のユーザーが作成された場合 (たとえば、"site01" というサイトを管理するために)、 FriendlyURL "site01" が引き続き使用されます。 後で「site01」サイトを作成しようとすると、 friendlyURL 「site01-1」が割り当てられます。

Environment

  • Liferay DXP 7.4

解決策

  • ユーザーの FriendlyUrl 変更して使用できるようにするには、このユーザーの ScreenName を変更するだけで十分です。ユーザーを削除する必要はありません。

did-this-article-resolve-your-issue

legacy-knowledge-base