HTML - Do you use absolute paths for newsletter links and images?

Updated by Tiago Araújo [SSW] 2 years ago. See history

123

Newsletters should always use absolute references to all links and images within the HTML. Relative paths don't contain the server information so external users see a broken link/image - the outside email application won't find the where the file is.

<a href="/ssw/Company/ContactUs.aspx "><img src="/SSW/images/SSWLogo.png" /></a>

❌ Figure: Figure: Bad example - Using relative paths for both link and image on a newsletter

<a href="https://ssw.com.au/ssw/Company/ContactUs.aspx "
><img src="https://ssw.com.au/SSW/images/SSWLogo.png"
/></a>

✅ Figure: Figure: Good example - Using absolute paths for both link and image on a newsletter

acknowledgements
related rules