<?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 Internal Link Best Practices When Building Site In Staging in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Internal-Link-Best-Practices-When-Building-Site-In-Staging/m-p/1163633#M43262</link>
    <description>&lt;P&gt;I have migrated a site from Wordpress to HS staging. I noticed that internal URLs in the body are hard coded with the domain. I removed them on the front end and they populate when saved.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If I look in the source code it is relative not static like I want.&lt;BR /&gt;&lt;BR /&gt;Example:&amp;nbsp;&lt;BR /&gt;relative = "/products/shoes&lt;/P&gt;&lt;P&gt;stative = "&lt;A href="https://stating.com/procucts/shoes" target="_blank" rel="noopener"&gt;https://stating.com/procucts/shoes&lt;/A&gt;"&lt;BR /&gt;&lt;BR /&gt;Attaching a couple of screenshots as an example of front-end vs source code.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;My questions is "If they are relative in the source code does this mean when I change my url these will automatically update?" That to me is how it should work, but I can't find any documentation, and support thinks I have to hand code the new domain in, but they really can't give me a definitive answer.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Source code&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-06-11 at 1.08.59 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/148279i899D6BC1B440E5CE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-06-11 at 1.08.59 PM.png" alt="Screenshot 2025-06-11 at 1.08.59 PM.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Front-end editor&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-06-11 at 1.08.11 PM.png" style="width: 391px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/148280i0B1DAD35BD6B6059/image-dimensions/391x485?v=v2" width="391" height="485" role="button" title="Screenshot 2025-06-11 at 1.08.11 PM.png" alt="Screenshot 2025-06-11 at 1.08.11 PM.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Jun 2025 20:26:35 GMT</pubDate>
    <dc:creator>TSwisher008</dc:creator>
    <dc:date>2025-06-11T20:26:35Z</dc:date>
    <item>
      <title>Internal Link Best Practices When Building Site In Staging</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Internal-Link-Best-Practices-When-Building-Site-In-Staging/m-p/1163633#M43262</link>
      <description>&lt;P&gt;I have migrated a site from Wordpress to HS staging. I noticed that internal URLs in the body are hard coded with the domain. I removed them on the front end and they populate when saved.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If I look in the source code it is relative not static like I want.&lt;BR /&gt;&lt;BR /&gt;Example:&amp;nbsp;&lt;BR /&gt;relative = "/products/shoes&lt;/P&gt;&lt;P&gt;stative = "&lt;A href="https://stating.com/procucts/shoes" target="_blank" rel="noopener"&gt;https://stating.com/procucts/shoes&lt;/A&gt;"&lt;BR /&gt;&lt;BR /&gt;Attaching a couple of screenshots as an example of front-end vs source code.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;My questions is "If they are relative in the source code does this mean when I change my url these will automatically update?" That to me is how it should work, but I can't find any documentation, and support thinks I have to hand code the new domain in, but they really can't give me a definitive answer.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Source code&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-06-11 at 1.08.59 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/148279i899D6BC1B440E5CE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-06-11 at 1.08.59 PM.png" alt="Screenshot 2025-06-11 at 1.08.59 PM.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Front-end editor&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-06-11 at 1.08.11 PM.png" style="width: 391px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/148280i0B1DAD35BD6B6059/image-dimensions/391x485?v=v2" width="391" height="485" role="button" title="Screenshot 2025-06-11 at 1.08.11 PM.png" alt="Screenshot 2025-06-11 at 1.08.11 PM.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2025 20:26:35 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Internal-Link-Best-Practices-When-Building-Site-In-Staging/m-p/1163633#M43262</guid>
      <dc:creator>TSwisher008</dc:creator>
      <dc:date>2025-06-11T20:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Link Best Practices When Building Site In Staging</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Internal-Link-Best-Practices-When-Building-Site-In-Staging/m-p/1163857#M43264</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/888654"&gt;@TSwisher008&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, the links will be updated. You do not need to update the relative links again. For your relative links which you have added in your rich text editor in the staging area, there will bea&amp;nbsp; sandbox domai,n but when you make it live, the domain will be updated. If you want to know more, then I will suggest going through this&amp;nbsp;&lt;STRONG&gt;&lt;A href="https://community.hubspot.com/t5/CMS-Development/Best-Practices-for-Links-in-Content-Staging-during-a-Website/td-p/7479" target="_blank" rel="noopener"&gt;community post.&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I hope this will help you out. Please mark it as &lt;/SPAN&gt;&lt;STRONG&gt;Solution Accepted and upvote&lt;/STRONG&gt;&lt;SPAN&gt; to help another Community member.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2025 10:59:47 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Internal-Link-Best-Practices-When-Building-Site-In-Staging/m-p/1163857#M43264</guid>
      <dc:creator>GRajput</dc:creator>
      <dc:date>2025-06-12T10:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Link Best Practices When Building Site In Staging</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Internal-Link-Best-Practices-When-Building-Site-In-Staging/m-p/1163996#M43270</link>
      <description>&lt;P&gt;Thank you Gaurav.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2025 15:36:35 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Internal-Link-Best-Practices-When-Building-Site-In-Staging/m-p/1163996#M43270</guid>
      <dc:creator>TSwisher008</dc:creator>
      <dc:date>2025-06-12T15:36:35Z</dc:date>
    </item>
  </channel>
</rss>

