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

Web コンテンツが 2 つのロケールで同じタイトルを共有している場合、フレンドリ URL は生成されません。

written-by

Amit Tiwari

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

問題

  • 基本的な Web ドキュメントを作成します。
  • 「ABC」という名前を付けて公開します。
  • タイトル フィールドの前にある言語ポートレットを使用して、言語を en-US (英語) から es-ES (スペイン語) に変更し、再び「ABC」と名前を付けます。
  • 右側の「FRIENDLY URL」セクションに移動し、フレンドリー URL を「ABC」(英語のフレンドリー URL と同じ)に更新してから公開します。
  • 言語を es-ES に戻します。 Web コンテンツは 2 つの翻訳に対して同じフレンドリー URL を持つことができないため、理想的には eエラーまたは警告がスローされて表示されるべきです。 スペイン語の翻訳は、一意になるように再生成されます。

Environment

  • ライフレイ DXP 7.2 SP5

解決策

追加情報

  • 最初に下位の環境で上記のアクティビティを試し、すべてがうまく機能する場合は、自分の判断で運用環境に移行してください。
  • これらの手順ではサーバーの再起動が必要になるため、これらの操作はアプリケーション サーバーのダウンタイム中に実行してください。
did-this-article-resolve-your-issue

legacy-knowledge-base