Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-109848

Robots.txt setting for public pages is overwritten after Publication

    Details

      Description

      1. Create a site
      2. Set up local Staging
      3. Add virtual hosts in the site configuration menu for the Public Pages "live.test.com" and the Staging Public Pages "dev.test.com"
      4. Add both of them to your Hosts file
      5. Add a new Public page
      6. Select the configuration of the Public Pages. Your robots.txt should have the following:
        User-Agent: *
         Disallow:
         Sitemap: [http://dev.test.com:8080/sitemap.xml]
        
      7. Replace Disallow: to Disallow:/testing in the textarea of robots.txt
      8. Publish the page to live

      Expected behavior: Possibility to configure the output of the robots.txt sitemap host

      Actual behavior: The live site's Robots.txt will be overwritten by the staging version

        Attachments

          Activity

            People

            Assignee:
            lu.liu Lu Liu
            Reporter:
            attila.bakay Attila Bakay
            Participants of an Issue:
            Recent user:
            Jason Pince
            Engineering Assignee:
            Attila Bakay
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              23 weeks, 5 days ago

                Packages

                Version Package
                7.1.10 DXP FP18
                7.1.X
                7.2.10 DXP FP5
                7.2.10.2 DXP SP2
                7.2.X
                7.3.10 DXP GA1
                Master