In the header and footer toolbars, there is a "Link to Previous Page" (sometimes called "Same as Previous Page") button that must be cancelled.
In this way, you can set different headers and footers in each section.
For example:
There is a cover page and a text in the document. The page number of the header is not required in the cover page, but the text should be set:
① Insert "section break" at the end of the cover to divide the cover and text into several sections: place the cursor where you want to insert section break, and click Insert → Delimiter → section break Type → Next Page;
2. Edit the page number of the header: View → Header and Footer, enter the contents of the header and insert the page number. At this time, the cover and text will have headers and page numbers;
③ Cancel the setting of "Same as the previous section" in each section, so that each section can write independently: position the cursor in the second section (the section where the text is located) in the header, click "Same as the previous section" on the header footer editing toolbar, and cancel the setting of "Same as the previous section", so that the headers of the two sections can be set separately (because the default setting is "Same as the previous section"), otherwise no matter which section is modified,
4. Cancel the title text on the cover: adjust the cursor to the title of 1 and delete the title text. There will still be a default underline at this time, just cancel the page number.
⑤ Delete the underline in the header: Select all headers (note that paragraph marks must also be selected. You can also click the left mouse button three times), format → border and shading → border → none. Note that the application scope at the bottom right of the dialog box should be paragraphs, and then click OK to cancel the underline.
⑥ Set the page number in the header or footer of the text: If the page number is directly inserted, the cover page will be 1 page, arranged in low order. At this time, just select the page number, click the format page number → layout page number → start page number in the header and footer editing toolbar, and enter the corresponding number. (You can start with any number of pages)