Linking an image to an internal page

I am trying to link an image in one page to another page on my site.

Assume I have this structure under content:

In the I have an image that I want to be linked to page1, so when I click on the image it opens up page1.
I have something like:

<a class="circle link" href="folder1/page1"...>Text</a>

The image is defined by class “circle”. But when I click on the image I get a 404 page not found message. What am I doing wrong?

Nevermind, I found that I had a typo in the “slug” and that was the reason.