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

友好的なURLでないと記事を公開できない

Written By

Adam Kollar

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.

問題

  • Liferay 7.4のインスタンスで、エディターがFriendly URLのない記事を公開しようとするとエラーが発生し、Liferay 7.1での動作と異なっています。

Environment

  • Liferay DXP 7.4

解決策

  • Liferay 7.1と7.4で食い違うのは、Friendly URLの扱い方によるものです。 Liferay 7.1では、確かにFriendly URLは必須でしたが、フィールドを空のままにして記事を公開すると、システムがデフォルトのFriendly URLを自動生成していました。

  • Liferay 7.4では、デフォルト言語のFriendly URLを記入する必要があります。 Liferayの以前のバージョンの古い記事で、そのデフォルトの翻訳にFriendly URLが含まれていないものを扱っている場合、できます:

    1. Friendly URLの欄には、記事の内容を最もよく表現するキーワードやフレーズを記入します。
    2. 他の翻訳版からFriendly URLをコピーする(該当する場合)。 記事が他の言語に翻訳されている場合は、それに合わせてFriendly URLも翻訳することをお勧めします。

追加情報

  • フレンドリーなURLの紹介
  • コンテンツをローカライズする際、Friendly URLを翻訳することで、ユーザーエクスペリエンスとSEOを向上させ、異なる言語のユーザーにとってよりアクセスしやすいコンテンツとすることができます。 記事には必ず、適切で説明的なFriendly URLを使用するようにしてください。

Did this article resolve your issue ?

Legacy Knowledge Base