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

商品とカテゴリーの URL パターンを変更するにはどうすればよいですか

written-by

Rafael Regner

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

問題

  • Liferay Commerce は、Commerce 表示ページのフレンドリ URL 内で /p/ および /g/ を使用します。
  • SEO 目的で検索表示を改善するために、 /p/ および /g//product/ および /category/のような意味のあるものに変更したいと考えています。

Environment

  • Liferay DXP 7.2
  • Liferay Commerce 2.1.2

解決策

  • COMMERCE-6294でホットフィックスをリクエストしてください。
  • ホットフィックスを展開します。
  • コントロール パネル > 構成 > システム設定 > カタログ > VIRTUAL INSTANCE SCOPE > フレンドリ URL に移動して、製品とカテゴリの URL パターンを更新します。
  • これらのフィールドを変更した後、[コントロール パネル] > [構成] > [検索] > [インデックス アクション] に移動し、 すべての検索インデックスの再インデックスを実行します。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base