Alternatively you could have a look at our Scroll PDF Exporter for Confluence.
It allows you to change the information in your header and footer via a simple UI (see Defining the Page Layouts for further information).
Besides that the Scroll PDF Exporter offers additional information compared to the default PDF Export option coming with Confluence (e.g. multiple template per space or globally, custom placeholders, integration with Comala Workflows, and more, see 5 Reasons to use the Scroll PDF Exporter for further details).
If you're interested you can try it out for free on the Atlassian Marketplace..
👋 Hi there, a few of us at Atlassian would love to learn about how you use "space settings" functionality in Confluence. A facelift to the space settings is long overdue and we want to start with im...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events