<?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 Serving different content for different domains in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Serving-different-content-for-different-domains/m-p/520145#M25912</link>
    <description>&lt;P&gt;Hello - Is this possible on Hubspot?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm aware that using Smart Content I can vary content by Country (IP) but is is possible to vary content by domain...so for example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.website.com" target="_blank"&gt;www.mywebsite.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.mywebsite.nz" target="_blank"&gt;www.mywebsite.nz&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.mywebsite.au" target="_blank"&gt;www.mywebsite.au&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.mywebsite.au" target="_blank"&gt;www.mywebsite.be&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;all serve a different variant of a module or page?&lt;/P&gt;</description>
    <pubDate>Wed, 03 Nov 2021 10:12:13 GMT</pubDate>
    <dc:creator>DM2</dc:creator>
    <dc:date>2021-11-03T10:12:13Z</dc:date>
    <item>
      <title>Serving different content for different domains</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Serving-different-content-for-different-domains/m-p/520145#M25912</link>
      <description>&lt;P&gt;Hello - Is this possible on Hubspot?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm aware that using Smart Content I can vary content by Country (IP) but is is possible to vary content by domain...so for example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.website.com" target="_blank"&gt;www.mywebsite.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.mywebsite.nz" target="_blank"&gt;www.mywebsite.nz&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.mywebsite.au" target="_blank"&gt;www.mywebsite.au&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.mywebsite.au" target="_blank"&gt;www.mywebsite.be&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;all serve a different variant of a module or page?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Nov 2021 10:12:13 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Serving-different-content-for-different-domains/m-p/520145#M25912</guid>
      <dc:creator>DM2</dc:creator>
      <dc:date>2021-11-03T10:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: Serving different content for different domains</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Serving-different-content-for-different-domains/m-p/520532#M25925</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/146"&gt;@Gonzalo&lt;/a&gt; &lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you have any thoughts on this?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Nov 2021 20:18:57 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Serving-different-content-for-different-domains/m-p/520532#M25925</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2021-11-03T20:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: Serving different content for different domains</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Serving-different-content-for-different-domains/m-p/520609#M25929</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It will depend on what do you exactly want to achieve, where to place that and if it will be language-dependent.&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;For example, if you want to use those domains to split the content based on the language, Hubspot provides a lot of tools to create &lt;A href="https://knowledge.hubspot.com/website-pages/create-pages-in-multiple-languages" target="_blank" rel="noopener"&gt;page variations&lt;/A&gt;, including the &lt;A href="https://knowledge.hubspot.com/design-manager/use-global-content-across-multiple-templates" target="_blank" rel="noopener"&gt;global header &amp;amp; footer&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;It would be completely different and complex if you have several brands serving common languages. And will require custom development to achieve it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;If you can provide some extra info about what are you trying to achieve I am happy to guide you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 10:05:47 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Serving-different-content-for-different-domains/m-p/520609#M25929</guid>
      <dc:creator>Gonzalo</dc:creator>
      <dc:date>2021-11-04T10:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Serving different content for different domains</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Serving-different-content-for-different-domains/m-p/520794#M25933</link>
      <description>&lt;P&gt;thanks&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/146"&gt;@Gonzalo&lt;/a&gt; yes it's not about language variants, it's a case of several different domains coming in. They would all be in english but I would want to serve some elements differently.&amp;nbsp; For example, a 'rack of partner logos' my be different for each domain.&lt;BR /&gt;&lt;BR /&gt;It looks like I can't use smart content for this?&lt;BR /&gt;&lt;BR /&gt;But perhaps it's more a case of using hubl if statements to capture the url and display a different module/partial?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any advice.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 08:52:37 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Serving-different-content-for-different-domains/m-p/520794#M25933</guid>
      <dc:creator>DM2</dc:creator>
      <dc:date>2021-11-04T08:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: Serving different content for different domains</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Serving-different-content-for-different-domains/m-p/520815#M25934</link>
      <description>&lt;P&gt;I see, yes you are right.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If you are in the situation where using a common partial/global module or group across different domains/brands or whatever is the case. I like to use a method I figured out a few years ago. You can check it here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://designers.hubspot.com/code-gallery/entry/founders/gonzalotorreras-hs-multilingual-menu-custom-module" target="_blank" rel="noopener"&gt;https://designers.hubspot.com/code-gallery/entry/founders/gonzalotorreras-hs-multilingual-menu-custom-module&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The idea is to use the &lt;CODE&gt;slug&lt;/CODE&gt; variable to filter over the content and display the right one.&lt;BR /&gt;Now, for the module where you want to save all the content variations, you will create a repeatable group (I use it with the internal key &lt;CODE&gt;lang&lt;/CODE&gt;) and a required simple text field with the key &lt;CODE&gt;lang_slug&lt;/CODE&gt; that will save the value of the slug to compare with (&lt;CODE&gt;string_startingwith&lt;/CODE&gt;).&lt;/P&gt;
&lt;P&gt;Then you will add as many fields needed for the content to be filtered.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This case assumes the lang propose and uses for example en/ es/ etc as the lang_slug code values. In your case, you want to swap the slug variable for the domain check (for example &lt;CODE&gt;content.resolved_domain&lt;/CODE&gt;) and use the &lt;CODE&gt;lang_slug&lt;/CODE&gt; values that match it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have more questions and you are in the dev slack, I am happy to guide you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 10:05:23 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Serving-different-content-for-different-domains/m-p/520815#M25934</guid>
      <dc:creator>Gonzalo</dc:creator>
      <dc:date>2021-11-04T10:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: Serving different content for different domains</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Serving-different-content-for-different-domains/m-p/782023#M33806</link>
      <description>&lt;P&gt;Hello Gonzalo,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I think we're trying to do something similar here. We currently have a UK and US version of our menu. But when I share a UK link with one of our US colleagues it is not showing her the US version.&lt;BR /&gt;&lt;BR /&gt;Would implementing the above solution resolve this?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Kirsty&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 14:08:12 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Serving-different-content-for-different-domains/m-p/782023#M33806</guid>
      <dc:creator>Kirsten8686</dc:creator>
      <dc:date>2023-04-14T14:08:12Z</dc:date>
    </item>
  </channel>
</rss>

