Legacy Knowledge Base
公開されました Jun. 30, 2025

カテゴリのフレンドリーURLは使用できません

Written By

Tímea Bihari

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.

問題

カテゴリーと表示ページのテンプレートは、次のようにして作成します:

  1. カテゴライズ > カテゴリーへ移動
  2. 語彙を作成し、その下にカテゴリーを1つ追加する。
  3. カテゴリのフレンドリurlを定義する(デフォルトで既に定義されています)
  4. デザインへ > ページ・テンプレート > 表示ページ・テンプレート
  5. カテゴリー用の表示ページテンプレートを作成し、デフォルトとしてマークする。
  6. カテゴリーに戻って編集し、詳細タブにDPTを追加する。
  7. カテゴリーのEllipsisメニューをクリックし、"View Display Page "をクリックする。

期待される結果表示/設定されたフレンドリurlでカテゴリページが開く。
実際の結果例:/v/32026のようなカテゴリIDを持つ "technical "urlでカテゴリページが開きます。 Friendlyurl を手動で入力すると、404エラーページが表示されます。

環境

  • 四半期ごとのリリース

解像度

  • カテゴリのフレンドリーURLは、Commerceの特定のコンポーネントで使用されます。 現在のところ、このフレンドリーURLを他の場所で使用することはできません。例えば、カテゴリーに関連付けられた表示ページテンプレートを使用する場合などです。
  • この機能をポータルの他の部分にも適用するために、機能リクエストが開始されました。
  • このチケットで機能リクエストにアクセスし、進捗を確認することができます:LPD-927
Did this article resolve your issue ?

Legacy Knowledge Base