Trouble linking URLs in liquid code (href)

Topic summary

  • Core issue: An image link created via Liquid/HTML href is intended to open a WhatsApp chat, but the link is being rewritten. Shopify prepends the store domain to the provided https URL, producing a malformed path like https://storedomain.com/“https://URLlinkfromliquidcode” and resulting in a 404.

  • Context: The user is linking an external URL (WhatsApp) from within theme code. No full code snippet is provided; behavior is illustrated by the example URL.

  • Impact: The external link does not open; it breaks navigation by being treated as a path under the store domain.

  • Request: Guidance on ensuring the link goes directly to the external URL (i.e., prevent Shopify from adding the store domain to the href).

  • Status: Unresolved; no solution or steps confirmed in the thread yet.

Summarized with AI on January 1. AI used: gpt-5.

I’m having trouble with the href tags linking an image to a simple URL. In this case it should just be the URL that opens a whatsapp chat. Shopify is putting the URL after the store domain – just inserting a https URL directly after the store domain. example: https://storedomain.com/“https://URLlinkfromliquidcode”
Which naturally lands on the site 404 page.
How do I get it to just go the the URL link and not add it as a part of the store domain?