Remove URL parameters from history

Hi,

I wonder if it’s possible to remove URL parameters that have already been recorded. Any way to filter them out so page.html?p=1 is counted as same as page.html?p=2 or as page.html?

Thanks