Legacy Knowledge Base
公開されました Jul. 2, 2025

404 エラー ページからサイトへのナビゲーションで 404 エラーが発生する

Written By

Ankit Gupta

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. 以下のプロパティを portal-ext.properties に追加します -

    layout.friendly.url.page.not.found=/html/portal/404-page.jsp
     javascript.single.page.application.enabled=false

    2. カスタム jsp を /html/portal/404-page.jsp に配置し、サーバーを再起動します。
    3. 間違った URL を指定してください。 ページは 404 エラー ページにリダイレクトされます。
    4. [ホームに移動] リンクをクリックします。

    観察された動作: ページに「要求されたリソースが見つかりません」というエラーが表示されます。
    予想される動作: ページはホームページにリダイレクトされます。

Environment

  • Liferay DXP 7.3

解決策

  • 観測された動作は既知の 問題/バグです。
  • この問題に修正プログラムが必要な場合は、修正プログラムの詳細を添付して、修正プログラムを要求するサポート チケットを作成してください。
  • Liferay DXP にフィックスパックとホットフィックスをインストールすると、それぞれの環境にこのホットフィックスをインストールするためのガイドが表示されます。
Did this article resolve your issue ?

Legacy Knowledge Base