<?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: remove Blog /tag URLs from Search Engine indexation in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/remove-Blog-tag-URLs-from-Search-Engine-indexation/m-p/841978#M35645</link>
    <description>&lt;P&gt;I tried adding this to the blog listing template header section and it just shows at the top of the page.&lt;/P&gt;&lt;P&gt;Where is this supposed to go?&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="PBifaro_0-1693331583045.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/97940i3B80DB981099C99D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PBifaro_0-1693331583045.png" alt="PBifaro_0-1693331583045.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Aug 2023 17:53:54 GMT</pubDate>
    <dc:creator>PBifaro</dc:creator>
    <dc:date>2023-08-29T17:53:54Z</dc:date>
    <item>
      <title>remove Blog /tag URLs from Search Engine indexation</title>
      <link>https://community.hubspot.com/t5/CMS-Development/remove-Blog-tag-URLs-from-Search-Engine-indexation/m-p/303718#M14347</link>
      <description>&lt;P&gt;Hey guys,&lt;/P&gt;
&lt;P&gt;as the title says -a client wants to remove all /tag URLs from a specific blog from indexing. Is there a "simple" way to achieve this? I know that you can "globaly" add&lt;/P&gt;
&lt;PRE&gt;&amp;lt;meta name="robots" content="noindex,nofollow"&amp;gt;&lt;/PRE&gt;
&lt;P&gt;in Settings-&amp;gt;Website-&amp;gt;Blog-&amp;gt;templates to the blog posting and blog listing templates but as he wants to remove only the /tag URLs neither of those two would work. Adding this to the "blog posting" header wouldn't help and adding the code to the listing view would also affect the default listing view - what's not the goal here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've told him about the solution with a custom robots.txt, but he's now happy about that. Excluding the /tag/* URLs in the Google Search Console is also not an option as it'll only affect the google results(who knows which other Search Engine the user uses).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anyone have a solution or idea how to achieve this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note: The client also told me that he want's a userfriendly and "easly scaleable" solution.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks in advance&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;best,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anton&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2019 21:27:30 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/remove-Blog-tag-URLs-from-Search-Engine-indexation/m-p/303718#M14347</guid>
      <dc:creator>Anton</dc:creator>
      <dc:date>2019-11-22T21:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: remove Blog /tag URLs from Search Engine indexation</title>
      <link>https://community.hubspot.com/t5/CMS-Development/remove-Blog-tag-URLs-from-Search-Engine-indexation/m-p/303744#M14350</link>
      <description>&lt;P&gt;In the blog listing markup you can target just the topic/tag pages by using the following if statement:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{% if topic %}
    &amp;lt;meta name="robots" content="noindex,nofollow"&amp;gt;
{% endif %}&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Alyssa Wilie&lt;BR /&gt;&lt;EM&gt;Web Developer&lt;/EM&gt;&lt;BR /&gt;&lt;STRONG&gt;LyntonWeb&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Nov 2019 03:30:49 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/remove-Blog-tag-URLs-from-Search-Engine-indexation/m-p/303744#M14350</guid>
      <dc:creator>alyssamwilie</dc:creator>
      <dc:date>2019-11-23T03:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: remove Blog /tag URLs from Search Engine indexation</title>
      <link>https://community.hubspot.com/t5/CMS-Development/remove-Blog-tag-URLs-from-Search-Engine-indexation/m-p/305029#M14473</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/91608"&gt;@alyssamwilie&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks for the quick and easy solution. It works fine.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did a small addition so the meta-tag will be added to the head.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My code:&lt;/P&gt;
&lt;PRE&gt;{% if topic %}
&amp;lt;script&amp;gt;
$('head').append( '&amp;lt;meta name="robots" content="noindex,nofollow"&amp;gt;' );
&amp;lt;/script&amp;gt;
{% endif %}&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks again!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;best,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anton&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 16:44:33 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/remove-Blog-tag-URLs-from-Search-Engine-indexation/m-p/305029#M14473</guid>
      <dc:creator>Anton</dc:creator>
      <dc:date>2019-12-02T16:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: remove Blog /tag URLs from Search Engine indexation</title>
      <link>https://community.hubspot.com/t5/CMS-Development/remove-Blog-tag-URLs-from-Search-Engine-indexation/m-p/683385#M30128</link>
      <description>&lt;P&gt;Hi Anton,&lt;BR /&gt;&lt;BR /&gt;I am trying to do the same, but I'm having some trouble. Does this code need to go into our blog listing template or the original HubSpot version?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Neal&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Edit&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;This code worked like a charm - our template used a base html file for headers and footers, so I just needed to apply this code in there, rather than the blog template specifically. Works great. Thanks to Alyssa and Anton.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 13:08:48 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/remove-Blog-tag-URLs-from-Search-Engine-indexation/m-p/683385#M30128</guid>
      <dc:creator>RNWilkinson</dc:creator>
      <dc:date>2022-08-22T13:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: remove Blog /tag URLs from Search Engine indexation</title>
      <link>https://community.hubspot.com/t5/CMS-Development/remove-Blog-tag-URLs-from-Search-Engine-indexation/m-p/841950#M35643</link>
      <description>&lt;P&gt;So this goes into setting &amp;gt; Advanced Settings &amp;gt; Head HTML&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;copy and paste as is or do I need to wrap this in &amp;lt;&amp;gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 17:03:45 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/remove-Blog-tag-URLs-from-Search-Engine-indexation/m-p/841950#M35643</guid>
      <dc:creator>PBifaro</dc:creator>
      <dc:date>2023-08-29T17:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: remove Blog /tag URLs from Search Engine indexation</title>
      <link>https://community.hubspot.com/t5/CMS-Development/remove-Blog-tag-URLs-from-Search-Engine-indexation/m-p/841972#M35644</link>
      <description>&lt;P&gt;this did n't work for the template&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 17:47:18 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/remove-Blog-tag-URLs-from-Search-Engine-indexation/m-p/841972#M35644</guid>
      <dc:creator>PBifaro</dc:creator>
      <dc:date>2023-08-29T17:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: remove Blog /tag URLs from Search Engine indexation</title>
      <link>https://community.hubspot.com/t5/CMS-Development/remove-Blog-tag-URLs-from-Search-Engine-indexation/m-p/841978#M35645</link>
      <description>&lt;P&gt;I tried adding this to the blog listing template header section and it just shows at the top of the page.&lt;/P&gt;&lt;P&gt;Where is this supposed to go?&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="PBifaro_0-1693331583045.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/97940i3B80DB981099C99D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PBifaro_0-1693331583045.png" alt="PBifaro_0-1693331583045.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 17:53:54 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/remove-Blog-tag-URLs-from-Search-Engine-indexation/m-p/841978#M35645</guid>
      <dc:creator>PBifaro</dc:creator>
      <dc:date>2023-08-29T17:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: remove Blog /tag URLs from Search Engine indexation</title>
      <link>https://community.hubspot.com/t5/CMS-Development/remove-Blog-tag-URLs-from-Search-Engine-indexation/m-p/842033#M35651</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/541984"&gt;@PBifaro&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;unless you want to go a custom module way you can drop&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,nofollow"&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;in the Header-HTML part in the blog settings here:&lt;/P&gt;
&lt;P&gt;settings(gear icon top right) -&amp;gt; Website -&amp;gt; Blog -&amp;gt; Templates -&amp;gt;&amp;nbsp;Blog listing pages header HTML and/or&amp;nbsp;Blog post header HTML&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;best,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anton&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 19:31:39 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/remove-Blog-tag-URLs-from-Search-Engine-indexation/m-p/842033#M35651</guid>
      <dc:creator>Anton</dc:creator>
      <dc:date>2023-08-29T19:31:39Z</dc:date>
    </item>
  </channel>
</rss>

