I am trying to link my form page contactpage.php into my Gatsby application. In the navbar (in the Component folder) I have set this code
<div>
<a className="int_link_about" href='./contactpage.php'>Contacts</a>
</div>
However, when I click on the link it just downloads the php page, it does not display it. How to actually be redirected to it?
Also, right now in development I manually copied the contactpage.php in the 'public' folder but when I will switch to production, where should I put the page?