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

Web コンテンツのフレンドリ URL を変更する必要がある

written-by

Kanchan Bisht

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 コンテンツ」などのアセットを操作する場合、詳細には常にフレンドリ URL が含まれます。 ここで懸念されるのは、この フレンドリ URL に含まれているハイフン (-) を削除する必要があることです。

Environment

  • Liferay DXP 7.4

解決策

  • ハイフン付きの観察された URL は、DXP の予想される動作です。 Liferay では、ページのわかりやすい URL がどこで終わり、ポートレットのわかりやすい URL が始まるかを決定するためにハイフンが必要です。 したがって、URL からハイフンを削除することはできません。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base