Legacy Knowledge Base
Published Jul. 2, 2025

Searchable toggle is not working in web contents

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

  • If I create a web content and turn the 'Searchable' switch off, it's still shown in my search results

Environment

  • Liferay Portal 6.2
  • Liferay DXP 7.0
  • Liferay DXP 7.1
  • Liferay DXP 7.2

Resolution

  • As an administrator, you can search for web contents in two different ways:
    1. You can search for web contents in the Search portlet which is located on any page you create
      screenshot_1.PNG
    2. You can search for web contents in the Site administration -> Web content section
      screenshot_2.PNG
  • As it is stated in the Creating Web Content section of the documentation for Liferay DXP 7.1:

    Disabling search for your article removes it from end users’ search results. Administrators can still search for it from Site Administration  Web Content, and the article can still be added to pages.

  • So disabling the Searchable switch in an article prevents it from appearing in the search results or in the Asset Publisher's dynamic selection.
  • The article will be visible, however, to an Administrator in the list of web content articles displayed in Site Administration, the Web Content Display portlet or the Asset Publisher's manual selection.

Additional Information

  • If the 'Searchable' option is turned off and you still see your Web content in the search results described in point 1, try to reindex your content. If that doesn't resolve the issue, contact Liferay Customer Support on Help Center
Did this article resolve your issue ?

Legacy Knowledge Base