where to put rel=canonical for extended pages?

In which file should I put the code "<linkrel="canonical"href="http://exempel.se/browse.php">" for eg "mysite.com/all/1-3/ch?&page=1&per_page=20&sort=date_reg" so all "mysite.com/all/*.*" refers to mysite.com/browse.php. 

I want to prevent Google from indexing all extended and per_pages pages.

Thanks

Quote · 3 Apr 2019
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.