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

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

問題

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

Environment

  • Liferay DXP 7.4

解決策

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

Did this article resolve your issue ?

Legacy Knowledge Base