Legacy Knowledge Base
Published Jun. 30, 2025

Web content's category is added in the page source

Written By

István Gergely-Tárnoki

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.

Issue

  • When we add a category to a web content and view it, the page source contains the category's name as a meta element

  • Is it intended?

Environment

  • Liferay DXP 7.0+

Resolution

  • The behavior is intended, and the category should appear as metadata as it is a standard behavior for SEO purposes.
  • However, we have identified that the categories for Internal Vocabularies are also showing as metadata and should not behave like that, so we have opened LPS-200750 to address that. The categories of an Internal Vocabulary should help organize and search their content internally, so Internal Categories should only be exposed to Site members.
  • If you feel it would be useful for users to decide at a Display Page level what categories should be added as metadata, please open a Feature Request at https://liferay.dev/ask/questions/feature-requests. In the description, the reason can be explained so that our core developers can evaluate the importance of the requested change. You can find more information on how to open a Feature Request ticket by going to the following link: Requesting a New Feature or Feature Improvement
Did this article resolve your issue ?

Legacy Knowledge Base