How to link page to an page that's not published

Solved
Highlighted
Tourist
10 0 1

What I'm trying to do is that on main page I want to link the video to video page.  I set the video page as 'page'. Here's the code: 

<div class="container-index">

<a href="https://niekdevoblakoch.sk/page/video">Video</a>

</div>

However I get error 404. Linking page in shopify is harder than expected. The page is not yet published so maybe that's the reason why?

0 Likes
Highlighted
Shopify Partner
127 21 35

This is an accepted solution.

Hi @spreceriany

Indeed, if a page isn't published the link will return a 404. Once the page is published you should be able to link to it as expected.

Panos Voulgaris
Creative director / Partner @ MALVI
Founder @ function( )
0 Likes