pagefind icon indicating copy to clipboard operation
pagefind copied to clipboard

Skip page aliases

Open SebouChu opened this issue 1 year ago • 1 comments

Is there a way to prevent Pagefind to skip pages that are just aliases, with a <meta http-equiv=refresh> element?

SebouChu avatar Feb 26 '25 15:02 SebouChu

There isn't anything directly available for that right now — the general best practice is to add data-pagefind-body tags to the pages you do want indexed, and the others will be excluded as a result.

We can consider adding something more to help exclude pages though.

bglw avatar Mar 05 '25 23:03 bglw