Legacy Knowledge Base
Published Jun. 30, 2025

How to make Liferay blogs visible to search engines like Google

Written By

Anushka Tiwari

How To articles are not official guidelines or officially supporteddocumentation. They are community-contributed content and may not alwaysreflect the latest updates to Liferay DXP. We welcome your feedback toimprove How to articles!

While we make every effort to ensure this Knowledge Base is accurate, itmay not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with anyfeedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack"publication program, made available for informational purposes. Articlesin this program were published without a requirement for independentediting or verification and are provided "as is" withoutguarantee.

Before using any information from this article, independently verify itssuitability for your situation and project.

Issue

  • How to make Liferay blogs visible to search engines like Google

Environment

  • Liferay DXP 7.1+

Resolution

  • The sitemap URL should be added to the robots.txt file to make it available to search engines like Google.
  • Based on this, configure search and indexing rules in the robots.txt rules for the domain’s public and private pages. The robots.txt file provides instructions to search engines and other tools that are automatically crawling and indexing your site.
     
  • Therefore, to add the sitemap URL in the robots.txt , please follow the below steps:
    1. Navigate to the Site Menu > Page Tree.
    2. Click on the setting option (configure page).
    3. Scroll down to the Robots section and expand it
    You will see the below content:
    User-Agent: *
    Disallow:
    Sitemap: [$PROTOCOL$]://[$HOST$]:[$PORT$]/sitemap.xml

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base