External URL in Menu treated as relative

StephenJeweller
Visitor
2 0 0

Hi 

I am trying to link to an external URL from one of my menus. I have followed the posts I have found here to set it up, but it is not working.

I am entering the external URL in the Link field of the menu item, selecting it when it pops up above the text box, and then saving the menu, as per this screen shot:

StephenJeweller_0-1614598183103.png

But the menu item on the live page seems to be treating this as a relative path:

StephenJeweller_1-1614598294874.png

Any ideas why it is doing this, and how to fix it?

Many thanks

Replies 2 (2)

gina-gregory
Shopify Expert
742 51 211

Looks like your theme is automatically prepending your shop's domain to those links. You'll have to find the code in your theme where this is being output and remove it. Not sure if it was added for a reason, so you may want to look into that before removing.

StephenJeweller
Visitor
2 0 0

Thanks Gina - I'll speak to the designers.