Legacy Knowledge Base
Published Jul. 2, 2025

Admin pages are shown as search results by Google

Written By

Antonio Ortega

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

  • Searching for the right terms you can see how Google (or any other web search engine) can show admin pages, such as Control Panel or Site Admin, as entries in their list of results.
  • Even when trying to access to them is going to take us to login page, this might not be desirable.

Environment

  • Liferay DXP

Resolution

  • As it is explained by Google in this article the solution might be using noindex meta tag in those pages you don't want to be linked.
  • In order to do so, one possible solution is to create your own Admin Theme based on the one provided by Liferay and then include noindex meta tag in every page.
  • To create a new Admin Theme we recommend you to follow the tutorial How can I modify the Admin Theme?
  • Then, you need to modify portal_normal.ftl template which renders <head> element to add noindex meta tag.
  • And that's all, once this Admin Theme is selected as Default Admin Theme, all your Control Panel and Server Admin pages would include noindex meta tag.

Additional Information

 

Did this article resolve your issue ?

Legacy Knowledge Base