I'm struggling with a fairly simple 301 redirect.
I have several redirects for pages which all work fine - eg
Redirect 301 /folder/mypage1.html https://www.example.com/folder/mypage2.html.
However now I want to redirect from a folder root to another page, I don't however want any of the other pages in the folder to redirect.
So /myfolder/ should redirect to https://www.example.com/mypage.html but /myfolder/mypage.html should not redirect.
I've tried:
Redirect 301 /myfolder/ https://www.example.com/mypage.html but this doesn't work.
I apologize for the newbie question that probably has a very simple answer.