<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to open robots.txt instead of download for AEM site in Adobe Experience Manager Questions</title>
    <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-open-robots-txt-instead-of-download-for-aem-site/m-p/458965#M132238</link>
    <description>&lt;P&gt;hi&amp;nbsp;&lt;LI-USER uid="17419167"&gt;&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;The above solution will work, but if you don't want to make changes to the configuration file, you can add a rule at your dispatcher for a specific file so that it will open in the browser instead of downloading.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;FilesMatch "\.robots.txt$"&amp;gt;
    Header set Content-Disposition "inline"
    Require all granted
&amp;lt;/FilesMatch&amp;gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 30 Jun 2022 14:56:55 GMT</pubDate>
    <dc:creator>anish-s</dc:creator>
    <dc:date>2022-06-30T14:56:55Z</dc:date>
    <item>
      <title>How to open robots.txt instead of download for AEM site</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-open-robots-txt-instead-of-download-for-aem-site/m-p/458943#M132222</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When accessing&amp;nbsp;&lt;A href="https://ww3.rics.org/robots.txt" target="_blank"&gt;https://ww3.rics.org/robots.txt&lt;/A&gt;&amp;nbsp;the browser doesn't actually display the file but download it. Could you please suggest me how can I fix it?&lt;/P&gt;&lt;P&gt;I am accessing the&amp;nbsp;&lt;A href="https://ww3.rics.org/robots.txt" target="_blank"&gt;robots.txt&lt;/A&gt; file from&lt;SPAN&gt;&amp;nbsp;dispatcher caches.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Niraj.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 12:36:10 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-open-robots-txt-instead-of-download-for-aem-site/m-p/458943#M132222</guid>
      <dc:creator>user00181</dc:creator>
      <dc:date>2022-06-30T12:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to open robots.txt instead of download for AEM site</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-open-robots-txt-instead-of-download-for-aem-site/m-p/458953#M132232</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="17419167"&gt;&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Your &lt;EM&gt;robot.txt&lt;/EM&gt;&amp;nbsp;resource file&lt;FONT size="2"&gt;&amp;nbsp;&lt;/FONT&gt;by default have j&lt;EM&gt;cr:data&lt;/EM&gt; property or &lt;EM&gt;jcr:content/jcr:data&lt;FONT size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/EM&gt;which has an header with value as "attachment".&lt;/P&gt;&lt;P&gt;You need to make an entry (exclude entry to not have the &lt;EM&gt;&lt;STRONG&gt;Content-Disposition&lt;/STRONG&gt;&lt;/EM&gt; as attachment)&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;&lt;STRONG&gt;Apache Sling Content Disposition filter&lt;/STRONG&gt;&lt;/EM&gt; (in your publish instance) -&amp;gt; Clear cache, if desired and then try accessing the file.&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="43263473-A7D2-4231-B7C1-E337043B81E6.png" style="width: 999px;"&gt;&lt;img src="https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/42600iDD57F3AF49B00D86/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="43263473-A7D2-4231-B7C1-E337043B81E6.png" alt="43263473-A7D2-4231-B7C1-E337043B81E6.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh &lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 13:31:47 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-open-robots-txt-instead-of-download-for-aem-site/m-p/458953#M132232</guid>
      <dc:creator>SantoshSai</dc:creator>
      <dc:date>2022-06-30T13:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to open robots.txt instead of download for AEM site</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-open-robots-txt-instead-of-download-for-aem-site/m-p/458965#M132238</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;LI-USER uid="17419167"&gt;&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;The above solution will work, but if you don't want to make changes to the configuration file, you can add a rule at your dispatcher for a specific file so that it will open in the browser instead of downloading.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;FilesMatch "\.robots.txt$"&amp;gt;
    Header set Content-Disposition "inline"
    Require all granted
&amp;lt;/FilesMatch&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 30 Jun 2022 14:56:55 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-open-robots-txt-instead-of-download-for-aem-site/m-p/458965#M132238</guid>
      <dc:creator>anish-s</dc:creator>
      <dc:date>2022-06-30T14:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to open robots.txt instead of download for AEM site</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-open-robots-txt-instead-of-download-for-aem-site/m-p/459695#M132496</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="15800109"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for solution,&lt;/P&gt;&lt;P&gt;I am new in AEM where i need to add this rule . Actually I am using AEM 6.5 version.&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are already some rule are available for robots.txt file.&lt;/P&gt;&lt;P&gt;Please check this Screenshot, in this code what i need to change or add so the robots.txt fill will open.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="user00181_0-1657097466490.png" style="width: 400px;"&gt;&lt;img src="https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/42799i7FB8DD5D7B091A75/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="user00181_0-1657097466490.png" alt="user00181_0-1657097466490.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Niraj Singh&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 09:02:10 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-open-robots-txt-instead-of-download-for-aem-site/m-p/459695#M132496</guid>
      <dc:creator>user00181</dc:creator>
      <dc:date>2022-07-06T09:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to open robots.txt instead of download for AEM site</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-open-robots-txt-instead-of-download-for-aem-site/m-p/542516#M134717</link>
      <description>&lt;P&gt;I don't really have idea on dispatcher. Not sure which file I need to make this change into.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2022 11:32:24 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-open-robots-txt-instead-of-download-for-aem-site/m-p/542516#M134717</guid>
      <dc:creator>Shaheena_Sheikh</dc:creator>
      <dc:date>2022-08-24T11:32:24Z</dc:date>
    </item>
  </channel>
</rss>

