legacy-knowledge-base
公開されました Sep. 10, 2025

URL の末尾のスラッシュは SEO 評価に影響を与える可能性があります

written-by

Lucas Mesquita

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

問題

  • 末尾にスラッシュがある URL にアクセスすると、ページにはスラッシュがないページと同じコンテンツが表示され、Google は両方のページをインデックスに登録し、それらが同じであることに気づき、ランキングを下げます。

Environment

  • すべての環境

解決策

  • 残念ながら、現在のところ、メイン ページにリダイレクトしたり、スラッシュを含む URL にアクセスしたときに 404 エラーを生成したりする OOTB の機能はありません。

追加情報

  • Liferay の将来のリリースにこの機能を含めるために、 Feature Request が公開されています。
  • その進行状況は LPS-67451で追跡できます。 このリクエストに投票すると、その可視性も高まります。
  • 詳細はこちらの Google 記事をご覧 スラッシュするかしないか

did-this-article-resolve-your-issue

legacy-knowledge-base