<?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: Override global noindex settings in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Override-global-noindex-settings/m-p/766006#M33195</link>
    <description>&lt;P&gt;If I'm undestanding you correctly you've added something like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;lt;meta name="robots" content="noindex"&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;to your Settings under Website&amp;gt;Pages&amp;gt;Templates&amp;gt;Site header HTML, is that correct?&lt;BR /&gt;&lt;BR /&gt;Rather than adding that there I'd suggest adding something like the below to your themes base.html file (within the &amp;lt;head&amp;gt;&amp;lt;/head&amp;gt; tags):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{% boolean "no_index" label="Don't Index Page", value=true, no_wrapper=True %}
 {% if widget_data.no_index.value == "true" %}
  &amp;lt;meta name="robots" content="noindex"&amp;gt;
    {% endif %}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;That way it should be included by default but you would be able to toggle it off on any page you didn't want it on.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;
&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="profile2022a" style="width: 100px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/71500iE96AB1F9E9E277B9/image-size/small?v=v2&amp;amp;px=200" role="button" title="profile2022a" alt="profile2022a" /&gt;&lt;/span&gt;&lt;STRONG&gt;&lt;FONT size="5"&gt;Barry Grennan&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;A href="https://www.seoanseo.ca?utm_source=HubSpotCommunity" target="_blank" rel="nofollow noopener noreferrer"&gt;Freelance HubSpot CMS Developer&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.seoanseo.ca?utm_source=HubSpotCommunity" target="_blank" rel="nofollow noopener noreferrer"&gt;Website&lt;/A&gt; | &lt;A href="https://www.seoanseo.ca/#contact?utm_source=HubSpotCommunity" target="_blank" rel="nofollow noopener noreferrer"&gt;Contact&lt;/A&gt; | &lt;A href="https://www.linkedin.com/in/barrygrennan" target="_blank" rel="nofollow noopener noreferrer"&gt;LinkedIn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Apr 2023 15:33:27 GMT</pubDate>
    <dc:creator>BarryGrennan</dc:creator>
    <dc:date>2023-04-07T15:33:27Z</dc:date>
    <item>
      <title>Override global noindex settings</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Override-global-noindex-settings/m-p/765104#M33160</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;for a subdomain we defined noindex globally in the page settings (header html).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For one single page, we'd like to override these settings and put the meta-tag index in the header instead.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How could we do this?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2023 10:32:09 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Override-global-noindex-settings/m-p/765104#M33160</guid>
      <dc:creator>beatkoeck</dc:creator>
      <dc:date>2023-03-07T10:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: Override global noindex settings</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Override-global-noindex-settings/m-p/766006#M33195</link>
      <description>&lt;P&gt;If I'm undestanding you correctly you've added something like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;lt;meta name="robots" content="noindex"&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;to your Settings under Website&amp;gt;Pages&amp;gt;Templates&amp;gt;Site header HTML, is that correct?&lt;BR /&gt;&lt;BR /&gt;Rather than adding that there I'd suggest adding something like the below to your themes base.html file (within the &amp;lt;head&amp;gt;&amp;lt;/head&amp;gt; tags):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{% boolean "no_index" label="Don't Index Page", value=true, no_wrapper=True %}
 {% if widget_data.no_index.value == "true" %}
  &amp;lt;meta name="robots" content="noindex"&amp;gt;
    {% endif %}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;That way it should be included by default but you would be able to toggle it off on any page you didn't want it on.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;
&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="profile2022a" style="width: 100px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/71500iE96AB1F9E9E277B9/image-size/small?v=v2&amp;amp;px=200" role="button" title="profile2022a" alt="profile2022a" /&gt;&lt;/span&gt;&lt;STRONG&gt;&lt;FONT size="5"&gt;Barry Grennan&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;A href="https://www.seoanseo.ca?utm_source=HubSpotCommunity" target="_blank" rel="nofollow noopener noreferrer"&gt;Freelance HubSpot CMS Developer&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.seoanseo.ca?utm_source=HubSpotCommunity" target="_blank" rel="nofollow noopener noreferrer"&gt;Website&lt;/A&gt; | &lt;A href="https://www.seoanseo.ca/#contact?utm_source=HubSpotCommunity" target="_blank" rel="nofollow noopener noreferrer"&gt;Contact&lt;/A&gt; | &lt;A href="https://www.linkedin.com/in/barrygrennan" target="_blank" rel="nofollow noopener noreferrer"&gt;LinkedIn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 15:33:27 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Override-global-noindex-settings/m-p/766006#M33195</guid>
      <dc:creator>BarryGrennan</dc:creator>
      <dc:date>2023-04-07T15:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: Override global noindex settings</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Override-global-noindex-settings/m-p/766336#M33212</link>
      <description>&lt;P&gt;Hi Barry,&lt;/P&gt;&lt;P&gt;thanks for your answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My preferred way would be the opposite. It should be no-index by default and only index on single pages.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Could we change your code like this?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{% boolean "index" label="Index this Page", value=true, no_wrapper=True %}
 {% if widget_data.index.value == "true" %}
  &amp;lt;meta name="robots" content="index"&amp;gt;
    {% endif %}&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 07:32:10 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Override-global-noindex-settings/m-p/766336#M33212</guid>
      <dc:creator>beatkoeck</dc:creator>
      <dc:date>2023-03-09T07:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: Override global noindex settings</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Override-global-noindex-settings/m-p/766470#M33219</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/532307"&gt;@beatkoeck&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Sorry, if it wasn't clear but that's exactly what the code I made for you does.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By "toggle if off" I meant toggle the tag off as in remove the tag.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The tag is shown if the box is checked and it's checked by default. So you'd uncheck it on the page you don't want the tag on.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Test it out.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;
&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="profile2022a" style="width: 100px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/71500iE96AB1F9E9E277B9/image-size/small?v=v2&amp;amp;px=200" role="button" title="profile2022a" alt="profile2022a" /&gt;&lt;/span&gt;&lt;STRONG&gt;&lt;FONT size="5"&gt;Barry Grennan&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;A href="https://www.seoanseo.ca?utm_source=HubSpotCommunity" target="_blank" rel="nofollow noopener noreferrer"&gt;Freelance HubSpot CMS Developer&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.seoanseo.ca?utm_source=HubSpotCommunity" target="_blank" rel="nofollow noopener noreferrer"&gt;Website&lt;/A&gt; | &lt;A href="https://www.seoanseo.ca/#contact?utm_source=HubSpotCommunity" target="_blank" rel="nofollow noopener noreferrer"&gt;Contact&lt;/A&gt; | &lt;A href="https://www.linkedin.com/in/barrygrennan" target="_blank" rel="nofollow noopener noreferrer"&gt;LinkedIn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 13:05:34 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Override-global-noindex-settings/m-p/766470#M33219</guid>
      <dc:creator>BarryGrennan</dc:creator>
      <dc:date>2023-03-09T13:05:34Z</dc:date>
    </item>
  </channel>
</rss>

